stephane eranian wrote:
> Martin,
> 
> On Mon, May 25, 2009 at 6:16 PM, Martin Vogt <v...@itwm.fraunhofer.de> wrote:
>> Hello List,
>>
>> I have here a system with 32cores (shanghai)  and
>> installed vanilla 2.6.28.1
>> with the lates perfmon-2.6.28-1.diff and libpfm.
>> (from the sourceforge page)
>>
>> The amd system seems to load the perfmon module:
>>
>>> perfmon: found family=16 IBSCTL=0x101
>>> perfmon: NorthBridge socket-level event access control: enabled
>>> perfmon: IBS supported
>>> perfmon: AMD64 PMU installed
>> But when I'm in:
>>
>>> libpfm-3.8/examples/x86
>> I get:
>>> ./smpl_amd64_ibs ls
>>> Your kernel does not have performance monitoring support!
> 
> Typically you get this message if there is a mismatch between
> the libpfm perfmon syscall numbers and the kernel. Make sure
> that the examples are linked with the correct libpfm (the one the
> example belongs to). You may have one installed already.

I'm very sure that it uses the right libpfm:

cc -o smpl_amd64_ibs -O2 -g -Wall -Werror
-I/var/tmp/martin/rpm-devel/rpm/BUILD/libpfm-3.8/examples/x86/../../include
 smpl_amd64_ibs.o
/var/tmp/martin/rpm-devel/rpm/BUILD/libpfm-3.8/examples/x86/../../lib/libpfm.a
../detect_pmcs.o  -lm
v...@amd32[x86]>ll ../../lib/libpfm.*
-rw-r--r-- 1 vogt slg 1014882 2009-05-25 19:21 ../../lib/libpfm.a
lrwxrwxrwx 1 vogt slg      15 2009-05-25 19:22 ../../lib/libpfm.so ->
libpfm.so.3.8.0
lrwxrwxrwx 1 vogt slg      15 2009-05-25 19:22 ../../lib/libpfm.so.3 ->
libpfm.so.3.8.0
-rwxr-xr-x 1 vogt slg  833412 2009-05-25 19:22 ../../lib/libpfm.so.3.8.0

Martin


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to