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] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 1 Nov 2020 00:44:18 +0100
From:   Jiri Olsa <jolsa@...hat.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     mingo@...nel.org, acme@...nel.org, mark.rutland@....com,
        alexander.shishkin@...ux.intel.com, namhyung@...nel.org,
        linux-kernel@...r.kernel.org, eranian@...gle.com,
        ak@...ux.intel.com
Subject: Re: [PATCH v2 0/4] perf: Fix perf_event_attr::exclusive rotation

On Thu, Oct 29, 2020 at 05:27:19PM +0100, Peter Zijlstra wrote:
> Hi,
> 
> Andi recently added exclusive event group support to tools/perf:
> 
>   https://lkml.kernel.org/r/20201014144255.22699-1-andi@firstfloor.org
> 
> and promptly found that they didn't work as specified.
> 
> (sorry for the resend, I forgot LKML the first time)

hm, it's too late for me to check ;-) but should I be able to do
this with exclusive event.. running both command at the same time:

	$ sudo ./perf stat -e cycles:e -I 1000
	#           time             counts unit events
	     1.002430650         33,946,849      cycles:e                                                    
	     2.004920725        502,399,986      cycles:e                                                      (67.57%)
	     3.007087631        859,745,048      cycles:e                                                      (50.00%)
	     4.009078254        845,860,723      cycles:e                                                      (50.00%)
	     5.011086104        838,457,275      cycles:e                                                      (50.00%)

	$ sudo ./perf stat -e cycles:e  -I 1000
	#           time             counts unit events
	     1.001665466        848,973,404      cycles:e                                                      (50.01%)
	     2.003658048        856,505,255      cycles:e                                                      (50.00%)
	     3.005658022        842,737,973      cycles:e                                                      (50.00%)
	     4.007657797        844,800,598      cycles:e                                                      (50.00%)

jirka

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ