diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2023-01-21 23:53:05 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-01-24 15:00:34 -0700 |
commit | 5d18c23c763d4cc4f9abcf413457a7a12659a46f (patch) | |
tree | 9bd94204cdee40ad103cc675c8bca8029320aab5 /Documentation/trace | |
parent | 015b5162be05b95bd97c8c4afc37b11ac6466900 (diff) | |
download | lwn-5d18c23c763d4cc4f9abcf413457a7a12659a46f.tar.gz lwn-5d18c23c763d4cc4f9abcf413457a7a12659a46f.zip |
Documentation: kprobetrace: Split paragraphs
Add an empty line to force the output to split paragraphs like it is
splitin the REST source.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20230121225304.1711635-4-yoann.congal@smile.fr
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/trace')
-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 febfd3792854..fda155237be7 100644 --- a/Documentation/trace/kprobetrace.rst +++ b/Documentation/trace/kprobetrace.rst @@ -74,12 +74,14 @@ respectively. 'x' prefix implies it is unsigned. Traced arguments are shown in decimal ('s' and 'u') or hexadecimal ('x'). Without type casting, 'x32' or 'x64' is used depends on the architecture (e.g. x86-32 uses x32, and x86-64 uses x64). + These value types can be an array. To record array data, you can add '[N]' (where N is a fixed number, less than 64) to the base type. E.g. 'x16[4]' means an array of x16 (2-byte hex) with 4 elements. Note that the array can be applied to memory type fetchargs, you can not apply it to registers/stack-entries etc. (for example, '$stack1:x8[8]' is wrong, but '+8($stack):x8[8]' is OK.) + String type is a special type, which fetches a "null-terminated" string from kernel space. This means it will fail and store NULL if the string container has been paged out. "ustring" type is an alternative of string for user-space. |