[ANNOUNCE] ktap 0.3 released

From: Jovi Zhangwei
Date: Tue Oct 29 2013 - 07:24:09 EST


I'm pleased to announce that ktap released v0.3, the archive is available at:


= what's ktap?

A New Script-based Dynamic Tracing Tool For Linux

ktap have different design principles from Linux mainstream dynamic
tracing language in that it's based on bytecode, so it doesn't
depend upon GCC, doesn't require compiling kernel module for each
script, safe to use in production environment, fulfilling the embedded
ecosystem's tracing needs.

ktap is released as GPL license.

More information can be found at ktap/doc directory.

Website: www.ktap.org

= Highlight features

- support tracepoints, k(ret)probe, u(ret)probe, timer, function
tracing, etc.
- support x86, x86-64, powerpc, arm, and preempt-rt kernel.
- support kernel 3.1 and later versions, include Linux mainline.

= Highlight changes from v0.2

* New website for ktap: www.ktap.org

* Tutorial: http://www.ktap.org/doc/tutorial.html

* Wiki: https://github.com/ktap/ktap/wiki

* simple new tracing block syntax
trace EVENTDEF { action }
trace_end { action }

* New event tracing keywords: argevent, argname, arg1..arg9
trace "syscalls:*" function () {

* New timer block syntax
tick-N { action }
profile-N { action }

* Basic aggregation support
It's similar with systemtap, use "<<<" operator
support aggregate function: count, sum, avg, max, min

* Introduce new "+=" operator

* Introduce sort_paris for table sort iteration

* New sample scripts

* ansi library for sending ANSI escape sequences

* statistics of ktapvm
* Big cleanups and lots of bugfix

= Source code

Please get latest code from:

= Building & Running

[root@jovi]# git clone https://github.com/ktap/ktap.git

[root@jovi]# cd ktap
[root@jovi]# make #generate ktapvm kernel module and ktap binary

[root@jovi]# insmod ./ktapvm.ko
[root@jovi]# ./ktap helloworld.kp

= Samples scripts

There have many samples scripts in README and ktap/scripts/.

#ls scripts/
ansi game interrupt mem schedule tracepoints
basic helloworld.kp io profiling syscalls userspace

Totally 29 sample scripts.

= Documentation

Documentation is in ktap/doc/, also can read from website:

= Mailing list

You can subscribe ktap mailing list at link:

= Feedback

ktap is still under active development, so any feedback, bug
reports, patches, feature requests, as always, is welcome.

= Contributors for this release

Thanks all contributors for this release.

Alen Skondro, Brandon Philips, Greg Kroah-Hartman, Jovi Zhangwei,
Qingping Hou, Stanislav Fomichev, Tadaki SAKAI, Yegor Yefremov,
Yicheng Qin.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/