lkml.org 
[lkml]   [2021]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RFC] tracing: Enable tracepoints via module parameters
On Wed, 21 Apr 2021 16:50:30 +0200
Rasmus Villemoes <linux@rasmusvillemoes.dk> 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

\
 
 \ /
  Last update: 2021-04-21 17:01    [W:0.221 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site