This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC][PATCH 0/4][kprobe](djprobe) Direct jump optimized kprobes
- From: Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>
- To: Ingo Molnar <mingo at redhat dot com>, Satoshi Oshima <soshima at redhat dot com>
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>, "Keshavamurthy, Anil S" <anil dot s dot keshavamurthy at intel dot com>, SystemTAP <systemtap at sources dot redhat dot com>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, Prasanna S Panchamukhi <prasanna at in dot ibm dot com>, Hideo Aoki <haoki at redhat dot com>, Yumiko Sugita <yumiko dot sugita dot yf at hitachi dot com>, Jim Keniston <jkenisto at us dot ibm dot com>, Martin Bligh <mbligh at google dot com>, Greg Kroah-Hartman <gregkh at suse dot de>
- Date: Tue, 28 Nov 2006 23:40:29 +0900
- Subject: Re: [RFC][PATCH 0/4][kprobe](djprobe) Direct jump optimized kprobes
- Organization: Systems Development Lab., Hitachi, Ltd., Japan
- References: <4562A150.2030606@hitachi.com> <1164632388.22536.109.camel@earth> <y0my7pwplqf.fsf@ton.toronto.redhat.com> <456B7D4B.4050202@redhat.com> <1164710436.25787.31.camel@earth>
Hi Ingo,
Thank you for reviewing!
Ingo Molnar wrote:
> On Mon, 2006-11-27 at 19:05 -0500, Satoshi Oshima wrote:
>> Yes. This is the problem. We couldn't find anything good way to
>> ensure the safety of branch target without debuginfo.
I think Satoshi said we can find a good way to ensure safety with
debuginfo.
> If existing in-kernel debug info is not enough then i'd suggest to add
> an extra build pass to the kernel to add it (dependent on
> CONFIG_KPROBES) - a'la CONFIG_UNWIND_INFO. Am i missing something?
As far as I know, there is no debuginfo in the kernel which is
loaded in the memory. But the debuginfo is included in the
"vmlinux" file (not the "vmlinuz" file).
So, I think he'd like to say that we can ensure safety by
analyzing the "vmlinux" file.
Is it right, Satoshi?
Thanks,
--
Masami HIRAMATSU
Linux Technology Center
Hitachi, Ltd., Systems Development Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com