Re: kernelshark plugins and ftrace array fields

From: Steven Rostedt
Date: Thu Sep 02 2010 - 13:55:43 EST


On Thu, 2010-09-02 at 19:06 +0300, Avi Kivity wrote:
> On 09/02/2010 06:52 PM, Steven Rostedt wrote:
> >
> >> plugin_kvm.c:
> >>
> >> kvm_emulate_insn_handler()
> >> {
> >> fetch insn array and len field
> >> feed into disassembler
> >> trace_seq_printf() the disassembled instruction
> >> }
> > I don't have that tracepoint in any of my kernels. Is this new? I guess
> > if I see the TRACE_EVENT() I could emulate something and work with it.
> >
>
> e46479f852ada, in 2.6.35-rc1.


Oops! sorry. All my boxes with KVM enabled were running 2.6.34 and I was
looking in the code under include/trace/events/kvm.h, forgetting that
these are defined in the arch/x86 tree.

Found it, thanks.

-- Steve



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/