[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTinU5s8FgC9acCPcQqDRBnwi4EqA2g@mail.gmail.com>
Date: Wed, 6 Apr 2011 13:54:10 +0800
From: Hui Zhu <teawater@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org,
Marc Khouzam <marc.khouzam@...csson.com>,
Thiago Jung Bauermann <thiago.bauermann@...il.com>,
Steven <mqyoung@...il.com>, colyli@...il.com,
Christoph Hellwig <hch@...radead.org>,
Jason Wessel <jason.wessel@...driver.com>
Subject: Re: KGTP (Linux Kernel debugger and tracer) 20110405 release
On Wed, Apr 6, 2011 at 01:27, Peter Zijlstra <peterz@...radead.org> wrote:
> On Tue, 2011-04-05 at 19:59 +0800, Hui Zhu wrote:
>> KGTP is a realtime and lightweight Linux Kernel GDB debugger and
>> tracer that use Kprobe.
>>
>> It make Linux Kernel supply a GDB remote debug interface. Then GDB in
>> current machine or remote machine(see "Make GDB connect to gtp") can
>> debug Linux through GDB tracepoint without stop 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 use offline
>> debug (See "Offline debug").
>
> So this leaves me wondering how this is different from the existing
> KGDB, if its different why its not reusing/extending the existing
> infrastructure.
>
>
>
Hi Peter,
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.
Thanks,
Hui
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists