From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cs3.bu.edu (cs3.bu.edu [128.197.12.8]) by ozlabs.org (Postfix) with ESMTP id CAD71DDF3E for ; Wed, 21 Mar 2007 05:56:46 +1100 (EST) Received: from BosLipovskyIPC (host5.gsadvisors.net [65.206.107.5] (may be forged)) (authenticated bits=0) by cs3.bu.edu (8.13.6/8.13.6) with ESMTP id l2KIlXf6015249 for ; Tue, 20 Mar 2007 14:48:04 -0400 From: "Ilya Lipovsky" To: Subject: Question about oprofile Date: Tue, 20 Mar 2007 14:47:32 -0400 Message-ID: <001e01c76b20$4a97b410$3a0d10ac@Radstone.Local> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C76AFE.C3888510" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C76AFE.C3888510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ------=_NextPart_000_001F_01C76AFE.C3888510 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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

------=_NextPart_000_001F_01C76AFE.C3888510--