]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing/probes: Make the $ prefix mandatory for comm access
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>
Wed, 24 Jun 2026 23:34:48 +0000 (08:34 +0900)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 30 Jun 2026 14:58:20 +0000 (23:58 +0900)
commita369299c3f785cf556bbef2de2db0aa2d294c4c9
tree9477c093e08622e75dd53ffabe948ae8db607aee
parent367c49d6e283c17b56a31e7a8d964a079244264c
tracing/probes: Make the $ prefix mandatory for comm access

Since $comm or $COMM are not event field but special fetcharg
variables to access current->comm, It should not be accessed
without '$' prefix even with typecast.

Link: https://lore.kernel.org/all/178231209724.732967.12049805699091810641.stgit@devnote2/
Fixes: 69efd863a785 ("tracing/eprobes: Allow use of BTF names to dereference pointers")
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
kernel/trace/trace_probe.c