Eli Cohen wrote:
> Forgot to mention: I am running oprofile on a RHAS5.0 distribution.
> On Wed, 2007-12-19 at 09:23 +0200, Eli Cohen wrote:
>> I am trying to profile a network driver for cache misses. I use the
>> following command:
>> opcontrol -e DATA_CACHE_ACCESSES:50000 --start
>> After I stop the profiler and get a report I see the message:
>> CPU: AMD64 processors, speed 2400 MHz (estimated)
>> Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a
>> unit mask of 0x00 (No unit mask) count 100000
>> Which looks like it sampled the default counter.
>> Can someone tell what an I doing wrong. Also please someone explain the
>> exact meaning of the count value (I just chose this arbitrarily).
Is it possible that the OProfile was already running? You might try the
following to make sure that the new event is used and there are no samples from
Then do the:
opcontrol -e DATA_CACHE_ACCESSES:50000 --start