From: Ingo Molnar Date: Sun, 7 Jun 2009 15:31:52 +0000 (+0200) Subject: perf top: Fall back to cpu-clock-tick hrtimer sampling if no cycle counter available X-Git-Tag: v2.6.31-rc1~383^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=716c69fecacd42f2a304a97158e04af2786a3f65;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed