[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 07 Jul 2009 22:34:55 +0200
From: Peter Zijlstra <a.p.zijlstra@...llo.nl>
To: Vince Weaver <vince@...ter.net>
Cc: Ingo Molnar <mingo@...e.hu>, Paul Mackerras <paulus@...ba.org>,
linux-kernel@...r.kernel.org
Subject: Re: [patch] perf_counter: Add p6 PMU
On Tue, 2009-07-07 at 16:06 -0400, Vince Weaver wrote:
> OK, so I lied, I found time to throw together a p6 PMU patch.
> I've tested it on a Pentium III and it seems to be working.
>
> I'm sure the patch still needs a lot of work. I'm not sure how to
> implement p6_pmu_enable_all(). There is no support for the various
> cache-related counters.
>
> The code is based on the info in the Intel Software Developer's Manual Vol
> 3B, with some comments and code taken from the relevant perfmon2 patches.
>
> There's a lot of overlap between the p6, intel, and amd methods. Not sure
> if it would be wise to merge up some of the common code.
>
> I do have Pentium Pro, PII, and PIII hardware to test this on. I also
> have a Yonah-based laptop, but it might have architectural perfmon version
> 1 despite being a p6-related core.
>
> Let's hope this version of pine I am using doesn't do something stupid to
> the whitespace in the patch.
Awesome, I'll try it on my pentium-3 mobile tomorrow.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists