Re: [PATCH perf/core v4 2/4] perf probe: Accept filter argument for --funcs

From: Arnaldo Carvalho de Melo
Date: Tue May 05 2015 - 13:31:38 EST


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]#

8-)

- Arnaldo
--
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/