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:	Tue, 20 Dec 2011 12:39:21 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	Jiri Olsa <jolsa@...hat.com>
Cc:	acme@...hat.com, mingo@...e.hu, paulus@...ba.org,
	cjashfor@...ux.vnet.ibm.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] perf, tool: Add parser generator for events parsing

On Tue, 2011-12-20 at 12:30 +0100, Peter Zijlstra wrote:
> event   config-0:7
> umask   config-8:15
> usr     config-16
> os      config-17
> edge    config-18
> any     config-21
> inv     config-23
> cmask   config-24:31
> 
> nhm-dmnd_data_rd        config1-0
> nhm-dmnd_rfo            config1-1
> nhm-dmnd_ifetch         config1-2
> ...
> 
> (the real syntax will likely be a little more complex in order to be
> able to express the various other architectures their raw input format). 

for instance AMD would need:

event	config-0:7,32-35
guest	config-40
host	config-41

(assuming you read that as a mask from LSB to MSB)

And I still haven't actually read how the P4 works so I can't help out
there.
--
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