| From: |
| Paul Mackerras <paulus@samba.org> |
| To: |
| linux-kernel@vger.kernel.org |
| Subject: |
| [PATCH 0/9] Performance counters for POWER |
| Date: |
| Fri, 9 Jan 2009 21:40:28 +1100 |
| Message-ID: |
| <18791.10652.298501.863657@cargo.ozlabs.ibm.com> |
| Cc: |
| Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de> |
| Archive-link: |
| Article, Thread
|
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/