Map profile events for the i386/core_i7 and add a sensible default for i386 in general.
Signed-off-by: Mel Gorman <mgor...@suse.de> --- oprofile_map_events.pl | 5 +++++ 1 file changed, 5 insertions(+) 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"; ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel