Get pfmon and libpfm from CVS.

On Feb 13, 2010 3:12 PM, "J K Rai" <jk.anu...@yahoo.com> wrote:

Hi

I could install the perfmon2 along with linux-2.6.30 and libpfm-3.9 on xeon
x5550. But getting error while trying to compile pfmon-3.9.

compiling pfmon for x86_64 architecture
compiling pfmon as a shared binary
make[1]: Entering directory `/home/jk/XeonX5550/linuxsrc/pfmon-3.9/pfmon'
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_smpl.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_util.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_system.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_task.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_symbols.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_results.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_hash.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_smpl_dfl.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_os.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_os_v2x.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_util_x86.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_gen_ia32.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_amd64.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon_core.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_intel_atom.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_intel_nhm.c
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -DDATADIR=\"/usr/local/share/pfmon\" -I.
-I/usr/local/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c
pfmon_pentium4.c
make[2]: Entering directory
`/home/jk/XeonX5550/linuxsrc/pfmon-3.9/pfmon/smpl_mod'
cc  -g -ggdb -Wall -Werror -D_REENTRANT -I/usr/local/include
-DCONFIG_PFMON_X86_64 -DPFMON_DEBUG -I. -I.. -D_GNU_SOURCE -c
inst_hist_smpl.c
make[2]: Leaving directory
`/home/jk/XeonX5550/linuxsrc/pfmon-3.9/pfmon/smpl_mod'
make[1]: Leaving directory `/home/jk/XeonX5550/linuxsrc/pfmon-3.9/pfmon'
cc1: warnings being treated as errors
inst_hist_smpl.c: In function ‘inst_hist_process_sample_raw’:
inst_hist_smpl.c:61: error: ‘set’ may be used uninitialized in this function
inst_hist_smpl.c:61: error: ‘regs’ may be used uninitialized in this
function
make[2]: *** [inst_hist_smpl.o] Error 1
make[1]: *** [subdirs] Error 2
make: *** [all] Error 2


cat /proc/cpuinfo

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           X5550  @ 2.67GHz
stepping        : 5
cpu MHz         : 1596.000
cache size      : 8192 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology tsc_reliable
nonstop_tsc pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca
sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
bogomips        : 5332.70
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

Regards,
Jitendra


     Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!
http://downloads.yahoo.com/in/internetexplorer/
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to