From: jdesfossez@efficios.com (Julien Desfossez)
Subject: [lttng-dev] Writing a babeltrace output plugin
Date: Tue, 03 Apr 2012 10:21:40 -0400 [thread overview]
Message-ID: <4F7B0774.7080608@efficios.com> (raw)
In-Reply-To: <20120403141029.GA17286@Krystal>
Hi,
>>> 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.
I would recommend looking at this test program :
git://git.dorsal.polymtl.ca/~jdesfossez/babeltrace-api-test
It is a really basic program that uses most of the API.
Julien
>
>>
>>
>>> 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
>>
>
next prev parent reply other threads:[~2012-04-03 14:21 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-03 10:55 [lttng-dev] Babeltrace ctf-text duplicated error message Oestman, Fredrik
2012-04-03 11:35 ` [lttng-dev] Writing a babeltrace output plugin Oestman, Fredrik
2012-04-03 12:57 ` Mathieu Desnoyers
2012-04-03 13:31 ` Oestman, Fredrik
2012-04-03 13:33 ` Mathieu Desnoyers
2012-04-03 13:34 ` Mathieu Desnoyers
2012-04-03 14:06 ` Oestman, Fredrik
2012-04-03 14:10 ` Mathieu Desnoyers
2012-04-03 14:21 ` Julien Desfossez [this message]
2012-04-04 7:00 ` Oestman, Fredrik
2012-04-17 6:57 ` Oestman, Fredrik
2012-04-17 15:05 ` Mathieu Desnoyers
2012-04-17 15:30 ` Alexandre Montplaisir
2012-04-17 15:44 ` Matthew Khouzam
2012-04-17 15:48 ` Mathieu Desnoyers
2012-04-03 12:53 ` [lttng-dev] Babeltrace ctf-text duplicated error message Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F7B0774.7080608@efficios.com \
--to=jdesfossez@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox