Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1388712lqg; Sun, 3 Mar 2024 07:48:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX8/APuKPYvfnk1T+g+kDfyKqt92VdnmKKDkCjvISaKqrKPf4CGRPi9x4piKpkhB41LtnTUnbrw53WsaIRusAQy0n5n7ualVDRy2TxEqw== X-Google-Smtp-Source: AGHT+IHcem3iBDDBiNajRnXNAe/oBu7gVcLis+kPyvWtpGF9fDGiofiKm33CxFPuCdlJzyW+IzGQ X-Received: by 2002:ac8:7d01:0:b0:42e:b8e9:720c with SMTP id g1-20020ac87d01000000b0042eb8e9720cmr10064438qtb.6.1709480916618; Sun, 03 Mar 2024 07:48:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709480916; cv=pass; d=google.com; s=arc-20160816; b=S04AmkuatNI9xmoUXoL7rCGKoc9wFRGnyvDhKQhJIxgCPOaSWtrG5pIiFRN51vqQiH oK/cZ08KOB8ArwQe68fbt5zdtEVK+rDVrAo0ld6gQP0vyVoWZOdnHudfS7r7jCGqSHMy m7xpC1AQGgB8JlH2+ZjfHJ9iYhh9zkgrPPis+z5KdBvFwgFV83rHLwiuP2Cy0MRbov/6 CJa8F3tXPF3JxQUXP0uggb/l9GJjTR2sx0N2PrvL8MklWTjilY3Du2oPhVLOWgTIkzs6 cYp0GDYTPv9KZcFHrj7j6Y62QslKMDGgF5ex6GnOzvVeUikNsORdHVZjRzvXAlCPoABN pGWQ== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=u9i9Y4TSc7pLes9ci7Q5LWnwUBS7O3nUglHpdtcEoQ4=; fh=0KvImaMy4dkSN0+RNUbxXAYJBxc6Nc+gaoXTNcZtsAg=; b=xtpD2XrUTqzm4VFXYfCRZoIzEe4b7xg88iNsomF6+6zj0zwl1ZL9/XRc1j05FMa13g icIrzOQgHDemiPW945nuNl91FJXKNo2haUnks1q9old+Wdr1+btbWCIBTLqyiQGBV5zs RcgE4S0oSQWlDgqTzH1UMqeR/YSEmJBBllsNVvKMHBmx/x3xgu3SE+zWVQMPnlXM4Hib EobsTCnhCcHyICvdktzyNknO9mPPhLeMUMcgN/mcM0I8E5qedzqh4qFizjpNHx0HsijJ vMMxqBFNlWyGEV2fJ547KlbB1OqAr5BPiFp4eB3SMGb9V1DiN5xplqWFwCNayjXJXRZf Z/fA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QlgxNmwD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89809-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d17-20020a05622a15d100b0042ebea5e7f9si2917242qty.125.2024.03.03.07.48.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 07:48:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QlgxNmwD; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89809-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89809-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 530E71C21D4F for ; Sun, 3 Mar 2024 15:48:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EC9667C63; Sun, 3 Mar 2024 15:48:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QlgxNmwD" 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 67AD05A0E6; Sun, 3 Mar 2024 15:48:27 +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=1709480907; cv=none; b=hOAnwTvFfRjyIWDmvorp7NHlPY4EaVWqR0/FKjD/aDQvTeN45Mnl7yN6E0Xj5nTP8lZCNtKOGHgk7H1IWZi5Yo1CiOXo1UOAph0cGVN8FqpUZ2kY+Txy/czrc8SCRtizWZGV9PGbj15H2mU0FcTnWMZo6T5ZTrsAwZn8Ss/CQ3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709480907; c=relaxed/simple; bh=nLO2exXHSWbViJf+T8mA8tkfEsJX/bkWxp3QzPBeDG4=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=EfLnNn0th3vJ+qGkij0UmUVkcYxCV5iiCcWkWeNqn3bmJauYF5sEaoPmbyhDijEOWvymGJ1WvW7ryDLoiJvSSGp4lpoktWpFuqsOtBFdTsWbyKo6ZSwpQ3kaRg0gL/NCi+cageywUqGuwA7lSvAvuFX1V431LrEa0+nA7xo5Aus= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QlgxNmwD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F45FC433C7; Sun, 3 Mar 2024 15:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709480907; bh=nLO2exXHSWbViJf+T8mA8tkfEsJX/bkWxp3QzPBeDG4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QlgxNmwDshBrhp2F9+AhsjUWAUrFy7uWOcAl+FSVqvWk/ArWfavTRR3G+eHGs85cy oURhlI6P5k1qroMHSslyfMizvCjuLoZZpfV+Zei1rgBEhQVLzZJ3QcZRS9ZuM/WGqm MNT85PZsrmanPWABjNU29Dhr9/biGJxvq1q95AhJEuzfFy1Ad2fGNZPoJFwipnnSiu 9MtMlIulKiTgbm4aRa/IlQqOyhIb/cFshnGTFx+/R3x6M9++Z7OzTmuNmRky8yGHlu 0MT7QXMb/4MVarLqjQCeBcnePh1oUQsaoFOfcq2kv0jFp/n1H32DdlzZB6KszIZhK/ VEt213AyyN+dA== Date: Mon, 4 Mar 2024 00:48:23 +0900 From: Masami Hiramatsu (Google) To: Steven Rostedt Cc: Jiri Olsa , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v2 3/7] tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_init Message-Id: <20240304004823.5c475262a5b0117a4a60be89@kernel.org> In-Reply-To: <20240229223753.0e6dce81@gandalf.local.home> References: <170891987362.609861.6767830614537418260.stgit@devnote2> <170891990355.609861.2805086066595778818.stgit@devnote2> <20240229223753.0e6dce81@gandalf.local.home> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 29 Feb 2024 22:37:53 -0500 Steven Rostedt wrote: > On Mon, 26 Feb 2024 12:58:23 +0900 > "Masami Hiramatsu (Google)" wrote: > > > From: Masami Hiramatsu (Google) > > > > Instead of incrementing the trace_probe::nr_args, init it at trace_probe_init(). > > This is a cleanup, so the behavior is not changed. > > The change is fine, but the change log does not say why this was done. This change is to get the number of trace_probe arguments while parsing the argument strings. Thank you, > > Reviewed-by: Steven Rostedt (Google) > > -- Steve > > > > > > Signed-off-by: Masami Hiramatsu (Google) > > --- -- Masami Hiramatsu (Google)