aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2020-09-04 23:23:57 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-09-04 16:11:16 -0300
commit2ae05fe0a9dfe204a6c83bbe6bd1312b3bb3d301 (patch)
treeafe9638c7a1bbf0910c6c58ab8ee705d184d1da0 /tools/perf/scripts/python/export-to-sqlite.py
parentee7fe31e6e264d748bec5378c4d5417e14019666 (diff)
downloadlinux-2ae05fe0a9dfe204a6c83bbe6bd1312b3bb3d301.tar.gz
linux-2ae05fe0a9dfe204a6c83bbe6bd1312b3bb3d301.tar.bz2
linux-2ae05fe0a9dfe204a6c83bbe6bd1312b3bb3d301.zip
perf: ftrace: Add filter support for option -F/--funcs
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_writef ... Suggested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Changbin Du <changbin.du@gmail.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/20200904152357.6053-1-changbin.du@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions