Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp3727375ybx; Sat, 9 Nov 2019 02:45:41 -0800 (PST) X-Google-Smtp-Source: APXvYqxJ8NSOKbclrRppMecPYx5uV2T6M5osAQQsAxRmaKHTHSzanehQBHspUHG1KJlFqwtP2cQ+ X-Received: by 2002:a50:950a:: with SMTP id u10mr15744202eda.68.1573296341341; Sat, 09 Nov 2019 02:45:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573296341; cv=none; d=google.com; s=arc-20160816; b=UXsLOHzHSo4y469M/nGXrT7n1ohEQEBjgpFyE0wMvYE5qK5XMFqF+yFeYk0JhxxBmK PFkTBQUJ+qsreCCvnRvj/qFbjBUS4Bd1JT/oEkUpuOS6bLpVXHk7U6MNXtbfMrCxDIxq 6QDg7BEDmidwYFSbxzR/0CZJIeOBj4N2m/FOdbk3npOXZ7Ha1i49m800EXHMOfW+mjHw 2ogQcGMIrkBYg/2SXl+IH+w1mIq9FQeJWuwgiF8D6iC1yw5dSN5mBtt3Y1WLgbd/lNFw fbTqAlm2OqiZFSmAoF4uE77mL0SjsjsUSq3XuxO7fmGRCyshIQ0BwSxPnaFtgwVv3Ypb GuZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ylipYBvDDZALp+dr961QbcXrzYyjkq2DFpvm+0uUpTs=; b=Ur5byoeydMxZokFpeBZhn/FZ9yerFTiRM2s3PqO9lxbjnpAjZItBjRF9EtHn5tfsZQ 8m6vBXpRK+UHT7uuWJze7CQSceFp4khxh8KxCqelnuCXPII5XmEDy1SkZDJ2q9artIpD DdbQVcave49MXd9P/ZYmmTwRFCSg+DQ4m52psiLHlmYXS0jNMCyz+bPVJ1misMDIHOy8 Kog+QVYkHzaJWQInSA2j0FhWIJ/rYQwOZOx+HYMbP4VlZxS0n82m8BJ5vTVyOkzSOtLL 0Hj8NuR9eB/vCWLeyJv7no2bVnHMooG/uX+vHr/oyArGM32AVk8o8LAYLzPlqq/Iwzq2 efNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id me16si3904470ejb.158.2019.11.09.02.45.17; Sat, 09 Nov 2019 02:45:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726320AbfKIKoq (ORCPT + 99 others); Sat, 9 Nov 2019 05:44:46 -0500 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:54347 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726143AbfKIKoq (ORCPT ); Sat, 9 Nov 2019 05:44:46 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R351e4;CH=green;DM=||false|;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07487;MF=tonylu@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0ThZOX0i_1573296282; Received: from localhost(mailfrom:tonylu@linux.alibaba.com fp:SMTPD_---0ThZOX0i_1573296282) by smtp.aliyun-inc.com(127.0.0.1); Sat, 09 Nov 2019 18:44:42 +0800 From: Tony Lu To: edumazet@google.com, rostedt@goodmis.org, mingo@redhat.com Cc: laoar.shao@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] tcp: remove redundant new line from tcp_event_sk_skb Date: Sat, 9 Nov 2019 18:43:06 +0800 Message-Id: <20191109104305.92898-1-tonylu@linux.alibaba.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Yafang Shao Signed-off-by: Tony Lu --- v1->v2: - append Fixes tag --- include/trace/events/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.24.0