Skip to contentSkip to conversation

2.6.17-rc6 perfmon2 patch for review: introduction

PATCH In review Stephane Eranian 1 participant 1 message Jun 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/16 2.6.17-rc6 perfmon2 patch for review: introduction

Hello,

The following series of patches includes the generic perfmon2 subsystem and the support for i386, x86_64, and powerpc. The perfmon2 subsystem also works on MIPS and all Itanium processors. The Itanium support is not posted because it does not easily accomodate the 100k message limit of lkml. The powerpc support is still very preliminary.

The patches are relative to 2.6.17-rc6.

I have already posted on the list about this subsystem. I am submitting today to get reviews and make progress towards getting the subsystem merged into the mainline kernel.

The patches are split up between common and arch-specific. Each part is further decomposed into new files and modified files. The generic code is now split up by functionality to make reading easier.

This patch includes (compared to previous patch for 2.6.17-rc5):
- moved all set/multiplexing related code into a dedicated file, name perfmon_sets.c.

- cleaned a lot of code (for style, dead code)

- switch all lists to use list.h

- fix locking bugs in perfmon_syscalls.c

- simplified PMU description tables with macros to improve readability and extensibility

- updated Kconfig structure as per Roman's feedback

- changed the pfarg_setinfo structure to include 2 new bitfields to report list of available PMU registers

Thanks.