From: Masami Hiramatsu <mhiramat@kernel.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Daniel Bristot de Oliveira <daniel@bristot.me>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: perf probe -F with wildcards
Date: Fri, 15 Jul 2016 16:15:48 +0900 [thread overview]
Message-ID: <20160715161548.c60921b5fae817a19a1a7f80@kernel.org> (raw)
In-Reply-To: <20160715001641.GD3021@kernel.org>
Hi Arnaldo,
On Thu, 14 Jul 2016 21:16:41 -0300
Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> Hi Masami,
>
> I think this worked at some point?
>
> [root@jouet acme]# perf probe -F | tail
> zswap_frontswap_init
> zswap_frontswap_invalidate_area
> zswap_frontswap_invalidate_page
> zswap_frontswap_load
> zswap_frontswap_store
> zswap_pool_create
> zswap_pool_current
> zswap_update_total_size
> zswap_writeback_entry
> zswap_zpool_param_set
> [root@jouet acme]# perf probe -F rt_sp*
> no symbols found in [kernel.kallsyms], maybe install a debug package?
> Failed to load symbols in kernel
It seems that 2 problems we have,
- There is no function which starts with rt_sp.
- The error message is not good for that.
If you try perf probe -F acpi_*, you'll see a list of functions.
> [root@jouet acme]# perf probe -F rt_sp\*
> no symbols found in [kernel.kallsyms], maybe install a debug package?
> Failed to load symbols in kernel
So, yeah, it should check symbol loading is really failed and should be
changed as "no symbols match to given filter" etc.
Thank you,
> [root@jouet acme]#
>
>
> I.e. the second message is misleading :-\
>
> - Arnaldo
>
--
Masami Hiramatsu <mhiramat@kernel.org>
next prev parent reply other threads:[~2016-07-15 7:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 0:16 perf probe -F with wildcards Arnaldo Carvalho de Melo
2016-07-15 7:15 ` Masami Hiramatsu [this message]
2016-07-15 13:14 ` Arnaldo Carvalho de Melo
2016-07-18 16:12 ` [PATCH] [BUGFIX] perf-probe: Warn unmatched function filter correctly Masami Hiramatsu
2016-07-19 6:54 ` [tip:perf/core] perf probe: " tip-bot for Masami Hiramatsu
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=20160715161548.c60921b5fae817a19a1a7f80@kernel.org \
--to=mhiramat@kernel.org \
--cc=acme@kernel.org \
--cc=daniel@bristot.me \
--cc=linux-kernel@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).