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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 10 Feb 2010 17:17:17 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	Stephane Eranian <eranian@...gle.com>
Cc:	"Drongowski, Paul" <paul.drongowski@....com>, eranian@...il.com,
	perfmon2-devel@...ts.sf.net, fweisbec@...il.com,
	linux-kernel@...r.kernel.org, paulus@...ba.org, mingo@...e.hu,
	davem@...emloft.net
Subject: Re: [perfmon2] [PATCH] perf_events: AMD event scheduling (v3)

On Wed, 2010-02-10 at 17:07 +0100, Stephane Eranian wrote:
> 
> static inline int amd_is_nb_event(struct hw_perf_event *hwc)
> {
>    return (hwc->config >> 5) & 0x7 == 0x7;
> }

return (hwc->config & 0xe0) == 0xe0;

Changed it, thanks guys!

--
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