From: Maynard J. <may...@us...> - 2006-02-22 14:36:44
|
Update of /cvsroot/oprofile/oprofile/events/ppc64/power5+ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6577/events/ppc64/power5+ Added Files: event_mappings events unit_masks Log Message: Add support for Power5+ --- NEW FILE: event_mappings --- #Mapping of event groups to MMCR values #Group Default event:0X001 mmcr0:0X00000000 mmcr1:0X000000000A02121E mmcra:0X00000000 #Group 0 with random sampling event:0X002 mmcr0:0X00000000 mmcr1:0X4000000002341E36 mmcra:0X00000001 #Group 1 pm_utilization, CPI and utilization data event:0X010 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000 event:0X011 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000 event:0X012 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000 event:0X013 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000 event:0X014 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000 event:0X015 mmcr0:0X00000000 mmcr1:0X000000000A12121E mmcra:0X00000000 #Group 2 pm_completion, Completion and cycle counts event:0X020 mmcr0:0X00000000 mmcr1:0X000000002608261E mmcra:0X00000000 [...1193 lines suppressed...] event:0X972 mmcr0:0X00000000 mmcr1:0X0000000010105050 mmcra:0X00000000 event:0X973 mmcr0:0X00000000 mmcr1:0X0000000010105050 mmcra:0X00000000 event:0X974 mmcr0:0X00000000 mmcr1:0X0000000010105050 mmcra:0X00000000 event:0X975 mmcr0:0X00000000 mmcr1:0X0000000010105050 mmcra:0X00000000 #Group 152 pm_eprof1, Group for use with eprof event:0X980 mmcr0:0X00000000 mmcr1:0X00300000121E108E mmcra:0X00000000 event:0X981 mmcr0:0X00000000 mmcr1:0X00300000121E108E mmcra:0X00000000 event:0X982 mmcr0:0X00000000 mmcr1:0X00300000121E108E mmcra:0X00000000 event:0X983 mmcr0:0X00000000 mmcr1:0X00300000121E108E mmcra:0X00000000 event:0X984 mmcr0:0X00000000 mmcr1:0X00300000121E108E mmcra:0X00000000 event:0X985 mmcr0:0X00000000 mmcr1:0X00300000121E108E mmcra:0X00000000 #Group 153 pm_eprof2, Group for use with eprof event:0X990 mmcr0:0X00000000 mmcr1:0X0030000012501220 mmcra:0X00000000 event:0X991 mmcr0:0X00000000 mmcr1:0X0030000012501220 mmcra:0X00000000 event:0X992 mmcr0:0X00000000 mmcr1:0X0030000012501220 mmcra:0X00000000 event:0X993 mmcr0:0X00000000 mmcr1:0X0030000012501220 mmcra:0X00000000 event:0X994 mmcr0:0X00000000 mmcr1:0X0030000012501220 mmcra:0X00000000 event:0X995 mmcr0:0X00000000 mmcr1:0X0030000012501220 mmcra:0X00000000 --- NEW FILE: events --- #PPC64 Power5+ events # # Within each group the event names must be unique. Each event in a group is # assigned to a unique counter. The groups are from the groups defined in the # Performance Monitor Unit user guide for this processor. # # Only events within the same group can be selected simultaneously. # Each event is given a unique event number. The event number is used by the # OProfile code to resolve event names for the post-processing. This is done # to preserve compatibility with the rest of the OProfile code. The event # numbers are formatted as follows: <group_num>concat(<counter for the event>). #Group Default event:0X001 counters:3 um:zero minimum:10000 name:CYCLES : Processor Cycles using continuous sampling #Group 0 with random sampling event:0X002 counters:2 um:zero minimum:10000 name:CYCLES_RND_SMPL : Processor Cycles with random sampling [...1203 lines suppressed...] event:0X972 counters:2 um:zero minimum:1000 name:PM_FPU_FSQRT_GRP151 : (Group 151 pm_flop) FPU executed FSQRT instruction event:0X973 counters:3 um:zero minimum:1000 name:PM_FPU_1FLOP_GRP151 : (Group 151 pm_flop) FPU executed one flop instruction event:0X974 counters:4 um:zero minimum:1000 name:PM_RUN_INST_CMPL_GRP151 : (Group 151 pm_flop) Run instructions completed event:0X975 counters:5 um:zero minimum:10000 name:PM_RUN_CYC_GRP151 : (Group 151 pm_flop) Run cycles #Group 152 pm_eprof1, Group for use with eprof event:0X980 counters:0 um:zero minimum:10000 name:PM_INST_CMPL_GRP152 : (Group 152 pm_eprof1) Instructions completed event:0X981 counters:1 um:zero minimum:10000 name:PM_CYC_GRP152 : (Group 152 pm_eprof1) Processor cycles event:0X982 counters:2 um:zero minimum:1000 name:PM_LD_MISS_L1_GRP152 : (Group 152 pm_eprof1) L1 D cache load misses event:0X983 counters:3 um:zero minimum:1000 name:PM_DC_INV_L2_GRP152 : (Group 152 pm_eprof1) L1 D cache entries invalidated from L2 event:0X984 counters:4 um:zero minimum:1000 name:PM_RUN_INST_CMPL_GRP152 : (Group 152 pm_eprof1) Run instructions completed event:0X985 counters:5 um:zero minimum:10000 name:PM_RUN_CYC_GRP152 : (Group 152 pm_eprof1) Run cycles #Group 153 pm_eprof2, Group for use with eprof event:0X990 counters:0 um:zero minimum:10000 name:PM_INST_CMPL_GRP153 : (Group 153 pm_eprof2) Instructions completed event:0X991 counters:1 um:zero minimum:1000 name:PM_ST_REF_L1_GRP153 : (Group 153 pm_eprof2) L1 D cache store references event:0X992 counters:2 um:zero minimum:1000 name:PM_INST_DISP_GRP153 : (Group 153 pm_eprof2) Instructions dispatched event:0X993 counters:3 um:zero minimum:1000 name:PM_LD_REF_L1_GRP153 : (Group 153 pm_eprof2) L1 D cache load references event:0X994 counters:4 um:zero minimum:1000 name:PM_RUN_INST_CMPL_GRP153 : (Group 153 pm_eprof2) Run instructions completed event:0X995 counters:5 um:zero minimum:10000 name:PM_RUN_CYC_GRP153 : (Group 153 pm_eprof2) Run cycles --- NEW FILE: unit_masks --- # ppc64 Power5+ possible unit masks # name:zero type:mandatory default:0x0 0x0 No unit mask |