From: Harald Servat <harald.servat@bsc.es>
To: linux-perf-users@vger.kernel.org
Subject: Interference between perf record and PAPI in sampling mode
Date: Wed, 30 Oct 2013 11:43:47 +0100 [thread overview]
Message-ID: <5270E2E3.2050201@bsc.es> (raw)
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
reply other threads:[~2013-10-30 10:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5270E2E3.2050201@bsc.es \
--to=harald.servat@bsc.es \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).