diff options
author | 2023-10-21 16:42:41 +0200 | |
---|---|---|
committer | 2023-10-23 13:31:14 -0400 | |
commit | 545db7e21e64766e6b7cb987fbfd3e79419726ce (patch) | |
tree | c217808f145d86303e3ca83f0d5377641a5a1156 /scripts/gdb/linux/tasks.py | |
parent | seq_buf: fix a misleading comment (diff) | |
download | wireguard-linux-545db7e21e64766e6b7cb987fbfd3e79419726ce.tar.xz wireguard-linux-545db7e21e64766e6b7cb987fbfd3e79419726ce.zip |
tracing/histograms: Simplify last_cmd_set()
Turn a kzalloc()+strcpy()+strncat() into an equivalent and less verbose
kasprintf().
Link: https://lore.kernel.org/linux-trace-kernel/30b6fb04dadc10a03cc1ad08f5d8a93ef623a167.1697899346.git.christophe.jaillet@wanadoo.fr
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Mukesh ojha <quic_mojha@quicinc.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions