LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: William Cohen <wcohen@redhat.com>
To: eranian@hpl.hp.com
Cc: perfmon@napali.hpl.hp.com, perfctr-devel@lists.sourceforge.net,
	linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org,
	oprofile-list@lists.sourceforge.net
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: <45D23042.1020802@redhat.com> (raw)
In-Reply-To: <20070213184839.GC10031@frankl.hpl.hp.com>

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:
> 
> 	ftp://ftp.hpl.hp.com/pub/linux-ia64/oprof-perfmon2-070122.diff

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 
autogen.sh.

The oprofile patch doesn't build if things are configured without the 
"--enable-perfmon2".

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':
/home/wcohen/research/profiling/oprofile/oprofile-0.9.2-perfmon2/daemon/opd_perfmon.c:384: 
undefined reference to `do_perfmon_init'
collect2: ld returned 1 exit status

-Will

  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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=45D23042.1020802@redhat.com \
    --to=wcohen@redhat.com \
    --cc=eranian@hpl.hp.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oprofile-list@lists.sourceforge.net \
    --cc=perfctr-devel@lists.sourceforge.net \
    --cc=perfmon@napali.hpl.hp.com \
    --subject='Re: [perfmon] 2.6.20 new perfmon code base + libpfm + pfmon' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).