From mboxrd@z Thu Jan 1 00:00:00 1970 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 2F1A46DD1B; Tue, 5 Dec 2023 20:50:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF43CC433C7; Tue, 5 Dec 2023 20:50:08 +0000 (UTC) Date: Tue, 5 Dec 2023 15:50:35 -0500 From: Steven Rostedt To: Eric Dumazet Cc: Xuan Zhuo , netdev@vger.kernel.org, mhiramat@kernel.org, mathieu.desnoyers@efficios.com, davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, martin.lau@linux.dev, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org, dust.li@linux.alibaba.com, alibuda@linux.alibaba.com, guwen@linux.alibaba.com, hengqi@linux.alibaba.com, Philo Lu Subject: Re: [PATCH net-next] tcp: add tracepoints for data send/recv/acked Message-ID: <20231205155035.6dd41a13@gandalf.local.home> In-Reply-To: References: <20231204114322.9218-1-lulie@linux.alibaba.com> <1701740897.6795166-1-xuanzhuo@linux.alibaba.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: netdev@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 Tue, 5 Dec 2023 20:39:28 +0100 Eric Dumazet wrote: > > So, we do not want to add some tracepoint to do some unknow debug. > > We have a clear goal. debugging is just an incidental capability. > > > > We have powerful mechanisms in the stack already that ordinary (no > privilege requested) applications can readily use. > I'm not arguing for or against this patch set, but tracepoints are available for other utilities that may have non privilege access. They are not just for tracers. -- Steve