This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
KGTP (Linux debugger and tracer) 20120920 release (add LKM plugin and per cpu TSV update)
- From: Hui Zhu <teawater at gmail dot com>
- To: linux-kernel at vger dot kernel dot org, "gdb at sourceware dot org" <gdb at sourceware dot org>, kgtp <kgtp at freelists dot org>
- Cc: Marc Khouzam <marc dot khouzam at ericsson dot com>, Thiago Jung Bauermann <thiago dot bauermann at gmail dot com>, Steven <mqyoung at gmail dot com>, colyli at gmail dot com, Christoph Hellwig <hch at infradead dot org>, Geoff Levand <geoff at infradead dot org>, Steven Rostedt <rostedt at goodmis dot org>, Randy Dunlap <rdunlap at xenotime dot net>, Geunsik Lim <leemgs1 at gmail dot com>, Andi Kleen <andi at firstfloor dot org>, Tao Ma <taoma dot tm at gmail dot com>
- Date: Fri, 21 Sep 2012 11:17:34 +0800
- Subject: KGTP (Linux debugger and tracer) 20120920 release (add LKM plugin and per cpu TSV update)
Hi guys,
KGTP is a flexible , lightweight and realtime Linux debugger and tracer.
To use it, you don't need patch or rebuild the Linux kernel. Just
build KGTP module and insmod it is OK.
It makes Linux Kernel supply a GDB remote debug interface. Then GDB in
current machine or remote machine can debug and trace Linux through
GDB tracepoint and some other functions without stopping the Linux
Kernel.
And even if the board doesn't have GDB on it and doesn't have
interface for remote debug. It can debug the Linux Kernel using
offline debug (See
http://code.google.com/p/kgtp/wiki/HOWTO#/sys/kernel/debug/gtpframe_and_offline_debug).
KGTP supports X86-32, X86-64, MIPS and ARM.
KGTP is tested on Linux kernel 2.6.18 to upstream.
And it can work with Android (See
http://code.google.com/p/kgtp/wiki/HowToUseKGTPinAndroid).
Please go to http://code.google.com/p/kgtp/wiki/HOWTO or
http://code.google.com/p/kgtp/wiki/HOWTO (Chinese) to get more info
about howto use KGTP.
Now, KGTP 20120920 release.
You can get the package for it from
http://kgtp.googlecode.com/files/kgtp_20120920.tar.bz2
or
svn co https://kgtp.googlecode.com/svn/tags/20120920
The main change of this release is:
C plugin support. With this function, you can dynamic add new
function to KGTP with LKM.
To get more info about it. Please goto
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_add_plugin_in_C
Per_cpu trace state variables function was updated. The usage and
format was changed. This change make it more easy to be used. And I
also update the doc to make it more clear. Please goto
http://code.google.com/p/kgtp/wiki/HOWTO#Per_cpu_trace_state_variables
get it.
Please goto http://code.google.com/p/kgtp/wiki/UPDATE get more info
about this release.
According to the comments of Christoph, Geoff and Andi. I make lite
patch for review. Please goto https://lkml.org/lkml/2012/5/9/90 to
see it.
Thanks,
Hui