diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-04-20 20:02:28 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-07-12 18:53:52 +0200 |
commit | 50e200f07948400694238e08e7add73df5ba8f83 (patch) | |
tree | 91a2b5a0e0d06d1d7690bac23077d7d4c7c42c11 /tools/perf/util/machine.h | |
parent | perf tools: struct thread has a tid not a pid (diff) | |
download | linux-50e200f07948400694238e08e7add73df5ba8f83.tar.xz linux-50e200f07948400694238e08e7add73df5ba8f83.zip |
perf tools: Default to cpu// for events v5
When an event fails to parse and it's not in a new style format,
try to parse it again as a cpu event.
This allows to use sysfs exported events directly without //, so you can use
perf record -e mem-loads ...
instead of
perf record -e cpu/mem-loads/
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1366480949-32292-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/machine.h')
0 files changed, 0 insertions, 0 deletions