On 02/08/2011 11:55 AM, Jan Kiszka wrote:
>
>  Tracepoints have marginally lower overhead when disabled, and somewhat
>  higher overhead when enabled.  A disadvantage of tracepoints is that it
>  is harder to associate an event with a vm when that event is triggered
>  by a workqueue, but I don't think it matters in practice (kvm_stat
>  doesn't even provide a per-vm breakdown).

What about using the perf infrastructure for this? Besides that perf can
reuse tracepoints, maybe there is even a more efficient way of added new
stat sources.

We are using the perf infrastructure for this (using tracepoints).

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

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to