Question about oprofile

Ilya Lipovsky lipovsky at cs.bu.edu
Wed Mar 21 05:47:32 EST 2007


Hi,

 

I am trying to understand how oprofile works, and so far I have a question:

When rfi'ing back into user context the PMM is cleared. However, if PMM is
cleared and then a context switch happens (say, to another CPU-local thread)
the counters keep getting incremented. Is that right?

 

If this is the case, then the PMC statistics account not just for the
current user thread, but also for other ones as well and thus are not
"pure."

 

Thanks in advance for your help.

-Ilya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070320/1101c716/attachment.htm 


More information about the Linuxppc-embedded mailing list