LKML Archive on
help / color / mirror / Atom feed
From: William Cohen <>
Subject: Re: [perfmon] 2.6.20 new perfmon code base + libpfm + pfmon
Date: Tue, 13 Feb 2007 16:40:18 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Stephane Eranian wrote:
> Hello,
> I have released another version of the perfmon new code base package.
> This version of the kernel patch is relative to 2.6.20.
> This  new kernel patch includes the following new features and
> bug fixes:
> 	- first cut at supporting Oprofile on i386 and x86-64 architectures
> 	- several internal interfaces simplfications
> 	- various MIPS updates (Phil Mucci/Manoj Ekbote)
> 	- varous PPC32 updates (Phil Mucci)
> 	- fix bug in set switching with a single set
> 	- fix bug in pfm_restart() for per-thread mode with blocking notification
> Unfortunately, this release does not build for PowerPC due to a problem with the
> TIF_* flags. Perfmon adds 2 new flags which make the TIF now use more than 16 bits which
> causes problem with some assembly instructions in entry_64.S. Hopefully,
> this will be fixed in the next release.
> To make Oprofile work, you need a modified user level Oprofile package. I have made
> a first pass at modifying 0.9.2 to work on Perfmon 2.3 (and v2.0 for IA-64) for
> the following processors: AMD Opteron, P6, Core Duo, Core 2 Duo, P4. The modified
> package is available as Alpha at:

Hello Stephane,

The oprofile patch should be made against the oprofile cvs rather than the 0.9.2 
tarball. There are some files that the patch touches that are created by the

The oprofile patch doesn't build if things are configured without the 

gcc -W -Wall -fno-common -Wdeclaration-after-statement -fno-omit-frame-pointer 
-g -O2   -o oprofiled  init.o oprofiled.o opd_stats.o opd_sfile.o opd_kernel.o 
opd_trans.o opd_cookie.o opd_events.o opd_mangling.o opd_perfmon.o 
opd_perfmon_22.o opd_perfmon_compat.o opd_anon.o liblegacy/liblegacy.a 
../libabi/libabi.a ../libdb/libodb.a ../libop/libop.a ../libutil/libutil.a 
-lpopt -liberty -ldl
opd_perfmon.o: In function `perfmon_init':
undefined reference to `do_perfmon_init'
collect2: ld returned 1 exit status


  reply	other threads:[~2007-02-13 21:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 18:48 Stephane Eranian
2007-02-13 21:40 ` William Cohen [this message]
2007-02-14 17:05   ` [perfmon] " William Cohen
2007-02-14 23:03     ` Stephane Eranian
2007-02-13 22:05 ` Andrew Morton
2007-02-13 23:20   ` Andi Kleen
2007-02-15  9:00     ` Stephane Eranian
2007-02-14  1:24   ` Chuck Ebbert
2007-02-14 18:29   ` Stephane Eranian
2007-02-14 18:37     ` Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \
    --subject='Re: [perfmon] 2.6.20 new perfmon code base + libpfm + pfmon' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).