diff options
| author | Yafang Shao <laoar.shao@gmail.com> | 2017-12-24 10:10:39 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-12-27 17:03:44 -0500 |
| commit | 4f36b935ec83e592fd5e866f382c0133b3cffc60 (patch) | |
| tree | 7414a43d45eea6b7dc04881100fef3edb7c40c71 | |
| parent | 55b07a65e15bea6e253a907dacaf89b61fe504ca (diff) | |
net/trace: fix printk format in inet_sock_set_state
There's a space character missed in the printk messages.
Put the message into one line could simplify searching for
the messages in the kernel source.
Fixes: 563e0bb0dc74("net: tracepoint: replace tcp_set_state tracepoint with inet_sock_set_state tracepoint")
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/trace/events/sock.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/trace/events/sock.h b/include/trace/events/sock.h index 3b9094a07b80..3537c5f34d77 100644 --- a/include/trace/events/sock.h +++ b/include/trace/events/sock.h | |||
| @@ -160,8 +160,7 @@ TRACE_EVENT(inet_sock_set_state, | |||
| 160 | } | 160 | } |
| 161 | ), | 161 | ), |
| 162 | 162 | ||
| 163 | TP_printk("protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4" | 163 | TP_printk("protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s", |
| 164 | "saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s", | ||
| 165 | show_inet_protocol_name(__entry->protocol), | 164 | show_inet_protocol_name(__entry->protocol), |
| 166 | __entry->sport, __entry->dport, | 165 | __entry->sport, __entry->dport, |
| 167 | __entry->saddr, __entry->daddr, | 166 | __entry->saddr, __entry->daddr, |
