Re: [PATCH] KVM: x86: Convert tsc_write_lock to raw_spinlock

From: Avi Kivity
Date: Tue Feb 08 2011 - 04:58:44 EST


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 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/