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.

Latest Linux Hardware Reviews
  1. 13-Way Low-End GPU Comparison With AMD's AM1 Athlon
  2. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  3. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  4. Overclocking The AMD AM1 Athlon & Sempron APUs
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Wine 1.7.17 Works On Its Task Scheduler, C Run-Time
  2. The Improv ARM Board Still Isn't Shipping; Riding A Dead Horse?
  3. Debian To Maintain 6.0 Squeeze As An LTS Release
  4. Wasteland 2 Is Finally Released For Linux Gamers
  5. FreeBSD Advances For ARM, Bhyve, Clang
  6. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  7. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  8. QEMU 2.0 Released With ARM, x86 Enhancements
  9. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  10. R600 Gallium3D Disables LLVM Back-End By Default
  11. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
  12. Fedora Workstation Is Making Me Quite Excited
Latest Forum Discussions
  1. Suggestions about how to make a Radeon HD 7790 work decently?
  2. The GNOME Foundation Is Running Short On Money
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Radeon 8000M problematic on Linux?
  5. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  6. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  7. Suspected PHP Proxy Issue
  8. Change installation destination from home directory