linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Ilya Lipovsky" <lipovsky@cs.bu.edu>
To: <linuxppc-embedded@ozlabs.org>
Subject: Question about oprofile
Date: Tue, 20 Mar 2007 14:47:32 -0400	[thread overview]
Message-ID: <001e01c76b20$4a97b410$3a0d10ac@Radstone.Local> (raw)

[-- 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 --]

             reply	other threads:[~2007-03-20 18:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20 18:47 Ilya Lipovsky [this message]
2007-03-20 19:13 ` Question about oprofile Andy Fleming
2007-03-20 23:07   ` Ilya Lipovsky
2007-03-21 15:21 ` STACK & HEAP Charles Krinke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001e01c76b20$4a97b410$3a0d10ac@Radstone.Local' \
    --to=lipovsky@cs.bu.edu \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).