yes, this was reported back in November.  See:

http://sourceforge.net/mailarchive/forum.php?thread_name=20081105130429.N79913%40stanley.csl.cornell.edu&forum_name=perfmon2-devel

There's a patch in that thread.

Vince

On Wed, 14 Jan 2009, Dan Terpstra wrote:

> We're trying to patch a dual core Opteron with perfmon and coming up with an
> undefined label: __NR_ia32_pfm_create_context.
>
>
>
> Has anyone else seen this? What are we missing?
>
> - dan terpstra
>
>
>
> Here's the details:
>
>
>
> INFO:
>
> Kernel 2.6.27 initial release
>
> Perfmon2 dated 10-13-08
>
> OS: Centos 5.2 - x86_64
>
> CPU: AMD Opteron - 2 x Dual core
>
> Mem: 4 GB
>
>
>
> UNIX /usr/src # cat /proc/cpuinfo
>
> processor : 0
>
> vendor_id : AuthenticAMD
>
> cpu family : 15
>
> model : 33
>
> model name : Dual Core AMD Opteron(tm) Processor 265
>
> stepping : 2
>
> cpu MHz : 1800.016
>
> cache size : 1024 KB
>
> physical id : 0
>
> siblings : 2
>
> core id : 0
>
> cpu cores : 2
>
> fpu : yes
>
> fpu_exception : yes
>
> cpuid level : 1
>
> wp : yes
>
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat
> pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext
> 3dnow pni lahf_lm cmp_legacy
>
> bogomips : 3601.12
>
> TLB size : 1024 4K pages
>
> clflush size : 64
>
> cache_alignment
>
> : 64
>
> address sizes : 40 bits physical, 48 bits virtual
>
> power management: ts fid vid ttp
>
>
>
> UNIX /usr/src/linux # make
>
>  CHK     include/linux/version.h
>
>  CHK     include/linux/utsrelease.h
>
>  CALL    scripts/checksyscalls.sh
>
>  CHK     include/linux/compile.h
>
>  CC      arch/x86/kernel/process_64.o
>
> In file included from include/linux/perfmon_kern.h:375,
>
>                 from arch/x86/kernel/process_64.c:39:
>
> include/asm/perfmon_kern.h: In function 'pfm_arch_get_base_syscall':
>
> include/asm/perfmon_kern.h:533: error: '__NR_ia32_pfm_create_context'
> undeclared (first use in this function)
>
> include/asm/perfmon_kern.h:533: error: (Each undeclared identifier is
> reported only once
>
> include/asm/perfmon_kern.h:533: error: for each function it appears in.)
>
> make[1]: *** [arch/x86/kernel/process_64.o] Error 1
>
> make: *** [arch/x86/kernel] Error 2
>
>
>
>
>
>

-- 
/*  Vince Weaver  vi...@csl.cornell.edu  http://csl.cornell.edu/~vince  */

main(){char O,o[66]="|\n\\/_  ",*I=o+7,l[]="B!FhhBHCWE9C?cJFKET$+h'Iq*chT"
,i=0,_;while(_=l[i++])for(O=0;O++<_>>5;)*I=*(I++-(_&31));*I=0;puts(o+5);}

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to