babeltrace:freescale-nexus

Last commit made on 2013-12-13
Get this branch:
git clone -b freescale-nexus https://git.launchpad.net/babeltrace

Branch merges

Branch information

Name:
freescale-nexus
Repository:
lp:babeltrace

Recent commits

261e5f5... by Christian Babeux <email address hidden>

Add CTFVisitor implementation

First implementation of the Freescale Nexus to CTF visitor.

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

9dcc904... by Christian Babeux <email address hidden>

Add public accessors to Nexus message private data

These accessors are needed for the CTFVisitor to be able to
access the message private data.

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

6bac18a... by Christian Babeux <email address hidden>

Link Nexus converter to libbabeltrace

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

ed5f729... by Christian Babeux <email address hidden>

Add FIXME about possible typo in Nexus DPQM enqueue operation rejection

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

df8ae29... by Christian Babeux <email address hidden>

Add a new CTFLogVisitor mock implementation for Nexus to CTF conversion

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

50841f9... by Christian Babeux <email address hidden>

Add the command line flags for CTF conversion to the nexdump utility

The nexdump utility now accepts the --ctf <outdir> command line switch
to convert the specified Nexus trace to the Common Trace Format (CTF) in
outdir.

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

ad4a95e... by Christian Babeux <email address hidden>

Add FIXME about endianess issue in Nexus binary file processing

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

9a2167b... by Christian Babeux <email address hidden>

Add Freescale Nexus decoder implementation

This feature can be optionally enabled via the "--enable-nexus"
configure option.

This code is unsupported and is available on an "as is" basis.

See converter/nexus/README for instructions on how to use the
nexdump utility with Nexus hardware traces.

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Jérémie Galarneau <email address hidden>

4a74436... by Julien Desfossez <email address hidden>

lttng-live input plugin

This new input format allows Babeltrace to connect a lttng-relayd and
attach to a running live session.

In order to use it, you need to create a live session (refer to LTTng
documentation for that) and then :
babeltrace -i lttng-live net://hostname

Where hostname is the hostname or IP address of the lttng-relayd
receiving the live trace.

When you do this command, it will list the active sessions on the relay.
To attach to a particular session, redo the same command, but add after
the hostname the session ID of the session you want to read.
For example, to attach to the session 42 :
babeltrace -i lttng-live net://hostname/42

If you want to know what is going on in the background, you can add the
-v for a verbose output.

Signed-off-by: Julien Desfossez <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

500634b... by Julien Desfossez <email address hidden>

Live: let read API detect inactive streams, allow streams without fd

In live streaming, there are cases where a stream will be inactive from
beginning to end and so will never call bt_iter_next. For those cases,
we have to detect when we are reading an inactive stream which happens
when all other active streams have been closed.

We don't want to have the same checks in two places, so this fix removes
the return of EAGAIN in bt_iter_next and instead returns a NULL event
with the new BT_ITER_FLAG_RETRY flag set.

Also, handle cases where streams and traces have no associated file
descriptors.

Signed-off-by: Julien Desfossez <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>