From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Masami Hiramatsu <mhiramat@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 10:14:39 -0300 [thread overview]
Message-ID: <20160715131439.GE3021@kernel.org> (raw)
In-Reply-To: <20160715161548.c60921b5fae817a19a1a7f80@kernel.org>
Em Fri, Jul 15, 2016 at 04:15:48PM +0900, Masami Hiramatsu escreveu:
> On Thu, 14 Jul 2016 21:16:41 -0300
> Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> > 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.
Yeah, that is the problem at hand, I figured there weren't functions
liek that, but the error message was tottally misleading :-)
> - 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.
Right,
- Arnaldo
next prev parent reply other threads:[~2016-07-15 13:14 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
2016-07-15 13:14 ` Arnaldo Carvalho de Melo [this message]
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=20160715131439.GE3021@kernel.org \
--to=acme@kernel.org \
--cc=daniel@bristot.me \
--cc=linux-kernel@vger.kernel.org \
--cc=mhiramat@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.