public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Performance counters for POWER
@ 2009-01-09 10:40 Paul Mackerras
  2009-01-09 13:28 ` Peter Zijlstra
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Paul Mackerras @ 2009-01-09 10:40 UTC (permalink / raw)
  To: linux-kernel; +Cc: Ingo Molnar, Thomas Gleixner

The following series of patches extends Ingo and Thomas's performance
counter framework to add support for 64-bit POWER processors.
Currently I have the PPC970 family and POWER6 done.

The approach I have taken is to do the constraint checking and the
search through the space of alternative event codes as each group of
counters is added at the time a task is scheduled in.  That means we
are potentially doing the search several times in a row, with
interrupts disabled.  I think it will be OK since there are only a few
events that have alternatives (and not many of them), and the
constraint checking is fast since it is just simple integer
operations.  However, one of the things I plan to do is to instrument
that code to find out how long it takes in the worst case.  (If it
takes too long then I will need some major changes to the generic
code.)

This series is also available via git at:

git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perfcounters.git

in the master branch.

Paul.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-01-11  1:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 10:40 [PATCH 0/9] Performance counters for POWER Paul Mackerras
2009-01-09 13:28 ` Peter Zijlstra
2009-01-10  0:30   ` Paul Mackerras
2009-01-09 13:47 ` Ingo Molnar
2009-01-09 23:38   ` Paul Mackerras
2009-01-11  1:48     ` Ingo Molnar
2009-01-10  5:51   ` Paul Mackerras
2009-01-11  1:44 ` Ingo Molnar

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