Re: [perfmon] Re: [Linux-ia64] [BUG] perfmon doesn't send SIGPROF in kernel 2.5.64

From: Eric Piel <Eric.Piel_at_Bull.Net>
Date: 2003-04-18 22:00:19
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!:
# ./realfeel4 
897.528 MHz
secondsPerTick=1.11417e-09
ticksPerSecond=897528470.872679
sample_period = 6282699
smallest = 4511, largest = 8271, nsamples = 1426, sigma = 6869234,
sigmasqr = 33252330632
Mean 4817.13, stddev 337.37

Thank you!

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...

Eric
Received on Fri Apr 18 05:01:44 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:13 EST