tracing: Change "char *" string form to "char []"
authorliqiong <liqiong@nfschina.com>
Thu, 12 May 2022 14:32:30 +0000 (22:32 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Fri, 27 May 2022 01:13:00 +0000 (21:13 -0400)
commit2d601b98643dd2846e2958d931826e7b7af44969
tree29d15a6e4aaa48c20be659597d582a16134c11a4
parent9c556e5a4dd5cfc0939a0575577d0517118f98af
tracing: Change "char *" string form to "char []"

The "char []" string form declares a single variable. It is better
than "char *" which creates two variables in the final assembly.

Link: https://lkml.kernel.org/r/20220512143230.28796-1-liqiong@nfschina.com
Signed-off-by: liqiong <liqiong@nfschina.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace_events_hist.c