linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Question about oprofile
@ 2007-03-20 18:47 Ilya Lipovsky
  2007-03-20 19:13 ` Andy Fleming
  2007-03-21 15:21 ` STACK & HEAP Charles Krinke
  0 siblings, 2 replies; 4+ messages in thread
From: Ilya Lipovsky @ 2007-03-20 18:47 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 2875 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-21 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-20 18:47 Question about oprofile Ilya Lipovsky
2007-03-20 19:13 ` Andy Fleming
2007-03-20 23:07   ` Ilya Lipovsky
2007-03-21 15:21 ` STACK & HEAP Charles Krinke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).