From mboxrd@z Thu Jan 1 00:00:00 1970 From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers) Date: Tue, 3 Apr 2012 10:10:29 -0400 Subject: [lttng-dev] Writing a babeltrace output plugin In-Reply-To: <524C960C5DFC794E82BE548D825F05CF29DA2B@EU-MBX-04.mgc.mentorg.com> References: <524C960C5DFC794E82BE548D825F05CF29D8A8@EU-MBX-04.mgc.mentorg.com> <524C960C5DFC794E82BE548D825F05CF29D8C6@EU-MBX-04.mgc.mentorg.com> <20120403125754.GC14534@Krystal> <524C960C5DFC794E82BE548D825F05CF29D9DF@EU-MBX-04.mgc.mentorg.com> <20120403133328.GA15926@Krystal> <20120403133436.GA16116@Krystal> <524C960C5DFC794E82BE548D825F05CF29DA2B@EU-MBX-04.mgc.mentorg.com> Message-ID: <20120403141029.GA17286@Krystal> * Oestman, Fredrik (Fredrik_Oestman at mentor.com) wrote: > Hi Mathieu, hi Julien, > > > Mathieu wrote: > > I have no other clues in mind [to using the public API] than > > looking at the examples already in there > > Where are the examples of using the public API? There is a lttv tree currently under heavy development, and the lttngtop git tree on git.lttng.org. > > > > for now, all converters are expected to be in-tree. > > Oh. So the way to go to add another output format for conversion from CTF is to > clone the formats/ctf-text directory and make changes as needed? Yep. > > > It would have been interesting to see the CTF output part as an example. > Can you say when such an option will be available? We do not use the intermediate representation for CTF generation (see babeltrace-log.c): we generate the metadata directly as needed. Generating a CTF output from the CTF intermediate representation is not planned at this point, as it has very little use for us. LTTng-UST 2.0 and LTTng-modules 2.0 both generate CTF natively. Thanks, Mathieu > > > Cheers, > > Fredrik > -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com