[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YgO68ihU+ikg4QOa@hirez.programming.kicks-ass.net>
Date: Wed, 9 Feb 2022 14:00:34 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Adrian Hunter <adrian.hunter@...el.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...hat.com>, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
kvm@...r.kernel.org, H Peter Anvin <hpa@...or.com>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Suzuki K Poulose <suzuki.poulose@....com>,
Leo Yan <leo.yan@...aro.org>
Subject: Re: [PATCH 03/11] perf/x86: Add support for TSC in nanoseconds as a
perf event clock
On Wed, Feb 09, 2022 at 10:49:21AM +0200, Adrian Hunter wrote:
> + if (sched_clock_stable()) {
> + offset = __sched_clock_offset;
The only sane behviour for !sched_clock_stable() is to completely refuse
service.
Powered by blists - more mailing lists