Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2463395ybx; Fri, 8 Nov 2019 04:46:52 -0800 (PST) X-Google-Smtp-Source: APXvYqwwGx2fG4zZhLqbOpvbfomDLtyBwUO7S7zESkJj6RV7omYifn0c5yWDdIcIMVhO1K3cz4wS X-Received: by 2002:a17:906:2d49:: with SMTP id e9mr8405800eji.240.1573217212247; Fri, 08 Nov 2019 04:46:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573217212; cv=none; d=google.com; s=arc-20160816; b=CWmhFkVL5raQN4DYZ2jxngOraASGlfDtuEZpcXNHva2SDnUHSjQNHFRASc0719oDBg 1Q0Ip3v1CUM3a9sFQKEbvWp7fDwn4d3MZPsJ7V1RbtFAgMXj/1jIz504ZKh7MTm3Q1dI kvNWdMxwYgDUlJGn3btb7LkDwoKvUQnHPzQE7yVmMa9rQWjwztBb7Xe8CRXBPAlippis m9ANEa9vOivo6FaAqh4RSv7DlP2kLhDjNQUjZKfu3jjbra+Cues7Nr/7QP9N4/wL9Eco 05JP4QZAso/CUtq3hgCTxnRIfY/fs2+nApL1RheNRnVccHCMWkAUBKzr9NEwqHqJRi55 QJrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=u8obCCtRiabqcHSXwbzDRpusLvtXClX2dy2Z3AWgWUw=; b=ycgtaTEaFrHOAqc1Jb/8gPv5YKO5d/9TRbg/kg+Vkbw/mf+r+u9ofzFhs8WcrwrSHS n6x0qOTGg+5RH7pwV3YY9wGxFkiMfiQNxEZd92BHqFum5ch0G+liv6rGGd/kgj6rf8td nPUzS72OtREdrBEhW9XOf+Zz2oePH9rDUCS/LHylP3B7tEfvzFquVutJHvGXrKSal2y7 lCtgWa5JUcaQThj3QoUK54aIXH2wa48FCtAyyP4PbRjJnBfX1ARi5dC2kRCtRbsXs8QJ o/+dm3GhdAijw/8orxTqng2I/0DMpf6RQAYvvmw1KR8MVWpoZZXEIa794JaB0KgcnZg3 cw6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tsRLdRka; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o19si1109008ejj.307.2019.11.08.04.46.26; Fri, 08 Nov 2019 04:46:52 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tsRLdRka; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726670AbfKHMnm (ORCPT + 99 others); Fri, 8 Nov 2019 07:43:42 -0500 Received: from mail-il1-f194.google.com ([209.85.166.194]:45826 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbfKHMnm (ORCPT ); Fri, 8 Nov 2019 07:43:42 -0500 Received: by mail-il1-f194.google.com with SMTP id o18so4991744ils.12; Fri, 08 Nov 2019 04:43:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u8obCCtRiabqcHSXwbzDRpusLvtXClX2dy2Z3AWgWUw=; b=tsRLdRka6uE9+Zi4R9xgupIKKeIHBhlzkzzQ2lhv9h33iUzD6p5LVRK722wQrQJmZA 8d5ZftrTrbcd371boA41kTRHcOKSk5u0LL28usLarIBcUXlLyxUnLhU7tAZPC4s2MB1c 25pOcussRxUmI4+oI75E5IvMtha1hJCR+piZ/fwewgNAG8MvoOY9F83+w6pxzfd8gNI9 M57zwvIAuHsO9+qa+/AnyPzFQ0fD4CVtuCWKyw4THyz114kRLRaUf+dPhox9wuMFstg7 rixXbNnrKekZaJvNtn/vEwEFr5Q3FUWR05pCDL70j4rOkgadXfPMdbU81ZZAGNh/lnaE X47A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u8obCCtRiabqcHSXwbzDRpusLvtXClX2dy2Z3AWgWUw=; b=t9GGE9W3NklRpKLLWgkjSy1NvfdoA0SoEuO7+iajKJRn1Gih8X22N6F4RoxN0baVpC ug266DY3UaKYSM+b39Rl4FWO5VMWcVuqWzKT05GuJtLU2Xx4OXCgmKfiFFMUA3PtKVzk C8pqluY+h6wQQABuG+MZzpMm8+J4P3KX5HRRnCXfHALt4BakkQJ0EvXD3DudRWrsGWBn zEcACW7qNxLwW2Hcz8CaeWeZ0m9NomYO4YyFUy2wTLvpKVXapg1J0hGITwU/NoNpJB3R qXywmQrjEyXIgeX6RBbjYWDkqKHFsyzh98cvAaMmhM5E8OEoTIERXnNvc6mL8l9/F3e6 kEyw== X-Gm-Message-State: APjAAAVrfMWssuIA5pI6VIUUDrN9YY12ipM/tFMa8bHEgoMvSYuCLzqS cmtDNqsC7PuyQTf28/1pRSMcSP3XszuDMEK3WhI= X-Received: by 2002:a92:5850:: with SMTP id m77mr12615200ilb.203.1573217020972; Fri, 08 Nov 2019 04:43:40 -0800 (PST) MIME-Version: 1.0 References: <20191108095007.26187-1-tonylu@linux.alibaba.com> In-Reply-To: <20191108095007.26187-1-tonylu@linux.alibaba.com> From: Yafang Shao Date: Fri, 8 Nov 2019 20:43:04 +0800 Message-ID: Subject: Re: [PATCH] tcp: remove redundant new line from tcp_event_sk_skb To: Tony Lu Cc: Eric Dumazet , Steven Rostedt , mingo@redhat.com, netdev , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 8, 2019 at 6:12 PM Tony Lu wrote: > > This removes '\n' from trace event class tcp_event_sk_skb to avoid > redundant new blank line and make output compact. > > Signed-off-by: Tony Lu Thanks for pointing this out. Reviewed-by: Yafang Shao > --- > 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 >