Re: [PATCH perf/core v4 2/4] perf probe: Accept filter argument for --funcs
From: Arnaldo Carvalho de Melo
Date: Tue May 05 2015 - 12:19:39 EST
Em Wed, May 06, 2015 at 12:10:28AM +0900, Masami Hiramatsu escreveu:
> On 2015/05/05 23:31, Arnaldo Carvalho de Melo wrote:
> > Em Tue, May 05, 2015 at 11:29:50AM +0900, Masami Hiramatsu escreveu:
> >> This allows user to pass the filter pattern directly to
> >> --funcs option as below.
> >> ----
> >> # ./perf probe -F *kmalloc
> >> __kmalloc
> >> devm_kmalloc
> >> mempool_kmalloc
> >> sg_kmalloc
> >> sock_kmalloc
> >> ----
> >
> > Tested, works well, so I went to try and use it in another option:
> >
> > [root@ssdandy acme]# perf probe kmalloc*
> > Probe point 'kmalloc*' not found.
> > Error: Failed to add events.
> > [root@ssdandy acme]#
>
> Well, I'm already preparing it ;)
>
> BTW, what patches have you applied? Can I update 4/4 or would I
> better make another bugfix?
perf/core, that has 4/4 removed, waiting for that respin you mentioned,
i.e. --add should be the default when no commands informed.
> Thank you,
>
> >
> > 8-)
> >
> > - Arnaldo
> >
>
>
> --
> Masami HIRAMATSU
> Linux Technology Research Center, System Productivity Research Dept.
> Center for Technology Innovation - Systems Engineering
> Hitachi, Ltd., Research & Development Group
> E-mail: masami.hiramatsu.pt@xxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/