Re: [PATCH][RFC] tracing: Enable tracepoints via module parameters

From: Steven Rostedt
Date: Wed Apr 21 2021 - 11:00:12 EST


On Wed, 21 Apr 2021 16:50:30 +0200
Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> 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