aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/oprofile.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-06-07 17:31:52 +0200
committerIngo Molnar <mingo@elte.hu>2009-06-07 17:31:52 +0200
commit716c69fecacd42f2a304a97158e04af2786a3f65 (patch)
tree5f86a0ce67ba87595d14a6fd6d5f59f8f7cf1f56 /include/linux/oprofile.h
parent743ee1f80434138495bbb95ffb897acf46b51d54 (diff)
downloadkernel_samsung_tuna-716c69fecacd42f2a304a97158e04af2786a3f65.zip
kernel_samsung_tuna-716c69fecacd42f2a304a97158e04af2786a3f65.tar.gz
kernel_samsung_tuna-716c69fecacd42f2a304a97158e04af2786a3f65.tar.bz2
perf top: Fall back to cpu-clock-tick hrtimer sampling if no cycle counter available
On architectures/CPUs without PMU support but with perfcounters enabled 'perf top' 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 is 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 'include/linux/oprofile.h')
0 files changed, 0 insertions, 0 deletions