From: Peter Zijlstra Date: Sat, 6 Mar 2010 17:57:38 +0000 (+0100) Subject: perf, x86: Deal with multiple state bits for pebs-fmt1 X-Git-Tag: v2.6.35-rc1~522^2~219 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12ab854d744f04bfc5c6c4db723b7e31fc03eb29;p=pandora-kernel.git perf, x86: Deal with multiple state bits for pebs-fmt1 Its unclear if the PEBS state record will have only a single bit set, in case it does not and accumulates bits, deal with that by only processing each event once. Also, robustify some of the code. 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: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed