[lttng-dev] [RELEASE] Babeltrace 1.2.0

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri Feb 28 13:16:09 EST 2014


The Babeltrace project provides trace read and write libraries, as well
as a trace converter. Plugins can be created for any trace format to
allow its conversion to/from another trace format.

The main format expected to be converted to/from is the Common Trace
Format (CTF). The default input format of the "babeltrace" command is
CTF, and its default output format is a human-readable text log. The
"babeltrace-log" command converts from a text log to a CTF trace.

New and noteworthy features in the 1.2 release of Babeltrace:

1) lttng-live input plugin to read live streams with LTTng 2.4.

Getting up and running with live for kernel tracing in a nutshell
through localhost (adapt to use over the network):

# assumes you installed lttng 2.4 packages already
lttng-relayd -d  # as root
lttng-sessiond -d  # as root
lttng create mysession --live 1000000 -U net://localhost
lttng enable-event -k -a
lttng start
babeltrace -i lttng-live net://localhost   # list the viewable sessions
babeltrace -i lttng-live net://localhost/host/${HOSTNAME}/mysession
# ... now getting live view of the kernel trace ...

See LTTng Tools live-reading-howto.txt and Babeltrace lttng-live.txt
for details.

2) CTF writer library

C/C++ library and Python bindings to write CTF traces.

See include/babeltrace/ctf-writer/*.h for details.

3) Babeltrace Python bindings

Allow reading and writing CTF traces from Python. See doc/python-howto.txt
for details.

4) CTF indexes support

Support index files extension of the Common Trace Format. Those are generated
starting from LTTng 2.4.

Changelog:
2014-02-28 Babeltrace 1.2.0
        * Fix: lttng-live parse url port check

Project website: http://www.efficios.com/babeltrace
Download link: http://www.efficios.com/files/babeltrace/
CTF specification: http://www.efficios.com/ctf

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list