2008-02-25 17:00:52

by Stephane Eranian

[permalink] [raw]
Subject: 2.6.24 new perfmon kernel code base + libpfm + pfmon finally available!

Hello,

I have finally released the perfmon2 kernel patch for kernel v2.6.24. It
took longer than expected to due my job change and several technical issues
related to perfmon kernel bugs.

The perfmon version been changed to v2.8 due to some minor changes in the
interface. The major changes are:
- support for IBM Power4 and Power 6 (Kevin Corey)
- support for Sun Sparc Ultra12, Ultra3, 3i, 3+, 4+, Niagara,
Niagara2 (David S. Miller)
- support for Intel Penryn-class processors (model 23)
- support for MIPS R12000 (Vince Weaver)
- support for Pentium Pro (Vince Weaver)
- IBM Cell and Sony PS3 updates (Takashi Yamamoto)
- allow user-level RDPMC for self-monitoring sessions
- merged x86 code
- perfmon statistics now using debugfs
- set switch timeout now using hrtimer infrastructure
- spin lock macros to hide IBM lazy interrupt masking
- pfm_create_evtsets() fails if timeout is not multiple of clock resolution
- PFM_MSG_END no longer sent to non self-monitoring sessions

There is also a new release for libpfm, now at version 3.3. The
changes include:
- full event table for AMD Phenom (a.k.a. Barcelona) (Robert Richter)
- support for Sun Sparc Ultra12, Ultra3, 3i, 3+, 4+, Niagara,
Niagara2 (David S. Miller)
- support for Pentium II, Pentium Pro (Vince Weaver)
- support for Intel Penryn-class processor
- support for Pentium 4 event replay tag (Dan Terpstra)
- initial support for Sicortex ICAE9A/ICE9B processors (Phil Mucci)
- Cray X2 updates (Steve Kaufmann)
- allow numerical values for unit masks (Dan Terpstra)

Finally, a new major version of pfmon, now at pfmon-3.3. Among the many changes:
- support for Sun Sparc Ultra12, Ultra3, Ultra3i, Ultra3Plus,
Ultra4Plus, Niagara1, Niagara2 (David S. Miller)
- support Intel Pentium II, Intel Pentium Pro support (Vince Weaver)
- IBM Cell updates (Takashi Yamamoto)
- complete rewrite of the symbol table parsing and management (Andrzej Nowak)
- can now correlate symbols in shared libraries
- can now correlate symbols across dlopen()/dlclose() (Andrzej Nowak)
- can now correlate samples to programs in system-wide mode (Phil Mucci)
- MIPS updates (Phil Mucci)

Thanks to all the contributors and in particular to David S. Miller
for his exceptional work on adding support for Sun processors so quickly. I
also would like to thank Andrzej Nowak (CERN) for his work on improving pfmon.
This was a lot of hard work done in a short period of time.

As usual all files and more detailed change logs can be downloaded
from our website at:

http://perfmon.sourceforge.net

Enjoy,


2008-02-25 19:13:48

by Pekka Enberg

[permalink] [raw]
Subject: Re: 2.6.24 new perfmon kernel code base + libpfm + pfmon finally available!

Hi Stephane,

On Mon, Feb 25, 2008 at 7:00 PM, stephane eranian
<[email protected]> wrote:
> I have finally released the perfmon2 kernel patch for kernel v2.6.24. It
> took longer than expected to due my job change and several technical issues
> related to perfmon kernel bugs.

[snip]

> As usual all files and more detailed change logs can be downloaded
> from our website at:
>
> http://perfmon.sourceforge.net

Why not post the patches on LKML for review?

2008-02-25 23:01:15

by Stephane Eranian

[permalink] [raw]
Subject: Re: 2.6.24 new perfmon kernel code base + libpfm + pfmon finally available!

Pekka,

On Mon, Feb 25, 2008 at 8:13 PM, Pekka Enberg <[email protected]> wrote:
> Hi Stephane,
>
>
> On Mon, Feb 25, 2008 at 7:00 PM, stephane eranian
> <[email protected]> wrote:
> > I have finally released the perfmon2 kernel patch for kernel v2.6.24. It
> > took longer than expected to due my job change and several technical issues
> > related to perfmon kernel bugs.
>
> [snip]
>
>
> > As usual all files and more detailed change logs can be downloaded
> > from our website at:
> >
> > http://perfmon.sourceforge.net
>
> Why not post the patches on LKML for review?
>
I have done that in the past. I will do this again. But if you look at
the patch as it is released, you will
see that it is very large. Not that easy to split for LKML review.
With now with GIT that may be easier.
I intend to start posting small bits and pieces from now on.

2008-02-26 08:29:41

by Ingo Molnar

[permalink] [raw]
Subject: Re: 2.6.24 new perfmon kernel code base + libpfm + pfmon finally available!


* stephane eranian <[email protected]> wrote:

> I have done that in the past. I will do this again. But if you look at
> the patch as it is released, you will see that it is very large. Not
> that easy to split for LKML review.

If you want a feature merged upstream it is in your basic interest to
keep it in a tidy, cleanly split up series of patches, with no
development history in the patches - and frequently post those patches
to lkml. (it also makes sense tocount the number of times you've posted
them and make that visible in the postings: so the first series should
be titled "perform2, v1", the second one "perfmon2, v2" - that way when
people see "perform2, v25" they'll get a rough picture of the maturity
of the patchset)

Ingo