diff options
author | Changbin Du <[email protected]> | 2020-09-04 23:23:57 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-09-04 16:11:16 -0300 |
commit | 2ae05fe0a9dfe204a6c83bbe6bd1312b3bb3d301 (patch) | |
tree | afe9638c7a1bbf0910c6c58ab8ee705d184d1da0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ee7fe31e6e264d748bec5378c4d5417e14019666 (diff) |
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 <[email protected]>
Signed-off-by: Changbin Du <[email protected]>
Tested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions