lkml.org 
[lkml]   [2011]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] perf, tool: Add parser generator for events parsing
From
Date
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.


\
 
 \ /
  Last update: 2011-12-20 12:41    [W:0.083 / U:1.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site