Re: KGTP (Linux debugger and tracer) 20130915 release (bugs fix and pdf doc)

2013-09-16 Thread Hui Zhu
On Mon, Sep 16, 2013 at 12:50 AM, Andi Kleen  wrote:
> On Sun, Sep 15, 2013 at 03:58:44PM +0800, Hui Zhu wrote:
>> Hi guys,
>>
>> KGTP (http://code.google.com/p/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.
>
> I see the source tree still has patches. Are they merely to build
> inside the kernel tree? Or is there some functionality that
> would benefit from patching?

The patchs help some people include KGTP to them special Linux Kernel
tree.  Its functions are same with function of modules.

>
> Real time kernel debugging seems like a useful functionality
> and mainline should probably support it.

Thanks.  I will try to make a patch for upstream later.

Best,
Hui

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


Re: KGTP (Linux debugger and tracer) 20130915 release (bugs fix and pdf doc)

2013-09-16 Thread Hui Zhu
On Mon, Sep 16, 2013 at 12:50 AM, Andi Kleen a...@firstfloor.org wrote:
 On Sun, Sep 15, 2013 at 03:58:44PM +0800, Hui Zhu wrote:
 Hi guys,

 KGTP (http://code.google.com/p/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.

 I see the source tree still has patches. Are they merely to build
 inside the kernel tree? Or is there some functionality that
 would benefit from patching?

The patchs help some people include KGTP to them special Linux Kernel
tree.  Its functions are same with function of modules.


 Real time kernel debugging seems like a useful functionality
 and mainline should probably support it.

Thanks.  I will try to make a patch for upstream later.

Best,
Hui


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


Re: KGTP (Linux debugger and tracer) 20130915 release (bugs fix and pdf doc)

2013-09-15 Thread Andi Kleen
On Sun, Sep 15, 2013 at 03:58:44PM +0800, Hui Zhu wrote:
> Hi guys,
> 
> KGTP (http://code.google.com/p/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.

I see the source tree still has patches. Are they merely to build
inside the kernel tree? Or is there some functionality that
would benefit from patching?

Real time kernel debugging seems like a useful functionality
and mainline should probably support it.

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


KGTP (Linux debugger and tracer) 20130915 release (bugs fix and pdf doc)

2013-09-15 Thread Hui Zhu
Hi guys,

KGTP (http://code.google.com/p/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.
This is the video that I introduce KGTP in GNU Tools Cauldron 2013
http://www.youtube.com/watch?v=7nfGAbNsEZY or
http://www.tudou.com/programs/view/fPu_koiKo38/ .

Please go to http://code.google.com/p/kgtp/wiki/HOWTO
https://raw.github.com/teawater/kgtp/master/kgtp.pdf or
http://code.google.com/p/kgtp/wiki/HOWTO
https://raw.github.com/teawater/kgtp/master/kgtpcn.pdf (Chinese) to
get more info about howto use KGTP.

Please goto 
https://code.google.com/p/kgtp/wiki/HOWTO#Table_of_different_between_GDB_debug_normal_program_and_KGTP
or https://code.google.com/p/kgtp/wiki/HOWTOCN#GDB调试普通程序和KGTP的区别表
(Chinese) get the table of different between GDB debug normal program
and KGTP if you have experience using GDB debug normal program.

Now, KGTP 20130915 release.
You can get the package:
Get through https:
https://github.com/teawater/kgtp/archive/20130915.tar.gz
Get through git:
git clone https://github.com/teawater/kgtp.git
git checkout 20130915 -b 20130915

The main change of this release is:
Fixed bugs around x86_32.  And They also reminded me to do this test
on x86_32 before release. (I just do x86_64 in before.) Thanks help
from Brad Dixon.
Fixed bugs around while-stepping.
Added pdf format docs.
Moved to github.

Now, I am working on insert tracepoint to user space program that base
on Uprobes.  The most of code work was done.  Please goto
https://github.com/teawater/kgtp/tree/uprobes-dev try it if you are
interesting with this function.

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


KGTP (Linux debugger and tracer) 20130915 release (bugs fix and pdf doc)

2013-09-15 Thread Hui Zhu
Hi guys,

KGTP (http://code.google.com/p/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.
This is the video that I introduce KGTP in GNU Tools Cauldron 2013
http://www.youtube.com/watch?v=7nfGAbNsEZY or
http://www.tudou.com/programs/view/fPu_koiKo38/ .

Please go to http://code.google.com/p/kgtp/wiki/HOWTO
https://raw.github.com/teawater/kgtp/master/kgtp.pdf or
http://code.google.com/p/kgtp/wiki/HOWTO
https://raw.github.com/teawater/kgtp/master/kgtpcn.pdf (Chinese) to
get more info about howto use KGTP.

Please goto 
https://code.google.com/p/kgtp/wiki/HOWTO#Table_of_different_between_GDB_debug_normal_program_and_KGTP
or https://code.google.com/p/kgtp/wiki/HOWTOCN#GDB调试普通程序和KGTP的区别表
(Chinese) get the table of different between GDB debug normal program
and KGTP if you have experience using GDB debug normal program.

Now, KGTP 20130915 release.
You can get the package:
Get through https:
https://github.com/teawater/kgtp/archive/20130915.tar.gz
Get through git:
git clone https://github.com/teawater/kgtp.git
git checkout 20130915 -b 20130915

The main change of this release is:
Fixed bugs around x86_32.  And They also reminded me to do this test
on x86_32 before release. (I just do x86_64 in before.) Thanks help
from Brad Dixon.
Fixed bugs around while-stepping.
Added pdf format docs.
Moved to github.

Now, I am working on insert tracepoint to user space program that base
on Uprobes.  The most of code work was done.  Please goto
https://github.com/teawater/kgtp/tree/uprobes-dev try it if you are
interesting with this function.

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


Re: KGTP (Linux debugger and tracer) 20130915 release (bugs fix and pdf doc)

2013-09-15 Thread Andi Kleen
On Sun, Sep 15, 2013 at 03:58:44PM +0800, Hui Zhu wrote:
 Hi guys,
 
 KGTP (http://code.google.com/p/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.

I see the source tree still has patches. Are they merely to build
inside the kernel tree? Or is there some functionality that
would benefit from patching?

Real time kernel debugging seems like a useful functionality
and mainline should probably support it.

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