lkml.org 
[lkml]   [2011]   [Dec]   [16]   [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 Fri, 2011-12-16 at 15:02 +0100, Peter Zijlstra wrote:
> > event_tracepoint: PE_NAME_TP ':' PE_NAME_TP modifier
> > event_raw: PE_SEP_RAW PE_VALUE modifier
> > event_numeric: PE_VALUE ':' PE_VALUE modifier
> > event_symbolic: PE_NAME_SYM modifier
> > event_generic_hw: PE_NAME_CACHE_TYPE '-' PE_NAME_CACHE_OP_RESULT '-' PE_NAME_CACHE_OP_RESULT modifier |
> > PE_NAME_CACHE_TYPE '-' PE_NAME_CACHE_OP_RESULT modifier |
> > PE_NAME_CACHE_TYPE modifier
> > event_breakpoint: PE_SEP_BP ':' PE_VALUE event_breakpoint_type modifier
> > event_breakpoint_type: PE_MODIFIER_BPTYPE | empty
> > modifier: PE_MODIFIER_EVENT | empty
>
> This isn't complete, we need means of specifying
> perf_event_attr::config[12] when specifying a raw event.

Also, it might make sense to think about how to specify sysfs events
(which don't exist yet).


\
 
 \ /
  Last update: 2011-12-16 15:07    [from the cache]
©2003-2011 Jasper Spaans