Error finding event LLC_REFERENCES in make test

Hi
I'm a newbie and just start to use PAPI 5.4.1. There are no errors during the make. But when I run the simple test(make test), a big error happens and the test aborted. The error message is as follows:
The information of my machine is:
CPU: Intel Core i7 4770R
Architecture: Haswell
OS: Debian wheezy (run in the Vmware as a virtual machine)
Linux kernel: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1 x86_64 GNU/Linux
gcc version 4.7.2 (Debian 4.7.2-5)
glibc: ldd (Debian EGLIBC 2.13-38+deb7u6) 2.13
perf version 3.2.17
Can anybody help me? Thank you so much!
I'm a newbie and just start to use PAPI 5.4.1. There are no errors during the make. But when I run the simple test(make test), a big error happens and the test aborted. The error message is as follows:
- Code: Select all
make[1]: Leaving directory `/root/tools/papi-5.4.1/src/ctests'
ctests/zero
PAPI Error: Error finding event LLC_REFERENCES, it is used in derived event PAPI_L2_DCM.
*** glibc detected *** ctests/zero: free(): invalid pointer: 0x000000000042fcbe ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76a16)[0x2b3771b52a16]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x2b3771b577bc]
ctests/zero[0x41333e]
ctests/zero[0x413b65]
ctests/zero[0x417f8c]
ctests/zero[0x415278]
ctests/zero[0x40aeb4]
ctests/zero[0x408a45]
ctests/zero[0x4023d3]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x2b3771afaead]
ctests/zero[0x4022b1]
======= Memory map: ========
00400000-00534000 r-xp 00000000 fe:00 661562 /root/tools/papi-5.4.1/src/ctests/zero
00734000-0074b000 rw-p 00134000 fe:00 661562 /root/tools/papi-5.4.1/src/ctests/zero
0074b000-04752000 rw-p 00000000 00:00 0
05608000-0562b000 rw-p 00000000 00:00 0 [heap]
2b37718ba000-2b37718da000 r-xp 00000000 fe:00 1308165 /lib/x86_64-linux-gnu/ld-2.13.so
2b37718da000-2b3771909000 rw-p 00000000 00:00 0
2b3771ad9000-2b3771ada000 r--p 0001f000 fe:00 1308165 /lib/x86_64-linux-gnu/ld-2.13.so
2b3771ada000-2b3771adb000 rw-p 00020000 fe:00 1308165 /lib/x86_64-linux-gnu/ld-2.13.so
2b3771adb000-2b3771adc000 rw-p 00000000 00:00 0
2b3771adc000-2b3771c5e000 r-xp 00000000 fe:00 1308168 /lib/x86_64-linux-gnu/libc-2.13.so
2b3771c5e000-2b3771e5e000 ---p 00182000 fe:00 1308168 /lib/x86_64-linux-gnu/libc-2.13.so
2b3771e5e000-2b3771e62000 r--p 00182000 fe:00 1308168 /lib/x86_64-linux-gnu/libc-2.13.so
2b3771e62000-2b3771e63000 rw-p 00186000 fe:00 1308168 /lib/x86_64-linux-gnu/libc-2.13.so
2b3771e63000-2b3771e6a000 rw-p 00000000 00:00 0
2b3771e82000-2b3771e97000 r-xp 00000000 fe:00 1308164 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b3771e97000-2b3772097000 ---p 00015000 fe:00 1308164 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b3772097000-2b3772098000 rw-p 00015000 fe:00 1308164 /lib/x86_64-linux-gnu/libgcc_s.so.1
2b3774000000-2b3774021000 rw-p 00000000 00:00 0
2b3774021000-2b3778000000 ---p 00000000 00:00 0
7ffff8e51000-7ffff8e72000 rw-p 00000000 00:00 0 [stack]
7ffff8f1a000-7ffff8f1b000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
make: *** [test] Aborted
The information of my machine is:
CPU: Intel Core i7 4770R
Architecture: Haswell
OS: Debian wheezy (run in the Vmware as a virtual machine)
Linux kernel: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1 x86_64 GNU/Linux
gcc version 4.7.2 (Debian 4.7.2-5)
glibc: ldd (Debian EGLIBC 2.13-38+deb7u6) 2.13
perf version 3.2.17
Can anybody help me? Thank you so much!