Skip to contentSkip to conversation

Ftrace reading binary

DISCUSSION sahil aggarwal 1 participant 1 message Feb 27, 2015

lore
Share & tools
lore
#0 lore raw

Hi all,
I am trying to read binary of format struct of an event enabled. When i enable binary by bin > trace_options it was giving binary but binary of what i used to get by enabling raw > trace_options. I was wondering if there is any way to get binary of struct of format associated with events.

With this it will be easy to use it C by simply setting the offset to access the value instead of parsing text from trace_pipe.

Thanks
Regards