* Interference between perf record and PAPI in sampling mode
@ 2013-10-30 10:43 Harald Servat
0 siblings, 0 replies; only message in thread
From: Harald Servat @ 2013-10-30 10:43 UTC (permalink / raw)
To: linux-perf-users
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-30 10:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 10:43 Interference between perf record and PAPI in sampling mode Harald Servat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).