From: Ingo Molnar Date: Sun, 7 Jun 2009 15:39:02 +0000 (+0200) Subject: perf record: Fall back to cpu-clock-ticks if no PMU X-Git-Tag: v2.6.31-rc1~383^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3da297a60f7e8840f79f7d0b343af078890939ea;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed