From: Lin Ming Date: Thu, 18 Mar 2010 10:33:12 +0000 (+0800) Subject: perf, x86: Add cache events for the Pentium-4 PMU X-Git-Tag: v2.6.35-rc1~522^2~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb7d6b5053e86598735d9af19930f5929f007b7f;p=pandora-kernel.git perf, x86: Add cache events for the Pentium-4 PMU Move the HT bit setting code from p4_pmu_event_map to p4_hw_config. So the cache events can get HT bit set correctly. Tested on my P4 desktop, below 6 cache events work: L1-dcache-load-misses LLC-load-misses dTLB-load-misses dTLB-store-misses iTLB-loads iTLB-load-misses Signed-off-by: Lin Ming Reviewed-by: Cyrill Gorcunov Cc: Peter Zijlstra LKML-Reference: <1268908392.13901.128.camel@minggr.sh.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed