Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp981596pxb; Wed, 3 Mar 2021 23:24:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJytqoIZjEUCXlZeX2bQNSsxjuXRqmaQjtP5AGsORGCF95e8X/DOlMACreqDXsZpOFoWDRTS X-Received: by 2002:a17:906:600f:: with SMTP id o15mr2863998ejj.76.1614842653834; Wed, 03 Mar 2021 23:24:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614842653; cv=none; d=google.com; s=arc-20160816; b=pWpgIQLnqyf9i9yP0NwlP1NGy++sh+/6esITx9Xfr2ZIkbHezxCatViJUH0UerWGYh WtUkilkkg9c9ce6MQMO/A1vHFeWoQHtHZel7OjhbH+p6kNk7PwVw9JAcb8YoFRVrTaeW Ol+EvQxp7SDqK4wur40IPzHD0uiyEtLTm2KmnQvJjq9NLvu6i4mRgSxSHDti3j4rIROG 2uPGS/+1lNM+OMkwjxCOnNX69UxLPfMGae16lhBJDjIZWqSWBC3OnJnqHTmmv/0QqiK2 8pI1m7YLovQMdUD15p0kku8rjzYGGk4la1JfSu5H3QE4dwzurSeOAOhmyGLRptKZ6fXc 89yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=1SWYFiVZQnNCGodQtgymW+LlcdItCfDKKek5XmUKD18=; b=O0SYr29ZJxy1VuA0Kw8yvm/cBW/2fS5viEdKWQ7r5A9Ac2E25mkaw9P7gfwlXMBBcd Ok7ZKqgq7XDtnfT/lAUK6FgI0+XUOTQFbKUEMymZn/c9ov0Y2BCWIm/rRvu1qHAvjsnZ EBEJuiCLBwH9PVAhe14SwIUNP+qMO5rcd4YN21BxqguqDnD76nvDe+hOj9WcrYSNa/wA qApgARnzUqbAhb0RFxlMQqQl9eMetFiUHUmqRUmADDHXFJ3wgLS+d2VzUTqKXLl0lRvK ccBUYqHwh3XVqTGxeUSAQxnRZNm0G8Rp9zEZz4JhAjeHCryIhVTDwh/0Iv4uFUQOVou3 X3kw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si17189330ejc.616.2021.03.03.23.23.51; Wed, 03 Mar 2021 23:24:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1838150AbhCBXFZ (ORCPT + 99 others); Tue, 2 Mar 2021 18:05:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:43272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2360748AbhCBW00 (ORCPT ); Tue, 2 Mar 2021 17:26:26 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D234A64F1D; Tue, 2 Mar 2021 22:25:43 +0000 (UTC) Date: Tue, 2 Mar 2021 17:25:42 -0500 From: Steven Rostedt To: Arseny Krasnov Cc: Stefan Hajnoczi , Stefano Garzarella , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Ingo Molnar , Jorgen Hansen , Norbert Slusarek , Andra Paraschiv , Colin Ian King , , , , , , Subject: Re: [RFC PATCH v5 19/19] virtio/vsock: update trace event for SEQPACKET Message-ID: <20210302172542.605b3795@gandalf.local.home> In-Reply-To: <20210218054219.1069224-1-arseny.krasnov@kaspersky.com> References: <20210218053347.1066159-1-arseny.krasnov@kaspersky.com> <20210218054219.1069224-1-arseny.krasnov@kaspersky.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 18 Feb 2021 08:42:15 +0300 Arseny Krasnov wrote: Not sure if this was pulled in yet, but I do have a small issue with this patch. > @@ -69,14 +82,19 @@ TRACE_EVENT(virtio_transport_alloc_pkt, > __entry->type = type; > __entry->op = op; > __entry->flags = flags; > + __entry->msg_len = msg_len; > + __entry->msg_cnt = msg_cnt; > ), > - TP_printk("%u:%u -> %u:%u len=%u type=%s op=%s flags=%#x", > + TP_printk("%u:%u -> %u:%u len=%u type=%s op=%s flags=%#x " > + "msg_len=%u msg_cnt=%u", It's considered poor formatting to split strings like the above. This is one of the exceptions for the 80 character limit. Do not break strings just to keep it within 80 characters. -- Steve > __entry->src_cid, __entry->src_port, > __entry->dst_cid, __entry->dst_port, > __entry->len, > show_type(__entry->type), > show_op(__entry->op), > - __entry->flags) > + __entry->flags, > + __entry->msg_len, > + __entry->msg_cnt) > );