summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-list.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-06-07 17:39:02 +0200
committerIngo Molnar <mingo@elte.hu>2009-06-07 17:39:02 +0200
commit3da297a60f7e8840f79f7d0b343af078890939ea (patch)
treec3b5b39be914caa30f1eb820afbdc228d531e25e /tools/perf/builtin-list.c
parent716c69fecacd42f2a304a97158e04af2786a3f65 (diff)
downloadblackbird-op-linux-3da297a60f7e8840f79f7d0b343af078890939ea.tar.gz
blackbird-op-linux-3da297a60f7e8840f79f7d0b343af078890939ea.zip
perf record: Fall back to cpu-clock-ticks if no PMU
On architectures/CPUs without PMU support but with perfcounters enabled 'perf record' currently fails because it cannot create a cycle based hw-perfcounter. Fall back to the cpu-clock-tick sw-perfcounter in this case, which is hrtimer based and will always work (as long as perfcounters are enabled). Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-list.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud