* [ltt-dev] LTTng Trace Format @ 2009-01-20 16:08 Stadelmann Jérôme 2009-01-20 16:30 ` Mathieu Desnoyers 0 siblings, 1 reply; 2+ messages in thread From: Stadelmann Jérôme @ 2009-01-20 16:08 UTC (permalink / raw) Hi Mathieu, I'm currently looking at the trace format using the following document (http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/format.html) and I have some difficulties to retrieve the information. I've found the magic number 0x00D6B7ED to early in the binary files (with an offset of 16 bytes) and the block start header is 24 bytes long. Does the format changed in a recent version or am I mistaken ? Best regards, J?r?me Stadelmann ^ permalink raw reply [flat|nested] 2+ messages in thread
* [ltt-dev] LTTng Trace Format 2009-01-20 16:08 [ltt-dev] LTTng Trace Format Stadelmann Jérôme @ 2009-01-20 16:30 ` Mathieu Desnoyers 0 siblings, 0 replies; 2+ messages in thread From: Mathieu Desnoyers @ 2009-01-20 16:30 UTC (permalink / raw) * Stadelmann J?r?me (jerome.stadelmann at heig-vd.ch) wrote: > Hi Mathieu, > > I'm currently looking at the trace format using the following document (http://ltt.polymtl.ca/svn/trunk/lttv/doc/developer/format.html) and I have some difficulties to retrieve the information. > I've found the magic number 0x00D6B7ED to early in the binary files (with an offset of 16 bytes) and the block start header is 24 bytes long. Does the format changed in a recent version or am I mistaken ? > > Best regards, > J?r?me Stadelmann > Yes, the format has changed since this document has been updated. The best information source would be http://git.kernel.org/?p=linux/kernel/git/compudj/linux-2.6-lttng.git;a=blob;f=include/linux/ltt-tracer.h;h=2ae278cd4afd8d97e363e8d0a21449a20012575e;hb=HEAD struct ltt_subbuffer_header (is also the trace header, repeated at each subbuffer) ltt_write_event_header() : writes the event header. Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-20 16:30 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-01-20 16:08 [ltt-dev] LTTng Trace Format Stadelmann Jérôme 2009-01-20 16:30 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox