Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp796739pxy; Wed, 21 Apr 2021 15:32:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywRtwrMnQc0xOVKnBb5GuYtXFJ7dGru//ErgY2F7vCwLN6uWZLu65Sg/5Sa4dXqizIYBWx X-Received: by 2002:a17:90a:9b86:: with SMTP id g6mr405942pjp.216.1619044340302; Wed, 21 Apr 2021 15:32:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619044340; cv=none; d=google.com; s=arc-20160816; b=j3Q4sNaxx59S5CNzrg7XU974EYU4c0q9Ny3UKJmRguTRpFmNrGyVT4VRXD7Z1GHG5Q A+LX3iSsZovLPIiosBxUSaJFN9N3SBjteTxRXASxm+ebsDK/6P84gTYrutTfVay7yGVE mVmWed5ECf81YErkne6A+A9WFi1VlBQdqwFzTmE2E5w8rVqhlk/lgG9UD1OTvgQH1f1w SRkW/ggFiEaZ/3askDgM0yga5avzCXtv0RRM5Nlj38jBBZKJ8G04eTBroZd5VEKXFJIi nbMBqnlMKyzWU9I0oFEfAPZpsfeU8DLdLvA9+mKX7GSQWxzFRFldLe+26XfxL1nPdeEt evKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=6hIG6jV2wOl+K9UEpn+om18Wq0e05blXk7RiHxX7qPo=; b=sr85RKPfVaNLCFKdaD0knv62LEEuYvnu1j7XIfJln9yqAcVxizawBti55Kq96RgQod nQ5myh1aPGZFfr7Cw2hVH0UFVMn8COIY3W5H1vrhDSanzatSjqMWmUNWPTXHvHR6fNp4 QJzA6estrAGpQSY3IWFlSAjqf561rCtGUIY3Kp5VLv6gIHE3oX1xTYwF6Sj0CViPguIf Il74GjgXqIctu8HzFBDhq8dkMy7EJjtlOXVYMGi3Ooo13WUwZ79GjTYmmCNvg8DWbR/7 aJ+qd94uUeInwdVe2rQnNf6cqEAC1AX1hK3CZJtRagdUimfWhaDd6CHWQxVmmmEm/K4V jISg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u190si807032pfc.214.2021.04.21.15.32.05; Wed, 21 Apr 2021 15:32:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240257AbhDUPAn (ORCPT + 99 others); Wed, 21 Apr 2021 11:00:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:41874 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240091AbhDUPAm (ORCPT ); Wed, 21 Apr 2021 11:00:42 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 371D261454; Wed, 21 Apr 2021 15:00:08 +0000 (UTC) Date: Wed, 21 Apr 2021 11:00:06 -0400 From: Steven Rostedt To: Rasmus Villemoes Cc: Dan Williams , "fweisbec@gmail.com" , "jeyu@kernel.org" , "mathieu.desnoyers@efficios.com" , "linux-kernel@vger.kernel.org" , "mingo@elte.hu" , "chris@chris-wilson.co.uk" , "yuanhan.liu@linux.intel.com" , "Grumbach, Emmanuel" Subject: Re: [PATCH][RFC] tracing: Enable tracepoints via module parameters Message-ID: <20210421110006.3652f26a@gandalf.local.home> In-Reply-To: <7d971eef-72bc-db32-e6a3-26e94b1b4236@rasmusvillemoes.dk> References: <1299622684.20306.77.camel@gandalf.stny.rr.com> <877hc64klm.fsf@rustcorp.com.au> <20130813111442.632f3421@gandalf.local.home> <87siybk8yl.fsf@rustcorp.com.au> <20130814233228.778f25d0@gandalf.local.home> <77a6e40b57df092d1bd8967305906a210f286111.camel@intel.com> <20210419181111.5eb582e8@gandalf.local.home> <20210420085532.4062b15e@gandalf.local.home> <20210420163243.45293c9a@gandalf.local.home> <5d191e26-bd00-c338-e366-b4855ac08053@rasmusvillemoes.dk> <20210421102008.411af7c5@gandalf.local.home> <7d971eef-72bc-db32-e6a3-26e94b1b4236@rasmusvillemoes.dk> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Apr 2021 16:50:30 +0200 Rasmus Villemoes wrote: > I don't "want" anything. I just fail to see what advantage that proof of > concept would bring over the current dev_dbg implementation. That you don't need to go through the console. The trace ring buffer is much faster than printk (you can record millions of traces a second, and barely notice the overhead, which is why you can trace scheduling and high frequency interrupts), and if you want, you get your very own buffer to record to, without any noise from anything else, with features like filtering, histograms, stack traces, etc. The tracing infrastructure has a lot more to offer than printk does. -- Steve