I am trying to collect cache performance statistics using PAPI. The processor is Intel Core i7 and the operating system is Linux 2.6.31 Ubunty 9.10 with perfctr 2.6.x installed.
When I tried "make test" I got the following error message:
... (42 lines of "PAPI error: pfmlib not initialized)
PAPI Error: 42 of 42 events in papi_events.csv were not valid.
Line # 34
Error in PAPI_library_init: PAPI_ESBSTR
When I run the perfex -i, it prints:
driver_version 2.6.40 DEBUG
cpu_type 3 (?)
cpu_features 0x7 (rdpmc,rdtsc,pcint)
cpus [0,1,2,3,4,5,6,7], total: 8
cpus_forbidden , total: 0
Am I missing any step to get the PAPI work? I am new to PAPI, and I really appreciate any suggestions you could give me.