Hello,

I've downloaded and compiled libpfm4 from the git repository and when
I try to run any of the perf_examples directory programs, I get a not
supported message error.

For example, if I run the "self" program without any parameter, I get
"self: event PERF_COUNT_HW_CPU_CYCLES: not supported"

But if I run "showevtinfo -L PERF_COUNT_HW_CPU_CYCLES" in the examples
directory I get "perf::PERF_COUNT_HW_CPU_CYCLES".

On my tests, I observed that "pfmlib_find_os" is returning a NULL
pointer when called by
"pfm_get_os_event_encoding (str=0x8057bb6 "PERF_COUNT_HW_CPU_CYCLES",
dfl_plm=9, uos=PFM_OS_PERF_EVENT_EXT, args=0xbffff17c) at
pfmlib_common.c:1095"

I'm using Ubuntu 9.10 x86 on a Intel Core2 Duo CPU Model: T9400,
kernel 2.6.31-19.
I also tried on other computer "Intel Core i7 CPU Model: 860" with
Ubuntu 10.04 and I got the same message.

Searching on Web I couldn't find any useful information to solve my problem.

Does anyone know what I am doing wrong?

Thank you


-- 
Leonardo

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to