summaryrefslogtreecommitdiffstats
path: root/tools/perf/bench
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2013-07-18 17:27:59 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-07-22 12:03:57 -0300
commit2b821cce1c950cead081d779db0dda680192c4bd (patch)
tree16797ab2f37c9c3a47b4dc45c69ab81d76547c3e /tools/perf/bench
parent2eaa1b407aa6592a884f1be061ef61de7012c97a (diff)
downloadop-kernel-dev-2b821cce1c950cead081d779db0dda680192c4bd.zip
op-kernel-dev-2b821cce1c950cead081d779db0dda680192c4bd.tar.gz
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 <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/1374190079-28507-1-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud