[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211204104425.GS16608@worktop.programming.kicks-ass.net>
Date: Sat, 4 Dec 2021 11:44:25 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Maxim Levitsky <mlevitsk@...hat.com>
Cc: zhenwei pi <pizhenwei@...edance.com>,
Thomas Gleixner <tglx@...utronix.de>, pbonzini@...hat.com,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: Re: [PATCH v2 2/2] KVM: x86: use x86_get_freq to get freq for
kvmclock
On Fri, Dec 03, 2021 at 09:53:53AM +0200, Maxim Levitsky wrote:
> > Perf exposes it, it's not really convenient if you're not using perf,
> > but it can be found there.
> That is good to know! I will check out the source but if you remember,
> is there cli option in perf to show it, or it only uses it for internal
> purposes?
perf tool doesn't expose it I think, it's stuffed in
perf_event_mmap_page::time_* fields, see
include/uapi/linux/perf_event.h, it has comments on.
Powered by blists - more mailing lists