Re: KGTP (Linux Kernel debugger and tracer) 20111111 release (Androidsupport OK)

From: Geunsik Lim
Date: Mon Dec 12 2011 - 06:13:22 EST


On Mon, Nov 14, 2011 at 2:15 PM, Hui Zhu <teawater@xxxxxxxxx> wrote:
> KGTP is a realtime and lightweight Linux Kernel GDB debugger and tracer.
>
> 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 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.
> Now, it supports X86-32, X86-64, MIPS and ARM.
>
> Now, KGTP 20111111 release.
>
> The change of this release is:
> Add a doc for use KGTP with Android in
> https://code.google.com/p/kgtp/wiki/HowToUseKGTPinAndroid
> post_handler will make kprobes-optimization cannot be used. So make
> gtp_kp_post_handler be call only when tpe->step is true.
> Make rdtsc_current to x86 special.
> Register easy Kprobe handler to speed up it when no tracepoint access
> $cooked_clock, $cooked_rdtsc or "pc_pe" tvariable.
> Fix a bug of ARM build.
> To get other change info please goto https://code.google.com/p/kgtp/wiki/UPDATE
>
> According to the comments of Christoph. ÂI make a patch for Linux
> Kernel and make it looks OK with checkpatch.pl. ÂThe file gtp.patch is
> include in the source of KGTP code.
Dear Hui Zhu,

Recently, I synchronized KGTP kernel source with svn 838 to test
built-in kernel
after adjusting recent bug-fix. I still had a compilation error.
Please, adjust the below patch content to support X86/ARM
architecture normally.

==========