summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_syscalls.c
diff options
context:
space:
mode:
authorzhangwei(Jovi) <jovi.zhangwei@huawei.com>2013-07-15 16:32:44 +0800
committerSteven Rostedt <rostedt@goodmis.org>2013-07-18 21:30:36 -0400
commit146c3442f2dd0f50d9431aea5d0d10dfd97c9999 (patch)
tree7ec08bbf5659c854fe46c6c9cc920a31c2354214 /kernel/trace/trace_syscalls.c
parent991821c86c2fb6cc4104ce679247864dbc070a83 (diff)
downloadtalos-obmc-linux-146c3442f2dd0f50d9431aea5d0d10dfd97c9999.tar.gz
talos-obmc-linux-146c3442f2dd0f50d9431aea5d0d10dfd97c9999.zip
tracing: Use trace_seq_puts()/trace_seq_putc() where possible
For string without format specifiers, use trace_seq_puts() or trace_seq_putc(). Link: http://lkml.kernel.org/r/51E3B3AC.1000605@huawei.com Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@huawei.com> [ fixed a trace_seq_putc(s, " ") to trace_seq_putc(s, ' ') ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_syscalls.c')
-rw-r--r--kernel/trace/trace_syscalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c
index 322e16461072..061156215721 100644
--- a/kernel/trace/trace_syscalls.c
+++ b/kernel/trace/trace_syscalls.c
@@ -175,7 +175,7 @@ print_syscall_exit(struct trace_iterator *iter, int flags,
entry = syscall_nr_to_meta(syscall);
if (!entry) {
- trace_seq_printf(s, "\n");
+ trace_seq_putc(s, '\n');
return TRACE_TYPE_HANDLED;
}
OpenPOWER on IntegriCloud