From: Ingo Molnar Date: Sat, 28 Sep 2013 13:48:48 +0000 (+0200) Subject: perf/x86: Fix PMU detection printout when no PMU is detected X-Git-Tag: v3.12-rc3~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a3da6c7d0031fcb6a0d17f9c7a68b0e01f52855;p=pandora-kernel.git perf/x86: Fix PMU detection printout when no PMU is detected Ran into this cryptic PMU bootup log recently: [ 0.124047] Performance Events: [ 0.125000] smpboot: ... Turns out we print this if no PMU is detected. Fall back to the right condition so that the following is printed: [ 0.122381] Performance Events: no PMU driver, software events only. Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Link: http://lkml.kernel.org/n/tip-u2fwaUffakjp0qkpRfqljgsn@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed