From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796327589; b=xiVLtuNOELIgwPSLwaxgpJm0fDg07URSMjUsJT9aAovFzBx+mTgs0Yr2VP6DDYDPGKKx +tQ8UhAd1VmY5KytUzPZnM3E4dbMB1UIyqfzkwgrRHG37Hk14Rylc3JWXLGlD6cy2MjZl nIwJJ2VtA3gFcad8R8ke/v7f7upEI6cIT7MROGTcjqkf3LFCTTfk/fMyown45zU+UQFLL a+dkGQpkH+9QlIJM86f0/GalnfDcQvboWcxdLnUai1oMrZKV9LeKhUDe/hukAHbyE+8vx KnmYREdimr3s0lJmYrXIIY7Kf/n8QgYyBYqGcht0G6BzVkTD/CMNKP+fMyrPjnI6SxA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796327589; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=2jcj9m7nOlXaIkPyS2rmFvZ0/Q6ncP/DBK+/ILqQ8Cg=; b=L5IiuAypfOrfyZhwQSfHTDaFoAuaHcLb5KaYrFAqOfAO7N28qqpLZpKAeqr3jpC9oCOl 4jwFew8NrhNn4Zs+G1EuP+mV6q5M//UGoQAm0B6mqk2faUDCrEmh9sgJqaLftr5wSPYd1 2iMIwt4LyJW887IS5maZc2lDEnwIM9IYDkwqXLsq4pJf79unywWW5lPAEWRjAKlrzyeCx 4A123GRYHO4m7SccsvOvMj+hfz6LQ3C6J+ngHeNpEaYHjU2MqUoIMmWQfX+IdYKZuoRSw DWU6DMHv13ca1ejaBgtUZ/5a1JymyNsHN+8DnjCV8ZCcV3GEYTCY5xK16WLkbeE7Jxw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=PS9waKsN; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4D91606A322 for ; Thu, 3 Dec 2026 19:53:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=PS9waKsN Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E4B01F000C2; Thu, 3 Dec 2026 19:53:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796327589; bh=2jcj9m7nOlXaIkPyS2rmFvZ0/Q6ncP/DBK+/ILqQ8Cg=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=PS9waKsNEMwL3CulQoxa9AFTSx3hBQG7WjDheMi3AXOZZrcgB/Y/CRYXK3fa0aNzG aVm5F+2YV9SBGj6vziJ0uiZreUYM34JlKzUqbRsbhYxnJYpgrm7n9SasektR1WSH4p wjafFDUHQZcPjQRUO8MqnMZ73ddrGf7J8Y3CcPrgnRwcqZo/HCLasry3dlXzFV7KEo 85g2K0+endAWbO/HfB4kadB2v00qhdDdSS11CB6+XSk6Yz1DwfMjPnIKgSdp07z7gR nOlBfctlzFhTBXBWwbC8NxtuBejWPskfrzpYCod6ixVIeXhaEB/tdS4NLnI3FEjJqp suJRgKImcQ2GA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v10 19/19] Documentation/kernel-parameters: Add trace_remote Reply-To: sashiko-reviews@lists.linux.dev To: "Vincent Donnefort" , linux-trace-kernel@vger.kernel.org In-Reply-To: <20261203190007.2431041-20-vdonnefort@google.com> References: <20261203190007.2431041-1-vdonnefort@google.com> <20261203190007.2431041-20-vdonnefort@google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 19:53:09 +0000 X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] Documentation: trace_remote buf_size omits per-CPU semantics -- commit 5780be41d5e115286c19b14e5bb58123796e75ed Author: Vincent Donnefort Documentation/kernel-parameters: Add trace_remote This commit documents the trace_remote boot parameter and its supported options in Documentation/admin-guide/kernel-parameters.txt. > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentat= ion/admin-guide/kernel-parameters.txt > index 176648941aec2..d000bd5ed61f8 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -7848,6 +7848,25 @@ Kernel parameters > See also Documentation/trace/ftrace.rst "trace options" > section. > =20 > + trace_remote=3D[remote-info] > + [FTRACE] Configure a trace remote instance at boot. > + Format: [^option1[^option2...]][,event1[,event2...]] > + > + Supported options: > + > + dump_on_panic - Enable dumping the trace buffer on > + panic. > + dmesg - Redirect tracing output to dmesg. > + buf_size=3D - Set the trace buffer size (e.g. 2M). [Severity: Low] Should buf_size=3D specify that the size is per CPU rather than total? trace_remote_apply_cmdline_opts() stores the parsed value in remote->trace_buffer_size, which trace_remote_alloc_buffer() allocates per CPU. Since trace_instance splits its size across CPUs, omitting this can mislead users into allocating num_possible_cpus() times more memory. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203190007.2431= 041-1-vdonnefort@google.com?part=3D19