On Tue, 31 Aug 2010, stephane eranian wrote: > I have pushed the change to drop pfmlib_getcpuinfo_attr(). > On ARM, you still have it. Check it out and let me know if > it works.
I get the following error, related to your adding the __NR_perf_event_open value to perf_event.h This is really weird, because the same type of declaration doesn't conflict at all on my x86_64 machine. I must be missing something... cc -O2 -g -Wall -Werror -I. -I/arm/vince/libpfm4.vmw/lib/../include -DCONFIG_PFMLIB_DEBUG -DCONFIG_PFMLIB_OS_LINUX -D_REENTRANT -I. -DCONFIG_PFMLIB_ARCH_ARM -I. -c pfmlib_common.c In file included from /arm/vince/libpfm4.vmw/lib/../include/perfmon/pfmlib_perf_event.h:26, from pfmlib_priv.h:29, from pfmlib_common.c:41: /arm/vince/libpfm4.vmw/lib/../include/perfmon/perf_event.h:451:1: error: "__NR_perf_event_open" redefined In file included from /usr/include/sys/syscall.h:25, from /arm/vince/libpfm4.vmw/lib/../include/perfmon/perf_event.h:433, from /arm/vince/libpfm4.vmw/lib/../include/perfmon/pfmlib_perf_event.h:26, from pfmlib_priv.h:29, from pfmlib_common.c:41: /usr/include/asm/unistd.h:393:1: error: this is the location of the previous definition make[1]: *** [pfmlib_common.o] Error 1 make[1]: Leaving directory `/arm/vince/libpfm4.vmw/lib' make: *** [all] Error 2 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel