lkml.org 
[lkml]   [2011]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: KGTP (Linux Kernel debugger and tracer) 20110405 release
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

> 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. :)
>


\
 
 \ /
  Last update: 2011-04-21 04:49    [W:0.421 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site