diff options
author | Jiri Olsa <[email protected]> | 2012-10-10 14:53:12 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-10-24 10:41:24 +0200 |
commit | 8300daa26755c9a194776778bd822acf1fa2dbf6 (patch) | |
tree | cfb1ad6e239c852d71577b4aa40eec9850e1c986 /lib/string_helpers.c | |
parent | a47473939db20e3961b200eb00acf5fcf084d755 (diff) |
perf/x86: Filter out undefined events from sysfs events attribute
The sysfs events group attribute currently shows all hw events,
including also undefined ones.
This patch filters out all undefined events out of the sysfs events
group attribute, so they don't even show up.
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions