BABELTRACE2-QUERY-(7)
β¨ BABELTRACE2-QUERY-(7) β¨
okay so bestie, we're in the Babeltrace 2 manual and this page is literally all about one lil query object π buckle up
πΈ NAME πΈ
babeltrace2-query-babeltrace.trace-infos β Babeltrace 2: Trace infos query object
π DESCRIPTION π
The babeltrace.trace-infos Babeltrace 2 query object is the one that spills the tea about time range info for specific traces and their streams π«β¨ It also tells you which output ports of an eventual source component will be the ones serving up the messages for a given stream.
And babeltrace2-convert(1) is obsessed with it β it queries this object from all the source component classes so it can support the --stream-intersection feature. no cap π
π PARAMETERS π
The parameters for this query operation are exactly the same as you would pass as the initialization parameters of a component created from the queried component class. literally identical, matching, twin energy π―ββοΈ
π RESULT OBJECT π
The result object is an array of trace info maps (peep the βTrace info mapβ section below, iykyk).
π¦ Trace info map π¦
A trace info map contains:
stream-infos=STREAM-INFOS[array of stream info maps] β Stream info maps (go look at βStream info mapβ below) for this trace.
π Stream info map π
A stream info map contains:
range-ns=RANGE[range map] β The time range of this stream, and it's a map containing:begin=NS[signed integer] β Beginning time of this stream (nanoseconds since the origin of the default clock class of the stream class).end=NS[signed integer] β End time of this stream (nanoseconds since the origin of the default clock class of the stream class).
port-name=PORT-NAME[string] β For an eventual source component initialized with the same parameters: the name of the output port which serves the messages of this stream. π«Ά
β EXAMPLES β
π Result object π
Example 1. Two trace infos: one with three stream infos, one with two stream infos. (yes, we're counting, and yes, they ate π₯)
- stream-infos:
- range-ns:
begin: 1509556764975082000
end: 1509557102181554400
port-name: trace0-cpu0
- range-ns:
begin: 1509556764947050800
end: 1509557102182771000
port-name: trace0-cpu1
- range-ns:
begin: 1509556764956409300
end: 1509557102182770400
port-name: trace0-cpu2
- stream-infos:
- range-ns:
begin: 1509556764918082000
end: 1509557103849928400
port-name: trace1-cpu0
- range-ns:
begin: 1509556761888820000
end: 1509557109928100400
port-name: trace1-cpu1
π BUGS π
If you encounter any issue or usability problem, please report it on the Babeltrace bug tracker (see <https://bugs.lttng.org/projects/babeltrace>). don't suffer in silence bestie, tell them π«Ά
π§ RESOURCES π§
The Babeltrace project shares some communication channels with the LTTng project (see <https://lttng.org/>). community coded, community approved β¨
- Babeltrace website (see <https://babeltrace.org/>)
- Mailing list (see <https://lists.lttng.org>) for support and development:
lttng-dev@lists.lttng.org - IRC channel (see <irc://irc.oftc.net/lttng>):
#lttngonirc.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>)
π AUTHORS π
The Babeltrace 2 project is the result of hard work by many regular developers and occasional contributors. every single one of them, iconic π
The current project maintainer is JΓ©rΓ©mie Galarneau <mailto:jeremie.galarneau@efficios.com>.
π COPYRIGHT π
This query object is part of the Babeltrace 2 project.
Babeltrace is distributed under the MIT license (see <https://opensource.org/licenses/MIT>).
π SEE ALSO π
babeltrace2-intro(7), babeltrace2-query(1), babeltrace2-convert(1)
and that's the whole page, bestie π this was the Babeltrace 2.1.2 version, dated 14 September 2019 β go forth and query, main character π¦β¨
π¦ where this page comes from
- fedora 43: babeltrace2 2.1.2-3.fc43 Β· MIT AND GPL-2.0-only
- fedora 44: babeltrace2 2.1.2-5.fc44 Β· MIT AND GPL-2.0-only
- nixos 26.05: babeltrace2 2.1.2
- nixpkgs unstable: babeltrace2 2.1.2
- ubuntu resolute: babeltrace2 2.1.2-1build2 Β· MIT
- ubuntu stonking: babeltrace2 2.1.2-1build2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms