aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMel Gorman <mgorman@suse.de>2012-03-12 17:09:23 +0000
committerEric B Munson <emunson@mgebm.net>2012-03-22 11:56:19 -0400
commitde913f90de3c72b3223d4cbae54296cbeaeae4c5 (patch)
treee78348314d60b9d946fa5d373c31bf20c8312c15
parent88ead56d5dca3eaccbff7a5f5a55dcba59b753ae (diff)
downloadlibhugetlbfs-de913f90de3c72b3223d4cbae54296cbeaeae4c5.tar.gz
oprofile_map_events: Add basic events for i386/core_i7
Map profile events for the i386/core_i7 and add a sensible default for i386 in general. Signed-off-by: Mel Gorman <mgorman@suse.de> Signed-off-by: Eric B Munson <emunson@mgebm.net>
-rwxr-xr-xoprofile_map_events.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/oprofile_map_events.pl b/oprofile_map_events.pl
index eb413e2..7af5c62 100755
--- a/oprofile_map_events.pl
+++ b/oprofile_map_events.pl
@@ -22,6 +22,7 @@ my $oprofile_event;
my (%map_event_name, %map_event_mask);
# CPU events miss table
+$map_event_name{"i386##timer"} = "CPU_CLK_UNHALTED:6000";
$map_event_name{"i386##dtlb_miss"} = "PAGE_WALK_TYPE:100000:0x01";
$map_event_name{"i386##p4##timer"} = "GLOBAL_POWER_EVENTS:100000:0x01";
$map_event_name{"i386##p4##dtlb_miss"} = "PAGE_WALK_TYPE:3000:0x01";
@@ -35,6 +36,10 @@ $map_event_name{"i386##core##instructions"} = "INST_RETIRED:6000";
$map_event_name{"i386##core_2##dtlb_miss"} = "DTLB_MISSES:500:0x01";
$map_event_name{"i386##core_2##timer"} = "CPU_CLK_UNHALTED:6000";
$map_event_name{"i386##core_2##instructions"} = "INST_RETIRED_ANY_P:6000";
+$map_event_name{"i386##core_7##dtlb_miss"} = "DTLB_LOAD_MISSES:6000:0x01";
+$map_event_name{"i386##core_7##l2cache_miss"} = "LLC_MISSES:6000";
+$map_event_name{"i386##core_7##timer"} = "CPU_CLK_UNHALTED:6000";
+$map_event_name{"i386##core_7##instructions"} = "INST_RETIRED:6000:0x01";
$map_event_name{"x86-64##timer"} = "CPU_CLK_UNHALTED:100000";
$map_event_name{"x86-64##hammer##dtlb_miss"} = "L1_AND_L2_DTLB_MISSES:100000";
$map_event_name{"x86-64##hammer##l1cache_miss"} = "DATA_CACHE_MISSES:500";