aboutsummaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorStephane Eranian <[email protected]>2011-01-25 17:32:01 +0200
committerIngo Molnar <[email protected]>2011-01-27 19:21:53 +0100
commitd038b12c6d773a4b9f69ca5243773bf6314f7ee9 (patch)
treec59c68b0e94c3a84d8ebd8fe48974c616f2ae303 /net/unix
parent88d4f0db7fa8785859c1d637f9aac210932b6216 (diff)
perf: Fix Pentium4 raw event validation
This patch fixes some issues with raw event validation on Pentium 4 (Netburst) based processors. As I was testing libpfm4 Netburst support, I ran into two problems in the p4_validate_raw_event() function: - the shared field must be checked ONLY when HT is on - the binding to ESCR register was missing The second item was causing raw events to not be encoded correctly compared to generic PMU events. With this patch, I can now pass Netburst events to libpfm4 examples and get meaningful results: $ task -e global_power_events:running:u noploop 1 noploop for 1 seconds 3,206,304,898 global_power_events:running Signed-off-by: Stephane Eranian <[email protected]> Acked-by: Cyrill Gorcunov <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions