From: Cyrill Gorcunov Date: Mon, 17 May 2010 08:13:04 +0000 (+0800) Subject: perf, x86: P4 PMU -- handle unflagged events X-Git-Tag: v2.6.35-rc1~30^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0db1a7bc00216a981d0b7056627ad8682f4f0636;p=pandora-kernel.git perf, x86: P4 PMU -- handle unflagged events It might happen that an event can overflow without the proper overflow flag set. Check the sign bit in the raw counter value to solve this problem. Tested-by: Lin Ming Signed-off-by: Cyrill Gorcunov Cc: Peter Zijlstra Cc: fweisbec@gmail.com Cc: Cyrill Gorcunov Cc: Arnaldo Carvalho de Melo LKML-Reference: <1274083984.6540.15.camel@minggr.sh.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed