NAME
babeltrace2-source.ctf.lttng-live - Babeltrace 2's LTTng live source component classDESCRIPTION
A Babeltrace 2 source.ctf.lttng-live message iterator connects to a local or remote LTTng (see <https://lttng.org/>) relay daemon, receives the streams of a specific tracing session, and emits corresponding messages.CTF streams over LTTng live (TCP) | | +--------------------+ | | src.ctf.lttng-live | '-->| | | out @--> Sorted messages of one +--------------------+ or more streams
INITIALIZATION PARAMETERS
inputs=URL [array of one string]Use URL to connect to the LTTng relay
daemon.
URL is an array of exactly one string of which the format is:
RDHOST
session-not-found-action=(continue | fail | end)
[optional string]
net[4]:// RDHOST[:RDPORT]/host/TGTHOST/SESSION
LTTng relay daemon’s host name or IP
address.
RDPORT
LTTng relay daemon’s listening port.
If not specified, the component uses the default port (5344).
TGTHOST
Target’s host name or IP address.
SESSION
Name of the LTTng tracing session from which
to receive data.
When the message iterator does not find the
specified remote tracing session ( SESSION part of the inputs
parameter), do one of:
continue (default)
Keep on trying, returning "try again
later" to the downstream user until the tracing session exists.
With this action, the message iterator never ends, as the LTTng live protocol
cannot currently indicate that a tracing session will never exist.
fail
Fail.
end
End.
PORTS
+--------------------+ | src.ctf.lttng-live | | | | out @ +--------------------+
Output
outSingle output port.
QUERY OBJECTS
babeltrace.support-info
See babeltrace2-query-babeltrace.support-info(7) to learn more about this query object.sessions
You can query the sessions object to get a list of available LTTng tracing sessions for a given LTTng relay daemon URL.Use URL to connect to the LTTng relay
daemon.
The format of URL is:
RDHOST
net[4]:// RDHOST[:RDPORT]
LTTng relay daemon’s host name or IP
address.
RDPORT
LTTng relay daemon’s listening port.
If not specified, the query operation uses the default port (5344).
Current number of LTTng live clients connected
to the relay daemon to receive data from this tracing session.
session-name [string]
Tracing session’s name.
stream-count [unsigned integer]
Current number of CTF streams in this tracing
sessions, including the metadata streams.
target-hostname [string]
Hostname of the tracing session.
This is not necessarily the relay daemon’s hostname.
timer-us [unsigned integer]
Tracing session’s configured live
timer’s period (µs) (see lttng-create(1)).
url [string]
URL to use as the first element of the
inputs parameter to connect to the same LTTng relay daemon and receive
data from this tracing session.
BUGS
If you encounter any issue or usability problem, please report it on the Babeltrace bug tracker (see <https://bugs.lttng.org/projects/babeltrace>).RESOURCES
The Babeltrace project shares some communication channels with the LTTng project (see <https://lttng.org/>).•Babeltrace website (see
<https://babeltrace.org/>)
•Mailing list (see
<https://lists.lttng.org>) for support and development:
[email protected]
•IRC channel (see
<irc://irc.oftc.net/lttng>): #lttng on irc.oftc.net
•Bug tracker (see
<https://bugs.lttng.org/projects/babeltrace>)
•Git repository (see
<https://git.efficios.com/?p=babeltrace.git>)
•GitHub project (see
<https://github.com/efficios/babeltrace>)
•Continuous integration (see
<https://ci.lttng.org/view/Babeltrace/>)
•Code review (see
<https://review.lttng.org/q/project:babeltrace>)