diff options
| author | David Ahern <[email protected]> | 2013-07-18 17:27:59 -0600 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-07-22 12:03:57 -0300 |
| commit | 2b821cce1c950cead081d779db0dda680192c4bd (patch) | |
| tree | 16797ab2f37c9c3a47b4dc45c69ab81d76547c3e /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 2eaa1b407aa6592a884f1be061ef61de7012c97a (diff) | |
perf evsel: Handle ENODEV on default cycles event
Some systems (e.g., VMs on qemu-0.13 with the default vcpu model) report
an unsupported CPU model:
Performance Events: unsupported p6 CPU model 2 no PMU driver, software events only.
Subsequent invocations of perf fail with:
The sys_perf_event_open() syscall returned with 19 (No such device) for event (cycles).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
Add ENODEV to the list of errno's to fallback to cpu-clock.
Signed-off-by: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions