KGTP (Linux Kernel debugger and tracer) 20120131 release(fix memory leaks of 20111218)

Hui Zhu
Tue Jan 31 13:36:00 GMT 2012

KGTP is a realtime and lightweight Linux Kernel debugger and tracer.

It makes Linux Kernel supply a GDB remote debug interface. Then GDB in
current machine or remote machine (see can
debug and trace Linux through GDB tracepoint 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
And it can work with Android (See
Now, it supports X86-32, X86-64, MIPS and ARM.

Now, KGTP 20120131 release.
You can get the package for it from
svn co

The change of this release is:
Fix two memory leaks bug of gtp_rb, if you are the user of 20111218,
please update to this version at once.
The two issue is:
Fix bug of gtp_rb page release in function gtp_rb_page_free.
Fix bug of gtp_rb_put_page that is used by gtpframe_pipe.

Add support for GDB rsp package "qXfer:traceframe-info:read". Then
tfind mode will show the memory that is not in traceframe as
"<unavailable>".  It is more accurate than before.
It fixed issue 1 and Issue 101.

Add ignore gtp.ko function to

Add define for perf_event_enable and perf_event_disable in gtp.c and
perf_event.c because both of them EXPORT_SYMBOL_GPL in Linux Kernel

To get other change info please goto

According to the comments of Christoph.  I make a patch for Linux
Kernel and make it looks OK with  I will post the patch
for review in next mail.


More information about the Gdb mailing list