mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 15:43:08 -04:00
fgraph: Use trace_seq_putc() in print_graph_return()
A single closing curly bracket should be put into a trace sequence buffer. Thus use the corresponding function “trace_seq_putc”. The source code was transformed by using the Coccinelle software. Link: https://patch.msgid.link/d215fa89-9a62-4067-86ec-833290f35c80@web.de Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
committed by
Steven Rostedt
parent
0ac2611f10
commit
73301fb81a
@@ -1349,7 +1349,7 @@ print_graph_return(struct ftrace_graph_ret_entry *retentry, struct trace_seq *s,
|
||||
* that if the funcgraph-tail option is enabled.
|
||||
*/
|
||||
if (func_match && !(flags & TRACE_GRAPH_PRINT_TAIL))
|
||||
trace_seq_puts(s, "}");
|
||||
trace_seq_putc(s, '}');
|
||||
else
|
||||
trace_seq_printf(s, "} /* %ps */", (void *)func);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user