diff options
author | Namhyung Kim <[email protected]> | 2013-08-27 11:41:53 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-09-02 14:58:21 -0300 |
commit | b41f1cec91c37eeea6fdb15effbfa24ea0a5536b (patch) | |
tree | 5a146b068973b9a3060a5188cc6a3154ed386eeb /tools/perf/util/trace-event-scripting.c | |
parent | 395c307089c9f5f0d82c63c11c79227b57bb7ac5 (diff) |
perf list: Skip unsupported events
Some hardware events might not be supported on a system. Listing those
events seems meaningless and confusing to users. Let's skip them.
Before:
$ perf list cache | wc -l
33
After:
$ perf list cache | wc -l
27
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions