[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D5113CA.2050301@redhat.com>
Date: Tue, 08 Feb 2011 11:58:34 +0200
From: Avi Kivity <avi@...hat.com>
To: Jan Kiszka <jan.kiszka@...mens.com>
CC: Zachary Amsden <zamsden@...hat.com>,
Marcelo Tosatti <mtosatti@...hat.com>,
kvm <kvm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] KVM: x86: Convert tsc_write_lock to raw_spinlock
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists