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

From: Frank Rowand
Date: Tue Apr 18 2017 - 23:12:48 EST


On 04/18/17 19:46, Steven Rostedt wrote:
> 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.

Thanks! I was hoping there was going to be an easy answer like this.


> -- 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.
>>
> .
>