diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-08-20 09:43:19 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-08-21 15:56:08 -0400 |
commit | f04dec93466a0481763f3b56cdadf8076e28bfbf (patch) | |
tree | cc9f9a7f0016773cf8659dc10c104c48e7da93b3 /scripts/gdb/linux | |
parent | 02333de90e5945e2fe7fc75b15b4eb9aee187f0a (diff) |
tracing/eprobes: Fix reading of string fields
Currently when an event probe (eprobe) hooks to a string field, it does
not display it as a string, but instead as a number. This makes the field
rather useless. Handle the different kinds of strings, dynamic, static,
relational/dynamic etc.
Now when a string field is used, the ":string" type can be used to display
it:
echo "e:sw sched/sched_switch comm=$next_comm:string" > dynamic_events
Link: https://lkml.kernel.org/r/[email protected]
Cc: [email protected]
Cc: Ingo Molnar <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Tzvetomir Stoyanov <[email protected]>
Cc: Tom Zanussi <[email protected]>
Fixes: 7491e2c44278 ("tracing: Add a probe that attaches to trace events")
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions