This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH -tip 0/4 V3] tracing: kprobe-based event tracer
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: Ingo Molnar <mingo at elte dot hu>, Arnaldo Carvalho de Melo <acme at redhat dot com>, Steven Rostedt <rostedt at goodmis dot org>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, Frederic Weisbecker <fweisbec at gmail dot com>, Linux Kernel Mailing List <linux-kernel at vger dot kernel dot org>, systemtap-ml <systemtap at sources dot redhat dot com>, Andrew Morton <akpm at linux-foundation dot org>, Jim Keniston <jkenisto at us dot ibm dot com>
- Date: Wed, 01 Apr 2009 16:51:00 -0400
- Subject: Re: [PATCH -tip 0/4 V3] tracing: kprobe-based event tracer
- References: <49CC08A2.5030602@redhat.com> <20090401133654.GB18677@elte.hu> <49D37584.50208@redhat.com> <873acsm8qp.fsf@basil.nowhere.org>
Andi Kleen wrote:
> Masami Hiramatsu <mhiramat@redhat.com> writes:
>> I agreed. Fortunately, Jim Keniston and I wrote an x86 instruction
>> decoder :-) which has been made originally for uprobe andd kprobes
>> jump-optimizer.
>>
>> https://www.redhat.com/archives/utrace-devel/2009-March/msg00031.html
>
> An alternative would be to adapt the x86 interpreter in KVM.
> I thought for some time that that one should be available in
> a more generic form in a library.
As far as I can see, KVM's instruction emulator is incomplete
(it doesn't cover all instructions...) and aims to emulate
instructions, not to analyze (so I couldn't relay on it).
Anyway, I think making x86 interpreter in a library is a good idea.
Thank you,
>
> -Andi
>
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com