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

- From: Tom Zanussi \<zanussi@kernel.org\>
- Date: 2021-08-13 15:31:09 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2021/08/1477278
- Thread: https://ratatoskr.run/linux-rt-users/2021/08/1476534/t.md

```text
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 [ref] wrote:
> 
> > 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


```
