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]
Message-ID: <20120817161836.GB7764@infradead.org>
Date:	Fri, 17 Aug 2012 13:18:36 -0300
From:	Arnaldo Carvalho de Melo <acme@...hat.com>
To:	Robert Richter <robert.richter@....com>
Cc:	Ingo Molnar <mingo@...nel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	Jiri Olsa <jolsa@...hat.com>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/8] perf tools: Various updates

Em Thu, Aug 16, 2012 at 09:10:16PM +0200, Robert Richter escreveu:
> This patch set contains various perf tools updates. Most patches deal
> with event naming. If the event name is unknown it is named like the
> command line string of it. This is esp. valueable for pmu events like
> for AMD IBS:
> 
>      $ perf report | grep '^#.*event'
>      # event : name = ibs_op/cnt_ctl=1/GH, type = 7, config = 0x80000, config1 = 0x0, config2 = 0x0, excl_usr = 0, excl_kern = 0, excl_host = 0, excl_guest = 0, precise_ip = 0, id = { 
>      # event : name = ibs_fetch/config=0/, type = 6, config = 0x0, config1 = 0x0, config2 = 0x0, excl_usr = 0, excl_kern = 0, excl_host = 0, excl_guest = 1, precise_ip = 0, id = { 57, 
>      # Samples: 20K of event 'ibs_op/cnt_ctl=1/GH'
>      # Samples: 4K of event 'ibs_fetch/config=0/'

There is a command for that pipe sequence:

[root@...dy ~]# perf record -e cache-misses:u,cycles:k,instructions usleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.020 MB perf.data (~861 samples) ]
[root@...dy ~]# perf evlist
cache-misses:u
cycles:k
instructions
[root@...dy ~]# perf evlist -v
cache-misses:u: sample_freq=4000, config: 3, size: 96, sample_type: 327, read_format: 7, disabled: 1, inherit: 1, exclude_kernel: 1, exclude_hv: 1, mmap: 1, comm: 1, freq: 1, enable_on_exec: 1, sample_id_all: 1
cycles:k: sample_freq=4000, size: 96, sample_type: 327, read_format: 7, disabled: 1, inherit: 1, exclude_user: 1, exclude_hv: 1, freq: 1, enable_on_exec: 1, sample_id_all: 1
instructions: sample_freq=4000, config: 1, size: 96, sample_type: 327, read_format: 7, disabled: 1, inherit: 1, freq: 1, enable_on_exec: 1, sample_id_all: 1, exclude_guest: 1
[root@...dy ~]#

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