[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45D23042.1020802@redhat.com>
Date: Tue, 13 Feb 2007 16:40:18 -0500
From: William Cohen <wcohen@...hat.com>
To: eranian@....hp.com
CC: perfmon@...ali.hpl.hp.com, perfctr-devel@...ts.sourceforge.net,
linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org,
oprofile-list@...ts.sourceforge.net
Subject: Re: [perfmon] 2.6.20 new perfmon code base + libpfm + pfmon
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists