[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150512213626.GU21418@twins.programming.kicks-ass.net>
Date: Tue, 12 May 2015 23:36:26 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
kan.liang@...el.com
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;
> +}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists