1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

KTAP: A New Dynamic Tracing Tool For Linux

Linux Kernel

Published on 31 December 2012 09:53 AM EST
Written by Michael Larabel in Linux Kernel
1 Comment

KTAP is an experimental project that's a new dynamic tracing tool for Linux. KTAP has several different design principles from SystemTap, one of the current most common dynamic instrumentation and tracing tools for Linux. This new project might satisfy some of those developers that have been wanting Sun/Oracle's DTrace to come to Linux.

Realizing SystemTap wasn't fulfilling all of his dynamic tracing needs on Linux, Jovi Zhang, an embedded Linux developer, wrote KTAP. KTAP uses a scripting language and lets users trace the Linux kernel dynamically. While different, KTAP does have some common points with the current Linux SystemTap and DTrace on Solaris.

Differentiating KTAP from SystemTap is that it dnes't depend upon GCC, doesn't require compiling a kernel module, has greater portability, uses its own "simple" dynamic-typed script language, KTAP cannot crash the Linux kernel, and KTAP is completely open-source under the GPL. Right now the project is just seeking "request for comments" while in an experimental state, but the developer may look at mainlining the code into the Linux kernel in the future. Another benefit of KTAP is that it won't require root privileges in a future update.

KTAP isn't trying to be a clone or port of DTrace from Solaris to Linux but is built from scratch. The custom KTAP script language shares a syntax similar to Lua and is all GPL licensed. KTAPC is the KTAP user-space compiler for compiling the KTAP script into a bytecode chunk file that the KTAP binary then loads and runs.

For more details on KTAP for the Linux kernel, see the KTAP announcement that was made on Sunday to the Linux kernel mailing list. The project is still experimental but is showing early promise.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. ASRock X99 Extreme3 Is An Affordable Choice For Linux Users
  2. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  3. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  4. OCZ Vector 150 SSD On Linux
Latest Linux Articles
  1. 17-Way Linux Graphics Card Comparison With Civilization Beyond Earth
  2. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  3. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  4. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
Latest Linux News
  1. NTP Is The Latest Project Struck By Security Issues
  2. LDC 0.15.1 Released For A D Compiler In LLVM
  3. Fedora Doesn't Yet Enable F2FS File-System Support
  4. XZ 5.2 Adds New Multi-Threaded Options
  5. Intel 2.99.917 X.Org Driver Released, 3.0 Release Finally Near
  6. Server-Side XCB Is Being Discussed For The X.Org Server
  7. Adreno A4xx Rendering With Freedreno Takes Shape
  8. Linux 3.19-rc1 Kernel Released Ahead Of Schedule
  9. X.Org Server 1.16.3 Released To Fix Security Issues
  10. Linux 3.19 Merge Window Closes Ahead Of Schedule
Latest Forum Discussions
  1. Need some hand holding with upgrading xserver
  2. Maker3D - create your 3D RPG
  3. FPS capped on Linux (AMD fglrx drivers)
  4. Looking for an nVidia GPU, but not sure how well they are supported.
  5. Speeding up systemd networking service
  6. Major Performance Breakthrough Discovered For Intel's Mesa Driver
  7. Are there an app using HSA ?
  8. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems