Commit 4f36b935 authored by Yafang Shao's avatar Yafang Shao Committed by David S. Miller

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: 563e0bb0("net: tracepoint: replace tcp_set_state tracepoint with inet_sock_set_state tracepoint")
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarYafang Shao <laoar.shao@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 55b07a65
...@@ -160,8 +160,7 @@ TRACE_EVENT(inet_sock_set_state, ...@@ -160,8 +160,7 @@ TRACE_EVENT(inet_sock_set_state,
} }
), ),
TP_printk("protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4" TP_printk("protocol=%s sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s",
"saddrv6=%pI6c daddrv6=%pI6c oldstate=%s newstate=%s",
show_inet_protocol_name(__entry->protocol), show_inet_protocol_name(__entry->protocol),
__entry->sport, __entry->dport, __entry->sport, __entry->dport,
__entry->saddr, __entry->daddr, __entry->saddr, __entry->daddr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment