diff options
| author | Vincent Donnefort <vdonnefort@google.com> | 2026-08-07 09:54:23 +0100 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-08-22 10:41:58 -0400 |
| commit | a9a01be2834a529cbd490ccbab02643f0c1735f2 (patch) | |
| tree | 8d8818df8c75da91aae473ad9a50f3a801bb068d /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | cb8a75eec0877810b50aa1c5a833f929525cd2ee (diff) | |
tracing: Fix logged instance name on creation failure
When boot instance creation fails, the kernel incorrectly logs "(null)"
as the instance name because strsep() consumes curr_str entirely during
parsing.
Print the properly parsed name variable instead. And while at it log
the error code.
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260807085423.4175161-1-vdonnefort@google.com
Fixes: cb1f98c5e574 ("tracing: Add creation of instances at boot command line")
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
