diff options
author | Dmitry Safonov <0x7f454c46@gmail.com> | 2015-09-29 19:46:16 +0300 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-10-21 03:04:14 +0300 |
commit | b86d9371be2fcb6ebf47e6c15d23d0ec1586664a (patch) | |
tree | b1f22fffd406652f8e967c6d74f31036329a3b9f | |
parent | 0b507e1ed1b7364def464cfb348ea7c9e87e6e18 (diff) | |
download | linux-b86d9371be2fcb6ebf47e6c15d23d0ec1586664a.tar.xz |
Documentation: ftrace: Module globbing usage
Link: http://lkml.kernel.org/r/1443545176-3215-5-git-send-email-0x7f454c46@gmail.com
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | Documentation/trace/ftrace.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt index ef621d34ba5b..db18362c14f3 100644 --- a/Documentation/trace/ftrace.txt +++ b/Documentation/trace/ftrace.txt @@ -2437,6 +2437,23 @@ The following commands are supported: echo '!writeback*:mod:ext3' >> set_ftrace_filter + Mod command supports module globbing. Disable tracing for all + functions except a specific module: + + echo '!*:mod:!ext3' >> set_ftrace_filter + + Disable tracing for all modules, but still trace kernel: + + echo '!*:mod:*' >> set_ftrace_filter + + Enable filter only for kernel: + + echo '*write*:mod:!*' >> set_ftrace_filter + + Enable filter for module globbing: + + echo '*write*:mod:*snd*' >> set_ftrace_filter + - traceon/traceoff These commands turn tracing on and off when the specified functions are hit. The parameter determines how many times the |