Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp34860lqe; Fri, 5 Apr 2024 11:41:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYep8Q1I+wbEFDc/zswIa7nHwsYcjcxnF7emyiwSxIF+y3J5BxDGrVOWHqktNlhiSjGdErcuAdy5qfNv9WlSZrKFJegUCm5nL2m56Qeg== X-Google-Smtp-Source: AGHT+IEJSUKeub2mgR3C+poSbarmmB3pvWYL+OrnpCGsrRTnPlvQUp19zyx4NO88Hu7EGCMlKg4d X-Received: by 2002:a05:6358:16d5:b0:17f:1e56:5ca6 with SMTP id r21-20020a05635816d500b0017f1e565ca6mr2799088rwl.12.1712342469318; Fri, 05 Apr 2024 11:41:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712342469; cv=pass; d=google.com; s=arc-20160816; b=HonQaR/rKmddeMc+2LxKON3HzSf5MFlMbt4BRtmk0da73LILbARlnUORjpFFcuHZBj FhNEJtYG5d6k0XtKUjlV3BKcvDmMssSA7+QmqMSfLfcU+5GFXQyKd0FAWJ0zfTAym5bu Ni49Sjw31zydq+wLz1bOdpk91vR14LK4g6ZmDq+YBtmLP78CvRsyP0pGPljPfhLaSTyj 6B/c/9+6WXhmFLCEfPUTgbnOwoJyoOaR4FCam1F3JFqS158vkMsHsP2m917Z26Gc7fwG WhuGWgx2MDAs0uP8EaUPp3nIr5S/4fDMiyJ2mz1byc5EmA8oY1pjf7ClKURC+7qIkiBB M6PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=8GjenMWlCk5pFVvAiucySiftFJkFMCrOgr2hD7PHIRY=; fh=NquNkNBxqcXfLYnkXBAd1Fx+1O0uKjX0J1IIxQSRoic=; b=rgW87w14uCA6/ZxHodl4MswXzEFgIl9ddqbJTpaP1NLHd2NkyLZsZnHY+7kmbwfT07 tdb3L++0Gwl+HLkvp0pYad6euORrIQjz/v9OHZSSCi2OHdE2+VPmdaG7CczVt4GoXRTf aSa0r/o6bBgrAlVTN88rbyb4zNw09tZNOZLNs9C1ZK59i5GHUC5tK7qa+RKmoGmrfeOz oYHmvfDgRONXltIQpqGpdZ7N5SejLeIB61jqUBe+INzlkmLGMdsow9tTFoZAqqTwTA94 v4bni+BRRGMdBlHUEJzcik6CvbPScFvvaW84BU6P654X09URPhV8oTkkJ3zH14Zge0xU viYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pb4Uix5Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-2680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 38-20020a631066000000b005d7bf204e22si1730453pgq.859.2024.04.05.11.41.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 11:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-2680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pb4Uix5Y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-2680-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-2680-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EF19E284ADE for ; Fri, 5 Apr 2024 18:41:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A54917279A; Fri, 5 Apr 2024 18:41:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pb4Uix5Y" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 420E7172797; Fri, 5 Apr 2024 18:41:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712342462; cv=none; b=YEJOFJMlJ31GK6ex9NwAynR/HexvBh41OG83m4o1v/eXjMknIHcHrM8M2l1rryV+7flELEh4SoiGhYBVBIpJqwO0vRpap9kbdrGUPxsaGqDE/pXZQIlw2JTxx61hIfWT+KUnkb33HvN+vHn/Mn2L0Sc4Wq5xayfgMeEl9o1SeWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712342462; c=relaxed/simple; bh=HF5bdhmfNax8fSTda8C+ZW8NUjHRSdiQ478T8ES3kGo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uDUuPS3WjvENvWaR/XaqgXfrFuvcfRIdt2hYa5xz3WIT5bjyQYxNmvrXk+1onx58aDFP/D2z9JaSPnx4Cdfz705Ahx9utB/KVUTP4NQMj3opIIHlZu6kt6O2hPFo32+aqYx3ibkB9MgUHHz/qeu8tuVe2MtchLSmr7q1XyCwoY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pb4Uix5Y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E270C433C7; Fri, 5 Apr 2024 18:41:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712342461; bh=HF5bdhmfNax8fSTda8C+ZW8NUjHRSdiQ478T8ES3kGo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=pb4Uix5Y5Zg55BEe3Mw+PcKtJOYs7lfOlp7CKr9KNTnDdh/yvpZXMNB2rj7Q6YBIu H7oDRGEfBiKjoIb2KJjanBUUE+DqXro9C+5rHaOAa1uOiejEiCBd2VlonFPMBh0rbY zpNp6tPvomHZ5zBQX1uPO0ipi32OUf1X+EiwQhKrSiHaAr/pFHkXXi9mDtlQ9e0qiX tLBy4Mse9b4joKZn2NBI0H89yCW0JCbBjERepEfaO2ZE221TaIdI10+WK8kF5xveiO CNnm/QD8Sww6/e9xpHjlxq5HVxP2mW7jM7dBhQNVAcxxTDE3/DvoEWzApaPFr/Pr+c dAdS1ZabTmuvQ== From: Jeff Layton Date: Fri, 05 Apr 2024 14:40:49 -0400 Subject: [PATCH 1/3] nfsd: drop extraneous newline from nfsd tracepoints Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240405-nfsd-fixes-v1-1-e017bfe9a783@kernel.org> References: <20240405-nfsd-fixes-v1-0-e017bfe9a783@kernel.org> In-Reply-To: <20240405-nfsd-fixes-v1-0-e017bfe9a783@kernel.org> To: Chuck Lever , Neil Brown , Olga Kornievskaia , Dai Ngo , Tom Talpey Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Layton X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1351; i=jlayton@kernel.org; h=from:subject:message-id; bh=HF5bdhmfNax8fSTda8C+ZW8NUjHRSdiQ478T8ES3kGo=; b=owEBbQKS/ZANAwAIAQAOaEEZVoIVAcsmYgBmEEW7Leu3f4qXrkadpej2z8m7xpWp8OFoetsdY qYaPwuu+YyJAjMEAAEIAB0WIQRLwNeyRHGyoYTq9dMADmhBGVaCFQUCZhBFuwAKCRAADmhBGVaC FaRXD/4yfcIphXyP9uyfMr5iMUh6n5GUSqwMP4uOB7GYGDxK8eoGVqzY8kTFhi/mL4QuogG4lRN TD1YvlTFVL6grj/bYfUNsL6+4sMSr9vAD/qsnXBgaCaCq86qr4KSpqPeH+61vDBZU647dRCOQ4G LkejjX2BeE9SxhP4q9MNYkR9lBTIB2DQJ6coalsK2gg4EWCXOeVJK7+S7yvr65C+iY9Ckhxc/U8 PiLrPDwmT46DL0CmVD8kX+20bwLRITQzKsa05lnVwaBkiJxua5VLrzjmeF4hIZBtNuMNM2dZdR3 ZFWfDLtTlEjfn7tiktPANfgQiQGLj2AoK5yL3KYLwgLhGHZHsRVAmRtkXTXAhPf6sp+FWpJb1cK /LybaHRpG5JBcyGajmXu/yrdcvKLkx7Mw2JoZ5oEpAsSCxI0dp+d7gA2N3sdFRAbjOhngnUP99c ja6mZ/FFQAlbwGdAMDR04xhzAzahOOcpgLZiR73ewELQ/TdcW+QPyX2R2PLTbPlMMUpVIt0ZEQE 0ufe0cULL+hHOzIQ7PPB4f7/JLlF8FHfebb5M8Bgw6FmL3zsHlwHdu70PajiSRbj4VVudTmoZDJ BctKPM48Ba59ELkiLJ90kpVldLHQqOUUxqPjCKbMLWVCURfNY/h4wKoKDPaJp7IACya6ce1v0Dz zEfyMOA9nbC+QZw== X-Developer-Key: i=jlayton@kernel.org; a=openpgp; fpr=4BC0D7B24471B2A184EAF5D3000E684119568215 We never want a newline in tracepoint output. Signed-off-by: Jeff Layton --- fs/nfsd/trace.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/nfsd/trace.h b/fs/nfsd/trace.h index e545e92c4408..7f1a6d568bdb 100644 --- a/fs/nfsd/trace.h +++ b/fs/nfsd/trace.h @@ -1534,7 +1534,7 @@ TRACE_EVENT(nfsd_cb_seq_status, __entry->seq_status = cb->cb_seq_status; ), TP_printk(SUNRPC_TRACE_TASK_SPECIFIER - " sessionid=%08x:%08x:%08x:%08x tk_status=%d seq_status=%d\n", + " sessionid=%08x:%08x:%08x:%08x tk_status=%d seq_status=%d", __entry->task_id, __entry->client_id, __entry->cl_boot, __entry->cl_id, __entry->seqno, __entry->reserved, @@ -1573,7 +1573,7 @@ TRACE_EVENT(nfsd_cb_free_slot, __entry->slot_seqno = session->se_cb_seq_nr; ), TP_printk(SUNRPC_TRACE_TASK_SPECIFIER - " sessionid=%08x:%08x:%08x:%08x new slot seqno=%u\n", + " sessionid=%08x:%08x:%08x:%08x new slot seqno=%u", __entry->task_id, __entry->client_id, __entry->cl_boot, __entry->cl_id, __entry->seqno, __entry->reserved, @@ -1978,7 +1978,7 @@ TRACE_EVENT(nfsd_ctl_time, __entry->time = time; __assign_str_len(name, name, namelen); ), - TP_printk("file=%s time=%d\n", + TP_printk("file=%s time=%d", __get_str(name), __entry->time ) ); -- 2.44.0