summaryrefslogtreecommitdiff
path: root/include/sound/aci.h
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2022-08-20 16:43:19 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-08-21 22:56:08 +0300
commitf04dec93466a0481763f3b56cdadf8076e28bfbf (patch)
treecc9f9a7f0016773cf8659dc10c104c48e7da93b3 /include/sound/aci.h
parent02333de90e5945e2fe7fc75b15b4eb9aee187f0a (diff)
downloadlinux-f04dec93466a0481763f3b56cdadf8076e28bfbf.tar.xz
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/20220820134400.959640191@goodmis.org Cc: stable@vger.kernel.org Cc: Ingo Molnar <mingo@kernel.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Tzvetomir Stoyanov <tz.stoyanov@gmail.com> Cc: Tom Zanussi <zanussi@kernel.org> Fixes: 7491e2c44278 ("tracing: Add a probe that attaches to trace events") Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include/sound/aci.h')
0 files changed, 0 insertions, 0 deletions