diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2015-10-02 15:28:16 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-10-02 15:28:16 -0300 |
commit | fa52ceabc2a3e70431a82bca2bc547a15eaf19df (patch) | |
tree | 58c3d97af66d9f615af5c3fdc171a4ad04007b98 /lib/dma-debug.c | |
parent | dbc67409fa912ba063dfa956af0543af1258fc97 (diff) |
perf list: Honour 'event_glob' whem printing selectable PMUs
Some PMUs, like the 'intel_bts' one can be used as an event name, i.e.:
$ perf record -e intel_bts:// usleep 1
Is a valid event name.
But the code printing such PMUs was not honouring the 'event_glob'
parameter, so the following line was always appearing:
$ intel_bts// [Kernel PMU event]
Fix it:
$ [acme@felicio linux]$ perf list data
List of pre-defined events (to be used in -e):
uncore_imc/data_reads/ [Kernel PMU event]
uncore_imc/data_writes/ [Kernel PMU event]
$
Cc: Adrian Hunter <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions