Re: [RESEND PATCH] perf: ftrace: Add filter support for option -F/--funcs

2020-09-05 Thread Changbin Du
On Fri, Sep 04, 2020 at 03:59:59PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 04, 2020 at 01:27:16PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Sep 04, 2020 at 11:23:57PM +0800, Changbin Du escreveu: > > > Same as 'perf probe -F', this patch adds filter support for the ftrace >

Re: [RESEND PATCH] perf: ftrace: Add filter support for option -F/--funcs

2020-09-04 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 04, 2020 at 01:27:16PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Sep 04, 2020 at 11:23:57PM +0800, Changbin Du escreveu: > > Same as 'perf probe -F', this patch adds filter support for the ftrace > > subcommand option '-F, --funcs <[FILTER]>'. > > > > Here is an example that

Re: [RESEND PATCH] perf: ftrace: Add filter support for option -F/--funcs

2020-09-04 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 04, 2020 at 11:23:57PM +0800, Changbin Du escreveu: > Same as 'perf probe -F', this patch adds filter support for the ftrace > subcommand option '-F, --funcs <[FILTER]>'. > > Here is an example that only lists functions which start with 'vfs_': > $ sudo perf ftrace -F vfs_* > vfs_fadvi

[RESEND PATCH] perf: ftrace: Add filter support for option -F/--funcs

2020-09-04 Thread Changbin Du
Same as 'perf probe -F', this patch adds filter support for the ftrace subcommand option '-F, --funcs <[FILTER]>'. Here is an example that only lists functions which start with 'vfs_': $ sudo perf ftrace -F vfs_* vfs_fadvise vfs_fallocate vfs_truncate vfs_open vfs_setpos vfs_llseek vfs_readf vfs_w

[PATCH] perf: ftrace: Add filter support for option -F/--funcs

2020-08-22 Thread Changbin Du
Same as 'perf probe -F', this patch adds filter support for the ftrace subcommand option '-F, --funcs <[FILTER]>'. Here is an example that only lists functions which start with 'vfs_': $ sudo perf ftrace -F vfs_* vfs_fadvise vfs_fallocate vfs_truncate vfs_open vfs_setpos vfs_llseek vfs_readf vfs_w