From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: "Chinnathambi, Muthusamy" <muthusamy.chinnathambi@hp.com>
Cc: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Re: perf probe failed to find symbols -
Date: Tue, 16 Dec 2014 08:46:41 -0300 [thread overview]
Message-ID: <20141216114641.GR9845@kernel.org> (raw)
In-Reply-To: <050363D101EB63409B222217F4B02E781EC22E9F@G6W2492.americas.hpqcorp.net>
Em Tue, Dec 16, 2014 at 03:18:24AM +0000, Chinnathambi, Muthusamy escreveu:
> I wanted try perf probe, but I am getting the following failure.
> [root@force perf_tests]# ./perf probe --add sys_read
> Failed to find symbol sys_read in kernel
> Error: Failed to add events.
> [root@force perf_tests]#
> I had built and installed the kernel with kprobes enabled. Looks like
> the kernel is stripped, how should I build the kernel for perf to be
> able to find symbols.
In addition to what David said, you can try using -v to get more verbose
error messages that could provide you some extra clue about what is
happening, also please check the other perf probe options, like the one
that lists the available functions to probe (-F), etc.
- Arnaldo
prev parent reply other threads:[~2014-12-16 11:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-16 3:18 perf probe failed to find symbols - Chinnathambi, Muthusamy
2014-12-16 3:52 ` David Ahern
2014-12-16 11:46 ` Arnaldo Carvalho de Melo [this message]
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=20141216114641.GR9845@kernel.org \
--to=acme@kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=muthusamy.chinnathambi@hp.com \
/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).