Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444313

Re: perf probe -F with wildcards

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: perf probe -F with wildcards
Date 2016-07-15 15:20 +0200
Message-ID <rVbc6-7mF-17@gated-at.bofh.it> (permalink)
References <rUZ1f-8d1-1@gated-at.bofh.it> <rV5zH-3Xq-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

perf probe -F with wildcards Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-15 02:20 +0200
  Re: perf probe -F with wildcards Masami Hiramatsu <mhiramat@kernel.org> - 2016-07-15 09:20 +0200
    Re: perf probe -F with wildcards Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-15 15:20 +0200
      [PATCH] [BUGFIX] perf-probe: Warn unmatched function filter correctly Masami Hiramatsu <mhiramat@kernel.org> - 2016-07-18 18:20 +0200
        [tip:perf/core] perf probe: Warn unmatched function filter  correctly tip-bot for Masami Hiramatsu <tipbot@zytor.com> - 2016-07-19 09:00 +0200

csiph-web