public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Stephane Eranian <eranian@hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Re: [BUG] perfmon doesn't send SIGPROF in kernel 2.5.64
Date: Fri, 18 Apr 2003 14:38:16 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590723705562@msgid-missing> (raw)

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


                 reply	other threads:[~2003-04-18 14:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=marc-linux-ia64-105590723705562@msgid-missing \
    --to=eranian@hpl.hp.com \
    --cc=linux-ia64@vger.kernel.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