From: Peter Zijlstra Date: Wed, 3 Mar 2010 16:07:40 +0000 (+0100) Subject: perf, x86: Clean up IA32_PERF_CAPABILITIES usage X-Git-Tag: v2.6.35-rc1~522^2~231 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8db909a7e3c888b5d45aef7650d74ccebe3ce725;p=pandora-kernel.git perf, x86: Clean up IA32_PERF_CAPABILITIES usage Saner PERF_CAPABILITIES support, which also exposes pebs_trap. Use that latter to make PEBS's use of LBR conditional since a fault-like pebs should already report the correct IP. ( As of this writing there is no known hardware that implements !pebs_trap ) Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com LKML-Reference: <20100304140100.770650663@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed