Devdutt Patnaik | 1 Sep 2008 17:53
Picon

Re: Incorrect opreport message ?

Hi Saikiran,
 
I have seen the same behavior. The output is confusing in that the summary shows the events counted as L2_RQSTS but the table shows the column named LLC_MISSES. I suggest an easy way to check would be to run the same test with both kinds of events a number of times. Clearly the L2_RQSTS should be much larger than the misses.
 
In case you try this let me know what you see.
 
Thanks
Devdutt.

On Mon, Sep 1, 2008 at 8:51 AM, Saikiran Madugula <hummerbliss <at> gmail.com> wrote:
I was using oprofile (0.9.3) to monitor two events CPU_CLK_UNHALTED and LLC_MISSES. According to ophelp on the machine LLC_MISSES monitors the number of L2 cache misses. Opreport prints the results as L2_RQSTS. Is it error in printing the correct event by opreport ? Here are the relevant commands. I have checked the logfiles and current dump and I see LLC_MISSES everywhere.

opcontrol --setup --vmlinux=/root/linux-2.6/vmlinux --separate=library --buffer-size=10000000 --event=LLC_MISSES:10000 --event=CPU_CLK_UNHALTED:100000 --session-dir=/root/results/<path to particular session> and

oreport -l --threshold=1 --session-dir=/root/results/sampletest/<path to particular session> gives
CPU: Core 2, speed 2394.06 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
Counted L2_RQSTS events (number of L2 cache requests) with a unit mask of 0x41 (multiple flags) count 10000


Thanks,
Saikiran.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
oprofile-list mailing list
oprofile-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
oprofile-list mailing list
oprofile-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list

Gmane