From: William C. <wc...@nc...> - 2004-10-15 18:13:47
|
Maynard P. Johnson wrote: > diff -paurNX ../diff_fileExclusionFilter oprofile/events/ppc64/power4/events ../workspace/oprofile0.8.1-forPOWER/events/ppc64/power4/events > --- oprofile/events/ppc64/power4/events 1969-12-31 18:00:00.000000000 -0600 > +++ ../workspace/oprofile0.8.1-forPOWER/events/ppc64/power4/events 2004-09-10 15:39:59.745141032 -0500 > +#Group 2 pm_basic > +event:0x20 counters:0 um:zero minimum:5000 name:PM_INST_CMPL_GRP2 : (Group 2 pm_basic) Instrucitons completed > +event:0x25 counters:5 um:zero minimum:5000 name:PM_INST_CMPL_GRP2 : (Group 2 pm_basic) Number of ELigible Instructions that completed Shouldn't these events have two different names? I found this when testing. Also noticed for power4 I couldn't have more than one event from group 4. For example: #/usr/local/bin/opcontrol --setup --no-vmlinux --event=PM_INST_CMPL_GRP4:500000:0 --event=PM_L2_DCACHE_RELOAD_VALID_GRP4:500000:0 --event=PM_CYC_GRP4:500000:0 --event=PM_DATA_FROM_L2_GRP4:500000:0 --event=PM_DATA_FROM_L25_SH_GRP4:500000:0 --event=PM_DATA_FROM_L275_SHR_GRP4:500000:0 --event=PM_DATA_FROM_L275_MOD_GRP4:500000:0 --event=PM_DATA_FROM_L25_MOD_GRP4:500000:0 (Couldn't allocate hardware counters for the selected events.) This appears to be a problem in libop/op_alloc_counter.c:map_event_to_counter() or things it calls. opcontrol uses op_help which in turn users map_event_to_counter(). -Will |