[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BANLkTinWoPQ+8kz6A4qCvYqEcj=FhzvBDw@mail.gmail.com>
Date: Thu, 21 Apr 2011 11:27:50 +0800
From: Hui Zhu <teawater@...il.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Dongdong Deng <libfetion@...il.com>,
Jason Wessel <jason.wessel@...driver.com>,
Peter Zijlstra <peterz@...radead.org>,
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>
Subject: Re: KGTP (Linux Kernel debugger and tracer) 20110405 release
On Thu, Apr 21, 2011 at 10:46, Steven Rostedt <rostedt@...dmis.org> wrote:
> On Fri, Apr 08, 2011 at 04:25:28PM +0800, Hui Zhu wrote:
>> After a discussion with Dongdong, I think I have different idea with that.
>>
>> 1. I don't want change the current interface of kgtp. Because a proc
>> interface is very simple and stable interface.
>> And with proc, kgtp can very easy connect with GDB without Kernel
>
> Can you use the debugfs interface instead of proc. Proc is too
> overloaded as is, and debugfs seems to be a perfect match in this case.
>
> -- Steve
Hi Steve,
I really agree with what you said. I will change it. Thank a lot.
Best,
Hui
>
>> help. Please see
>> https://code.google.com/p/kgtp/wiki/HOWTO#Make_GDB_connect_to_gtp and
>> https://code.google.com/p/kgtp/wiki/HOWTO#Offline_debug
>>
>> 2. I don't want remove the kprobe. Because what I want kgtp is to be
>> a Linux Kernel tracepoint interface with gdb. I will add other
>> tracepoint like TRACE_EVENT.
>> And move it to gdb breakpoint is too far away from it. And it is too
>> much depend on kgdb.
>>
>> Of course, I am very happy to share the GDB rsp tracepoint parse code
>> with kgdb to make it support gdb tracepoint.
>> Trust me, My code is more clear than the doc of GDB. :)
>>
>
--
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