diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2018-04-25 21:20:28 +0900 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-10-10 22:19:10 -0400 |
commit | 60c2e0cebfd01bd1bc5e8843f063264148d6b2bb (patch) | |
tree | 7083e4e121573121c54a3b4ce5e9c7823def09a0 /Documentation | |
parent | 9b960a38835fcaf977f20dcc34ce9e54ff9563bd (diff) | |
download | linux-stable-60c2e0cebfd01bd1bc5e8843f063264148d6b2bb.tar.gz linux-stable-60c2e0cebfd01bd1bc5e8843f063264148d6b2bb.tar.bz2 linux-stable-60c2e0cebfd01bd1bc5e8843f063264148d6b2bb.zip |
tracing: probeevent: Add symbol type
Add "symbol" type to probeevent, which is an alias of u32 or u64
(depends on BITS_PER_LONG). This shows the result value in
symbol+offset style. This type is only available with kprobe
events.
Link: http://lkml.kernel.org/r/152465882860.26224.14779072294412467338.stgit@devbox
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/trace/kprobetrace.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/trace/kprobetrace.rst b/Documentation/trace/kprobetrace.rst index 8bfc75c90806..6224ddf34508 100644 --- a/Documentation/trace/kprobetrace.rst +++ b/Documentation/trace/kprobetrace.rst @@ -72,6 +72,8 @@ offset, and container-size (usually 32). The syntax is:: b<bit-width>@<bit-offset>/<container-size> +Symbol type('symbol') is an alias of u32 or u64 type (depends on BITS_PER_LONG) +which shows given pointer in "symbol+offset" style. For $comm, the default type is "string"; any other type is invalid. |