[ltt-dev] RFC LTTv TextDump

Alexandre Montplaisir alexandre.montplaisir at polymtl.ca
Tue Nov 23 14:38:22 EST 2010


On 10-11-23 01:26 PM, Mathieu Desnoyers wrote:
> Note that the textdump can output content coming from multiple traces,
> where having the trace name in the output for each event becomes
> convenient.
>
> But when we show only one trace, it would not be needed. I'm just saying
> we should not remove it entirely in every cases, because it is sometimes
> needed.
>
> Thanks,
>
> Mathieu
>
>

Yeah, I thought about that just after posting. In that case we could 
have the complete trace paths at the start in the header of the file, 
and in the events just a quick fixed-width reference. Something like:


Trace 01 : /home/user/traces/.../trace-alpha
Trace 02 : /tmp/autotrace1

...
channel.eventtype, timestamp, 01, 01, 1000, 1000, Event payload { n = 
42, b = 2 }
...

the numbers representing Trace #1, CPU #1, PID 1000, TGID 1000


Alexandre




More information about the lttng-dev mailing list