Re: [PATCH V2 2/6] perf/x86/intel/pebs: Fix PEBS timestamps overwritten

From: Namhyung Kim
Date: Wed Oct 12 2022 - 12:12:57 EST


Hi Peter,

On Wed, Oct 12, 2022 at 1:05 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> On Tue, Oct 11, 2022 at 11:20:54AM -0700, Namhyung Kim wrote:
>
> > One thing I noticed is that the system has a config option
> > CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y.
>
> You can't build x86 without that.

Oh, I didn't know that.. so it's not a config problem.

Kan, could you check the following command?

$ perf record -e cycles:upp dd if=/dev/zero of=/dev/null count=10000

Thanks,
Namhyung