Re: [RFC 0/2] KVM: Fix kvm_exit trace event format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 07/27/2011 03:55 PM, Stefan Hajnoczi wrote:
>
>  trace-cmd has a plugin API (and a kvm plugin) that you can use for
>  this, and I expect perf either does as well or can make use of one.
>  I don't think it's useful to complicate the print format description
>  further to support our weird use case.

The problem with relying on a plugin is that every userspace application
(currently two that I am aware of: perf and trace-cmd) has to add
special-case kvm code to work around our crappy format.

Move the plugins to tools/trace-formats and install them in /lib/modules/$(uname -r)/tracepoint-formats/*.so.

With these patches we at least get back to an event format that is
self-describing - no plugin necessary.

There will always be special cases. Look at how trace-cmd formats the kvm_emulate_insn event.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux