Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1609782lqg; Sun, 3 Mar 2024 19:41:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUpJP+yqyAivjcU01J8wLqZiRW3DqdKX1654nqcdOzETPCWDVoGo0empymWNjcCw/nnKb1eeokV1i8Y6f0Ysw/xNDtPxf5ox4xNxN7NwA== X-Google-Smtp-Source: AGHT+IEi3AcrR2r9Na5WHWdpeAfgHpV4wOdVYwcKMyx30TK6Y05VaiPJu47yW4P1R8uL2vcjWdQc X-Received: by 2002:a05:622a:178c:b0:42e:f60a:ac8a with SMTP id s12-20020a05622a178c00b0042ef60aac8amr388847qtk.17.1709523683603; Sun, 03 Mar 2024 19:41:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709523683; cv=pass; d=google.com; s=arc-20160816; b=od6QPsFKwZCkAxvN6awIRgrpsEJWBNNNVqAT4pZIIESAf7wnQ0LsgtOi/MN3uPB7BO IjZ/HqlgD0F9pKKT3hrWI70g7faoeItkFLsEhXHhldKPfrRCjIimj7VROTmDZIguUwvu evxOYmTC26HxXmk0jT7L4IhfKQvf2dZMgUfASybcwxaaXXvU/vTZdjDWswkFUjVmLffu wLeEl4wRrMwZHcsmZ5PaAkvp1DGF1IDFHnGez/bmkY5mRqKfx5Sb3OuMq5RZVx/cy7+c Jb9Sauk+vYaU+k/vyE/yajzlWprIqHnhXXdZktrtUcg6aE/pQlffErdfyQyMCg1lxnDR rXtg== 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=dIB6L4xypx9KPlcjL2ZjNOu8Qz79/CagUbnq6KVyVRg=; fh=+uEoxECwu+GZPXA+yzsV/ZJCsf7WyFzcH+9RxOmv8OU=; b=g9yPJ1qkyvBrxeyJShVg7d8ckw/s3MLX9HSLRdpaDeDr5tVixoWD2zGVQY6cMirvye S+hI2T2fbJHvqQ3QPM64lrwTGu2yX0hCgM9Pwp+VIRrHV4Enu4AUJ945q0E9TK/5NS4R ccnqknVtguv+xEsmF1CzYsHH3aPU7qT9MYr//bJrqz/jFWUk9RYIG0O7+e0PY7M96RM2 j9iTFt/2c6w2pnuAN9QazED1HPpZZiHa0DE3EOi7VKpXjhS5q3VlUrK4xFtDPzmzpbQk 7TdWbAao1VBLPMP9LGtJF9RMzVF0afmFk3XKETiDkRgEQfKUh4Zb7kT25mtftvFwvAwI jl6A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nMfzHCFR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90023-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id dt32-20020a05620a47a000b007881d5db1casi3662543qkb.400.2024.03.03.19.41.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 19:41:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-90023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nMfzHCFR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-90023-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-90023-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3F3731C20920 for ; Mon, 4 Mar 2024 03:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2584579F2; Mon, 4 Mar 2024 03:40:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nMfzHCFR" 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 36D56613A; Mon, 4 Mar 2024 03:40:50 +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=1709523650; cv=none; b=Za2kRW6DBTnEey9Eq7TD/0PErCNUbczhuQAGLMpdkZCA8wr/o/BEdnP78WnBZvs49fe+AW4Dyopy3Pq3mxuE4e5/03+eGzTei2MGFo+DyVlxxcuggqNMC6PCkZHN4kCq8bX6uWk92zX+iDO7DL2cmyYdIS22fJChbfDs9e+29nY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709523650; c=relaxed/simple; bh=JOiQGf8AkuLDba6mZptSjrJ64jXNcst88pFN6BENs2Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=XnpiO+7Kl5ddfIf5cHE/uR40kLSaSNvTWC9f6TQHBZ5uoCkwPttDwq9AvHz3kgobB+vzEQAwFW3kh+sFhXMO0Gzvnatg7TX+J1rgaa+rpS2vf3z/ZyW4fyOk0JxJV9eVKrwmXw/jrfdwKTY52nfusb5ajeNUas9d6qfBQKztoeM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nMfzHCFR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 461ACC433F1; Mon, 4 Mar 2024 03:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709523650; bh=JOiQGf8AkuLDba6mZptSjrJ64jXNcst88pFN6BENs2Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nMfzHCFRn1m/iFXZjsu3f9uPO6ciPqAFm5qem2l0RoitTTr3fj31eKZRyOkdnRHgV IRvw1ocrf5bc/FrITz2gA4KQMIKPI/oIDoGbnbTyF/xKE1pw6Y7RTBUJb1wCn6m8IK fqnPdfQHWKg4bq+7W+vi0aIaOu2QU/HLsfTUoRKDAbUxNWPtIMMNyI/73Av/yJY8O5 39M/S/44JhZvRnqh4l17i3jLrmpu83mT3LqAJjhLiz24JVrIaeSg0oqziST8r1Son3 e6prsPegjgk2tu3h8rtrqp+8+6Kb+iWqqNe5QtBK6Lx345uRBx7QIwQKu2MGJ6WEvN 36s6eXaAMDQ0w== 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 v3 5/8] tracing: Remove redundant #else block for BTF args from README Date: Mon, 4 Mar 2024 12:40:45 +0900 Message-Id: <170952364558.229804.17285528811097152410.stgit@devnote2> X-Mailer: git-send-email 2.34.1 In-Reply-To: <170952359657.229804.14867636035660590574.stgit@devnote2> References: <170952359657.229804.14867636035660590574.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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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"