Messages in this thread | | | Subject | Re: KGTP (Linux Kernel debugger and tracer) 20110405 release | From | Peter Zijlstra <> | Date | Wed, 06 Apr 2011 10:19:19 +0200 |
| |
On Wed, 2011-04-06 at 13:54 +0800, Hui Zhu wrote:
> This is a good question. > > The KGTP is completely different with KGDB. It will not supply simple > gdbrsp debug interface to user. It just supply interface between the > kernel tracepoint(Now, just support kprobe, will add others later) and > GDB tracepoint function. > > So user can debug and trace Linux kernel with GDB without stop the > Linux Kernel (So the GDB can running on this Kernel). It is a trace > tools and debug tools.
But this isn't really an answer either. Could you extend the existing KGDB infrastructure to provide these features and thereby re-use existing infrastructure to reduce your patch size and code duplication?
Jason (the KGDB maintainer) certainly thought there was much possibility there when I spoke to him yesterday.
Think of it this way, wouldn't it be much better if there was one tool that could provide the combined feature set of KGDB and KGTP?
| |