From patchwork Mon Feb 26 03:58:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 206225 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1859631dyb; Sun, 25 Feb 2024 20:11:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUegFh1+ZAPCRxG68PSD14X7jK/SB5MV4MjX9UNXZRrTGJkY2aV75REYylCtueSg78aARFetzkfAcL1as+vSptB4WGLBQ== X-Google-Smtp-Source: AGHT+IFrUQVseILj+cfTWfQYSx+cQZ1OJEMvuFcxhsasvcWTzSzvSkGsCyf9h2iQfYRPr/dfqq69 X-Received: by 2002:a17:906:261b:b0:a42:f53b:5a49 with SMTP id h27-20020a170906261b00b00a42f53b5a49mr2961691ejc.19.1708920694306; Sun, 25 Feb 2024 20:11:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708920694; cv=pass; d=google.com; s=arc-20160816; b=ydmol+Ms3KdS9ht97OqoM88h8rb+VyoE+/AFwTSu3QWYUOXeDN5cjrpcGKV5Wrz7kf We3BczMY11uiWZdKTLQ3PL+/cvojbFX43lnZ4Pwks7+ps5+Y+itRCyPR/YVhtw6ZFxS8 l0VIOlCf3zqEWn9tIHosLLoMtjYvkPXw0FmSXPad+91QRhVXiL3JOaBzIJG3MMVE9s1Q W2kO/0uSd/RX3AOyiPa945aCSclXO5+R+ozPmVxTJuW+ylyYytcPYzrdwW7keDHt9GeF gKxE58WZSnKwXwOYnP9Sg7n97EKIRTnRhg3w7CHhR0ucFCg1SgQW4QqKqz8ov029NfJ5 ufvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=T/gHzmzGPjzECXlt1sQ2gBZeowps4sXQlR+rQ/2/Qsg=; fh=+uEoxECwu+GZPXA+yzsV/ZJCsf7WyFzcH+9RxOmv8OU=; b=XT4352FfsIFdG6s9stE3Nu6wWapbcQMYyEmpzN6gUXLE0a9FDGCkFXXAK3tMV6hD0j 8D2DAx0rZMgpAnPWLZe2sWmXOkdn8J3AnXbS/tap1fcEf2V8PDD1EmadC5dJ7ngXWE0i TXUZB2i92jEBVIGLq5XX81JSVM8MnY1Hqe8wUXwxh83rsRWC0aC7W6pMUXVNHZngNAQW L852yj852Py1nh0cdWVk35Go1pFf6XAgaB0sgdfzFsOYWLKNwNRH6QGM/VkIOeiLXT2v zIdyFn/JDOX5jrkOon4hB6knmSj89qkNsjf7Stp1egAwQGaBPjN4W87gH5+Ft7lEvKcY Tj/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gwAL/jtI"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80507-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80507-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t6-20020a17090616c600b00a3f28626128si1653160ejd.385.2024.02.25.20.11.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 20:11:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80507-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gwAL/jtI"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80507-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80507-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id A2EC21F25ACE for ; Mon, 26 Feb 2024 04:03:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 770B21C693; Mon, 26 Feb 2024 03:58:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gwAL/jtI" 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 D46CC1C298; Mon, 26 Feb 2024 03:58:37 +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=1708919917; cv=none; b=SfG2KP/mwaU0+jaggtJF5dBYCFCx1bXtQ2F58aqhWG4KJklyBoL1w/woLhiceq93UliJhrCy+Xd5bp7StdMZINpvhZfWpRhXTeGFJZmvKqOFxu5/r2QcEydS8X1lmfL+g9nxktzw4CN/u6yKHl+I4cJP+L2jvBRlbFUMgs2LLv0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708919917; c=relaxed/simple; bh=TGK9QlcDxLT9CnDYoo+UqUBylwx5xCUZ8XqKKirz2R4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=GAxjseAHfa0RpjEJiYy7zM0ktlklsQpNkvFpLN7570iRari+GujLbPY/bK6lFmBb1tniItjMuWsnre9VMNXXkoBPh6/kKUxOImLnEmw7xxN/3vO9+F6Vy27duRB0Ehs20KkGHsdIu26HCaFsOBxH+BWXLCZ9Y0Ky9DmyThEi9eQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gwAL/jtI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6C69C433F1; Mon, 26 Feb 2024 03:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708919917; bh=TGK9QlcDxLT9CnDYoo+UqUBylwx5xCUZ8XqKKirz2R4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gwAL/jtIEFR8smXK99bWFXInd5TvaXsFmefowiPMBIkMw3GJTrhVpK1X57kwj7WcW WvcpXAkibuNtn2MmXeL9FQQXoB6m2qj18vNy09VfvIc35DRUTi1NTkV1CMwkBa6ScQ /E2AQgDELeVHl4TNOoVTnb/VyP9VMIkA+wss3zRbAUwEgVHPefRit4vnlRXT0gCftN 2vahTkV6KL7CK0+5g6chtmJ9y28M1L9eSuBr1UYWOsN/elWgf8rJqTYdQqMy9b+VEK yrbrK1740l2LquznMVgJeBNwhKyi1ZeUKAtuehKClFn094TjbOVsTqKwbbgsRAxHFW NH4m8J9fRIIyg== From: "Masami Hiramatsu (Google)" To: Steven Rostedt , Jiri Olsa Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 4/7] tracing: Remove redundant #else block for BTF args from README Date: Mon, 26 Feb 2024 12:58:33 +0900 Message-Id: <170891991338.609861.6605068606690943019.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170891987362.609861.6767830614537418260.stgit@devnote2> References: <170891987362.609861.6767830614537418260.stgit@devnote2> User-Agent: StGit/0.19 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791933225925377416 X-GMAIL-MSGID: 1791933225925377416 From: Masami Hiramatsu (Google) Remove redundant #else block for BTF args from README message. This is a cleanup, so no change on the message. Signed-off-by: Masami Hiramatsu (Google) Reviewed-by: Steven Rostedt (Google) --- kernel/trace/trace.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 8198bfc54b58..516c585f5879 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -5747,11 +5747,9 @@ static const char readme_msg[] = "\t args: =fetcharg[:type]\n" "\t fetcharg: (%|$), @
, @[+|-],\n" #ifdef CONFIG_HAVE_FUNCTION_ARG_ACCESS_API -#ifdef CONFIG_PROBE_EVENTS_BTF_ARGS "\t $stack, $stack, $retval, $comm, $arg,\n" +#ifdef CONFIG_PROBE_EVENTS_BTF_ARGS "\t [->field[->field|.field...]],\n" -#else - "\t $stack, $stack, $retval, $comm, $arg,\n" #endif #else "\t $stack, $stack, $retval, $comm,\n"