Hello,

On Wed, Jun 21, 2006 at 07:24:47AM -0700, Stephane Eranian wrote:
> 
> I have released another version of the perfmon new code base package.
> This version of the kernel patch is relative to 2.6.17.1.
> 
> The patch includes:
>       - support for 32-bit mode AMD64 processors (Chuck Ebbert)
>       - mini-argument buffers on stack optimization for read/write of PMU 
> registers
>       - fix user group permission checking which were ignored
>       - fix a missing irqsave in perfmon_kapi.c
> 
> For the stack buffers there are per-arch constants that can be adjusted based
> on stack size limitations. Look for PFM_ARCH_PM*_ARG.
> 
> I have also release a new libpfm, libpfm-3.2-060621, which includes:
> 
>       - support for 32-bit mode AMD64 processors
>       - fix an opcode matching/range restriction limitation for Itanium2 PMC13
>         and Montecito PMC41 registers.
> 
> This version of the library works with 2.6.17-rc6 and 2.6.17.1
> 
> Also a new version of pfmon, pfmon-3.2-060621, to take advantage of the 
> update in libpfm:
> 
>       - support for 32-bit mode AMD64 processors
>       - updated event name parsing to prepare for separate
>         event unit mask management (Kevin Corry)
>       - fix the detection of unavailable PMC registers. it was causing crashes
>         when used with sampling.
> 
> Note that I have tested 32-bit compiled libpfm,pfmon running on an 64-bit AMD
> perfmon kernel. I have not tested on a 32-bit AMD linux kernel because I don't
> have such setup. I would appreciate any feedback on this.
> 
> You can grab the new packages at our web site:
> 
>        http://perfmon2.sf.net
> 
> PS: I will post an incremental kernel patch and a diffstat on the perfmon 
> mailing list.

Here is the corresponding diffstat:

 arch/i386/kernel/syscall_table.S     |   22 +++++------
 arch/i386/perfmon/Kconfig            |   26 ++++++++-----
 arch/i386/perfmon/Makefile           |    3 +
 arch/i386/perfmon/perfmon_gen_ia32.c |    5 +-
 arch/i386/perfmon/perfmon_p4.c       |    4 +-
 arch/ia64/perfmon/perfmon_compat.c   |   32 +++++++++++++---
 arch/mips/kernel/head.S              |    4 +-
 arch/x86_64/perfmon/Kconfig          |    2 -
 include/asm-i386/perfmon.h           |    8 ++++
 include/asm-i386/unistd.h            |    2 -
 include/asm-ia64/perfmon.h           |    3 +
 include/asm-mips/perfmon.h           |    3 +
 include/linux/perfmon.h              |   18 ++++++++-
 perfmon/perfmon.c                    |    6 +--
 perfmon/perfmon_kapi.c               |    4 +-
 perfmon/perfmon_pmu.c                |    2 -
 perfmon/perfmon_syscalls.c           |   67 ++++++++++++++++++++++-------------
 perfmon/perfmon_sysfs.c              |   14 +++++++
 18 files changed, 157 insertions(+), 68 deletions(-)

And the incremental patch against 2.6.17-rc6 (perfmon related files only) is 
attached.

Hope this helps (Phil!).

-- 
-Stephane

Attachment: perfmon-new-base-2.6.17.1-incremental.diff.gz
Description: GNU Zip compressed data

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to