tracing: Cleanup saved_cmdlines_size changes
authorNamhyung Kim <namhyung@kernel.org>
Tue, 10 Jun 2014 07:11:35 +0000 (16:11 +0900)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 10 Jun 2014 13:51:10 +0000 (09:51 -0400)
commita6af8fbf17989e41fef5cacf3988a724fb687d78
tree0bd323ac9d8e3c80477a6245fbda708184768fbb
parent8b8b36834d0fff67fc8668093f4312dd04dcf21d
tracing: Cleanup saved_cmdlines_size changes

The recent addition of saved_cmdlines_size file had some remaining
(minor - mostly coding style) issues.  Fix them by passing pointer
name to sizeof() and using scnprintf().

Link: http://lkml.kernel.org/p/1402384295-23680-1-git-send-email-namhyung@kernel.org
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Yoshihiro YUNOMAE <yoshihiro.yunomae.ez@hitachi.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c