Re: [PATCH] of: introduce event tracepoints for dynamic device_node lifecyle

From: Steven Rostedt
Date: Tue Apr 18 2017 - 22:47:24 EST


On Tue, 18 Apr 2017 17:07:17 -0700
Frank Rowand <frowand.list@xxxxxxxxx> wrote:


> As far as I know, there is no easy way to combine trace data and printk()
> style data to create a single chronology of events. If some of the
> information needed to debug an issue is trace data and some is printk()
> style data then it becomes more difficult to understand the overall
> situation.

You mean like:

# echo 1 > /sys/kernel/debug/tracing/events/printk/console/enable

Makes all printks also go into the ftrace ring buffer.

-- Steve

>
> If Rob wants to convert printk() style data to trace data (and I can't
> convince him otherwise) then I will have further comments on this specific
> patch.
>