Messages in this thread | | | Date | Tue, 12 May 2015 23:36:26 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH] x86, perf: Allow time stamp for free running PEBSv3 |
| |
On Tue, May 12, 2015 at 11:11:48AM -0700, Andi Kleen wrote: > +static unsigned long intel_pmu_free_running_flags(struct perf_event *event) > +{ > + unsigned long flags = x86_pmu.free_running_flags; > + > + if (event->attr.clockid)
Made that: use_clockid, otherwise CLOCK_REALTIME would still allow this (if it were allowed with hardware events).
> + flags &= ~PERF_SAMPLE_TIME; > + return flags; > +}
| |