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:   Mon, 17 Oct 2016 19:26:47 +0200
From:   Jiri Olsa <jolsa@...hat.com>
To:     Andi Kleen <andi@...stfloor.org>
Cc:     acme@...nel.org, jolsa@...nel.org, sukadev@...ux.vnet.ibm.com,
        eranian@...gle.com, linux-kernel@...r.kernel.org,
        Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 08/10] perf, tools: Expand PMU events by prefix match

On Mon, Oct 17, 2016 at 09:56:42AM -0700, Andi Kleen wrote:
> > so there's a special treatment for uncore events,
> > what if user says 'uncore_box/..' then?
> 
> It should work. There's nothing special for uncore later, this
> is just for convenience so that I have less to type.

really..


'uncore_cbox_0/clockticks/'

	[jolsa@...va perf]$ sudo ./perf stat -e 'uncore_cbox_0/clockticks/' -a
	^C
	 Performance counter stats for 'system wide':

			 0      uncore_cbox_0/clockticks/                                   

	       0.676237018 seconds time elapsed


'cbox_0/clockticks/'

	[jolsa@...va perf]$ sudo ./perf stat -e 'cbox_0/clockticks/' -a
	^C
	 Performance counter stats for 'system wide':

			 0      cbox_0/clockticks/                                          

	       0.991623038 seconds time elapsed


'cbox/clockticks'

	[jolsa@...va perf]$ sudo ./perf stat -e 'cbox/clockticks/' -a
	^C
	 Performance counter stats for 'system wide':

			 0      cbox/clockticks/                                            

	       0.708006656 seconds time elapsed


'uncore_cbox/clockticks/'

	[jolsa@...va perf]$ sudo ./perf stat -e 'uncore_cbox/clockticks/' -a
	invalid or unsupported event: 'uncore_cbox/clockticks/'
	Run 'perf list' for a list of valid events

	 Usage: perf stat [<options>] [<command>]

	    -e, --event <event>   event selector. use 'perf list' to list available events


jirka

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ