public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: [BUG] perfmon doesn't send SIGPROF in kernel 2.5.64
@ 2003-04-18 14:38 Stephane Eranian
  0 siblings, 0 replies; only message in thread
From: Stephane Eranian @ 2003-04-18 14:38 UTC (permalink / raw)
  To: linux-ia64

Eric,

On Fri, Apr 18, 2003 at 02:00:19PM +0200, Eric Piel wrote:
> Stephane Eranian wrote:
> > 
> > The attached patch against 2.5.67 corrects the problem. Note that this
> > patch also includes other updates.
> > 
> > Let me know how it goes.
> Very good, it worked!:

I glad to see that it worked for you as well this time.

> 
> Also, after a quick glance at the patch I noticed this update:
> -/* pmc8  */ { PFM_REG_CONFIG  , 0, 0xffffffff3fffffffUL,
> 0xffffffff9fffffffUL, NULL, pfm_mck_pmc_check, {0UL,0UL, 0UL, 0UL},
> {0UL,0UL, 0UL, 0UL}},
> -/* pmc9  */ { PFM_REG_CONFIG  , 0, 0xffffffff3ffffffcUL,
> 0xffffffff9fffffffUL, NULL, pfm_mck_pmc_check, {0UL,0UL, 0UL, 0UL},
> {0UL,0UL, 0UL, 0UL}},
> +/* pmc8  */ { PFM_REG_CONFIG  , 0, 0xffffffff3fffffffUL,
> 0xffffffff3fffffffUL, NULL, pfm_mck_pmc_check, {0UL,0UL, 0UL, 0UL},
> {0UL,0UL, 0UL, 0UL}},
> +/* pmc9  */ { PFM_REG_CONFIG  , 0, 0xffffffff3ffffffcUL,
> 0xffffffff3fffffffUL, NULL, pfm_mck_pmc_check, {0UL,0UL, 0UL, 0UL},
> {0UL,0UL, 0UL, 0UL}},
> 
> Could you describe shortly what this is suppose to fix? Recently I had
> some troubles with some PMU counters on Itanium2 (hard to trigger) and I
> wonder if this could be solved by that patch...
> 

This only affects measurements made with the opcode matchers. The UIUC
folks reported a problem with certain opcode pattern not being counted
properly. I was off by one bit in the mask. This has no  affect on
measurements NOT using the opcode matchers.

-- 
-Stephane


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-18 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-18 14:38 [Linux-ia64] Re: [BUG] perfmon doesn't send SIGPROF in kernel 2.5.64 Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox