summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-10-21 16:42:41 +0200
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-10-23 13:31:14 -0400
commit545db7e21e64766e6b7cb987fbfd3e79419726ce (patch)
treec217808f145d86303e3ca83f0d5377641a5a1156 /Documentation
parent845e31e1101fc8533be52aff42d8f1ff48636024 (diff)
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 'Documentation')
0 files changed, 0 insertions, 0 deletions