Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235391
| From | Dmitry Safonov <0x7f454c46@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 5/5] Documentation: ftrace: module globbing usage |
| Date | 2015-09-29 18:50 +0200 |
| Message-ID | <qe6gi-3Gy-25@gated-at.bofh.it> (permalink) |
| References | <qe6gh-3Gy-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
---
Documentation/trace/ftrace.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index ef621d3..db18362 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
--
2.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/5] ftrace: remove redundant strsep in mod_callback Dmitry Safonov <0x7f454c46@gmail.com> - 2015-09-29 18:50 +0200
[PATCH 3/5] ftrace: introduce ftrace_glob structure Dmitry Safonov <0x7f454c46@gmail.com> - 2015-09-29 18:50 +0200
[PATCH 5/5] Documentation: ftrace: module globbing usage Dmitry Safonov <0x7f454c46@gmail.com> - 2015-09-29 18:50 +0200
[PATCH 2/5] ftrace: clarify code for mod command Dmitry Safonov <0x7f454c46@gmail.com> - 2015-09-29 18:50 +0200
[PATCH 4/5] ftrace: add module globbing Dmitry Safonov <0x7f454c46@gmail.com> - 2015-09-29 18:50 +0200
Re: [PATCH 1/5] ftrace: remove redundant strsep in mod_callback Steven Rostedt <rostedt@goodmis.org> - 2015-09-29 21:20 +0200
Re: [PATCH 1/5] ftrace: remove redundant strsep in mod_callback Дмитрий Сафонов <0x7f454c46@gmail.com> - 2015-10-05 17:20 +0200
csiph-web