Hi, The perfmon2 project has been stopped in 2008 and at the 2.6.30 kernel version.
Libpfm-4.3 is meant to be used with the official perf_event kernel interface which is similar to the perfmon2 interface. Consequently, the development of pfmon has stopped. You need to use the perf tool now. On Mon, May 20, 2013 at 9:40 PM, Zheng Da <zhengda1...@gmail.com> wrote: > Hello, > > I'm new to perform2. I want to use it to monitor Xeon E5 processors. It > seems only libpfm-4.3.0 supports it. However, pfmon-3.9 can't be compiled > with libpfm-4.3.0. > I have compiled and installed libpfm-4.3.0, but when I compiled pfmon-3.9, I > got the following error: > > make[1]: Entering directory `/home/zhengda/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/include/libelf -D_GNU_SOURCE -DPFMON_DEBUG -g -c pfmon.c > In file included from pfmon_support.h:28:0, > from pfmon.c:31: > pfmon.h:38:29: fatal error: perfmon/perfmon.h: No such file or directory > compilation terminated. > make[1]: *** [pfmon.o] Error 1 > make[1]: Leaving directory `/home/zhengda/pfmon-3.9/pfmon' > make: *** [all] Error 2 > > I can't find perfmon/perfmon.h anywhere. It's not in libpfm-4.3.0 or any > other Ubuntu packages. I use Ubuntu 12.04 by the way. > So what is the fix? > > Thanks, > Da > > ------------------------------------------------------------------------------ > AlienVault Unified Security Management (USM) platform delivers complete > security visibility with the essential security capabilities. Easily and > efficiently configure, manage, and operate all of your security controls > from a single console and one unified framework. Download a free trial. > http://p.sf.net/sfu/alienvault_d2d > _______________________________________________ > perfmon2-devel mailing list > perfmon2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel