lkml.org 
[lkml]   [2015]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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;
> +}


\
 
 \ /
  Last update: 2015-05-13 00:01    [W:0.032 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site