This project provides a script-based dynamic tracing CLI utility for Linux systems. #Kernel tracing #Scripting tracing #Dynamic tracing #Dynamic #Kernel #Tracing
ktap is an open source, completely free, lightweight and small command-line software project that aims to provide GNU/Linux users with a next generation script-based dynamic tracing program.
Key features include a simple, yet powerful scripting language, a register-based interpreter that is heavily optimized in the Linux kernel, and does not depend on GCC (GNU Compiler Collection) for each running script. It also supports Linux kernel 3.1 and later.
The utility is easy to use in embedded environments, without debugging information, supports k(ret)probe, tracepoint, u(ret)probe, timer, function trace, etc. ktap can be used on 32-bit (x86), ARM, PPC (PowerPC), and MIPS architectures supported in the mainline Linux kernel.
Installing ktap is quite easy. It must be compiled against your Linux kernel, so make sure that you install the Linux kernel headers package(s) prior to attempting installing the software. Download the latest release of ktap from Softpedia, save it on your Home directory and unpack it.
Open the Terminal app, move to the location where you’ve extracted the archive file (e.g. cd /home/softpedia/ktap-0.4), run the ‘make’ command to compile the program, followed by the ‘make load’ command to load the ktapvm kernel module.
Install it by running the ‘sudo make install’ command as a privileged user, or the ‘make install’ command as root. You can then interact with ktap by running the ‘ktap samples/helloworld.kp’ command.
Run the ‘ktap -h’ command in a terminal emulator to view the program’s default command-line options. These will allow you to send the script output to a file, instead of stderr, to specify the CPU to monitor, to display timestamp for events, to enable verbose mode, as well as to list byte codes, pre-defined events in system, or available function and sdt notes from DSO.
What's new in ktap 0.4:
- Support tracepoints, k(ret)probe, u(ret)probe, timer, function tracing, sdt, etc.
- Support x86, x86-64, powerpc, arm.
- Support kernel 3.1 and newer versions, include Linux mainline.
- Support FFI (call kernel function from script)
ktap 0.4
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- v0.4.tar.gz
- main category:
- System
- developer:
- visit homepage
7-Zip 23.01 / 24.04 Beta
Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work
Zoom Client 6.0.3.37634
4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655
IrfanView 4.67
Bitdefender Antivirus Free 27.0.35.146
Context Menu Manager 3.3.3.1
calibre 7.9.0
Windows Sandbox Launcher 1.0.0
ShareX 16.0.1
- calibre
- Windows Sandbox Launcher
- ShareX
- 7-Zip
- Microsoft Teams
- Zoom Client
- 4k Video Downloader
- IrfanView
- Bitdefender Antivirus Free
- Context Menu Manager