[ltt-dev] Babeltrace API plan

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Nov 4 15:45:27 EDT 2011


Hi!

After a few people asking questions about the direction I plan to take
regarding the Babeltrace Common Trace Format (CTF) reading API, I think
it's good that I clarify this publicly on the mailing list:

For those interested in using it from external applications:

a) first create your prototype by including the private babeltrace
   headers you need.
b) then, as you do this, you'll find out what you need exported
c) please propose a patch to babeltrace to export what you need 
   through a clean API

I'm not exporting all the headers that are needed to access the
information read by babeltrace yet, because I don't want to expose the
guts of babeltrace to applications (which would be a problem if we want
to change the implementation). So we really need to come up with a clean
API to allow access to the CTF "ir" (intermediate representation) of the
trace.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list