Re: [PATCH 0/1] tracing: Provide more parseable hist trigger output

From
Tom Zanussi <zanussi@kernel.org>
Date
2021-08-13 15:31:09
Also in
lkml
Reply to
Masami Hiramatsu, 2021-08-13
Hi Masami,

On Fri, 2021-08-13 at 18:24 +0900, Masami Hiramatsu wrote:
Hi Tom,

On Thu, 12 Aug 2021 17:43:23 -0500
Tom Zanussi [off-list ref] wrote:
quoted
Hi Steve and Daniel,

Following our discussion last week about more parseable hist
trigger
output, I started trying to implement the 'csv' output you had
mentioned, but realized that since it was more than just table
output
that was needed, JSON would be a better fit, so implemented that in
this patch instead.
This seems really good feature! BTW, what about adding an tracing
option to switch the hist output format?
e.g.

$ echo 1 > /sys/kernel/tracing/options/hist-json

This will no need to add additional pseudo file but just add an
option to
the ftrace.
That sounds like a good idea, thanks for the suggestion!

Tom

Thread (6 messages) 6 messages, 3 authors, last reply 2021-08-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help