Dear all,
I'd like to run some experiments using perf record command while
running some other experiments with PAPI library [1] in sampling mode. I
found that in kernel 3.11.0, if I sample an application using
PAPI_overflow on a hardware counter (PAPI_TOT_INS, for instance), then
the following command I execute through perf mem record raises the
following error.
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument)
for event (cpu/mem-loads/pp).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
It seems evident that there's an interference between the two. Can
anyone enlighten me on how to debug this a bit just to hunt for this bug
(if it's a bug, and not a feature)?
Thank you very much!
[1] http://icl.cs.utk.edu/papi/
--
WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.
http://www.bsc.es/disclaimer
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html