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;
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to