summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorTony Lu <tonylu@linux.alibaba.com>2019-11-09 18:43:06 +0800
committerDavid S. Miller <davem@davemloft.net>2019-11-09 19:41:50 -0800
commitdd3d792def0d4f33bbf319982b1878b0c8aaca34 (patch)
tree346a306a80e42a2ba096da55500431c9557c2e34 /include/trace
parent5a508a254bed9a2e36a5fb96c9065532a6bf1e9c (diff)
downloadblackbird-op-linux-dd3d792def0d4f33bbf319982b1878b0c8aaca34.tar.gz
blackbird-op-linux-dd3d792def0d4f33bbf319982b1878b0c8aaca34.zip
tcp: remove redundant new line from tcp_event_sk_skb
This removes '\n' from trace event class tcp_event_sk_skb to avoid redundant new blank line and make output compact. Fixes: af4325ecc24f ("tcp: expose sk_state in tcp_retransmit_skb tracepoint") Reviewed-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Yafang Shao <laoar.shao@gmail.com> Signed-off-by: Tony Lu <tonylu@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/tcp.h b/include/trace/events/tcp.h
index 2bc9960a31aa..cf97f6339acb 100644
--- a/include/trace/events/tcp.h
+++ b/include/trace/events/tcp.h
@@ -86,7 +86,7 @@ DECLARE_EVENT_CLASS(tcp_event_sk_skb,
sk->sk_v6_rcv_saddr, sk->sk_v6_daddr);
),
- TP_printk("sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c state=%s\n",
+ TP_printk("sport=%hu dport=%hu saddr=%pI4 daddr=%pI4 saddrv6=%pI6c daddrv6=%pI6c state=%s",
__entry->sport, __entry->dport, __entry->saddr, __entry->daddr,
__entry->saddr_v6, __entry->daddr_v6,
show_tcp_state_name(__entry->state))
OpenPOWER on IntegriCloud