diff options
| author | Jiri Olsa <[email protected]> | 2015-04-22 21:10:21 +0200 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-04-29 10:38:01 -0300 |
| commit | e64b020ba1adfd081a26c5a35a2990f91da043a0 (patch) | |
| tree | c4386a2e23af588d889068d359e6f9e79928db89 /tools/perf/scripts/python | |
| parent | cecf3a2e185c1d843428166d644ba3b564231293 (diff) | |
perf tools: Add term support for parse_events_error
Allowing event's term processing to report back error, like:
$ perf record -e 'cpu/even=0x1/' ls
event syntax error: 'cpu/even=0x1/'
\___ unknown term
valid terms: pc,any,inv,edge,cmask,event,in_tx,ldlat,umask,in_tx_cp,offcore_rsp,config,config1,config2,name,period,branch_type
Signed-off-by: Jiri Olsa <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Renamed 'error' variables to 'err', not to clash with util.h error() ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions