lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ