]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6aa2f1f0c567c888ba0669c7ac3d8330002dcf52
tree29d15a6e4aaa48c20be659597d582a16134c11a4
parent8b7f19271f1d6de58633ce6a0082f55c7e7394b1
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