94 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
67
views
Why are Ceph tracepoints missing when using LTTng-UST despite enabling support during compilation?
I am trying to trace Ceph using LTTng-UST, but I cannot see Ceph-specific tracepoints after following the recommended steps. I compiled Ceph with LTTng support and preloaded liblttng-ust-fork.so, but
...
0
votes
1
answer
489
views
How to collect traces generated inside a container with LTTng?
I'm trying to find the most convenient and maintainable LTTng setups supporting collection of traces generated from a container.
Here is what I've tried:
host:
lttng-sessoind (root/user)
lttng-relayd ...
0
votes
1
answer
78
views
Get number format from babeltrace2 Python API
I use babeltrace2 python bindings to parse some traces that were written by LTTNG. I have a simple code, like this:
import bt2
path = argv[1]
for msg in bt2.TraceCollectionMessageIterator(path):
...
0
votes
1
answer
143
views
Building lttng-modules using buildroot for a custom kernel
I pulled out vanilla 6.5.0 from kernel.org and able to successfully built it for aarch64 using defconfig. For rootfs, I used buildroot and the combo boots fine for me on qemu.
Now I wanted lttng-tools ...
0
votes
1
answer
102
views
Trying to trace a java application with lttng-ust JUL: no lttng-ust-jul-jni in java.library.path
I have a sample java application which I want to trace using lttng-ust JUL.
I got the examples from this link to run it locally.
However, there seems to be something wrong. I don't know whether it is ...
1
vote
1
answer
1k
views
What are the main differences between eBPF and LTTng?
What are the main differences between eBPF and LTTng?
I read LTTng uses instrumentation: "Linux Trace Toolkit Next Generation (LTTng) is a tracer able to extract information from the 2 Linux kernel, ...
1
vote
1
answer
231
views
The way to export data of CTF format from "Experiments" in Tracecompass?
I'm using TraceCompass to see the Lttng log.
Sometimes I import Kernel and Userspace traces at the same time and integrate them into "Experiments" to be able to see it in one profile.
Does ...
0
votes
1
answer
277
views
application using lttng compile errors with aarch64-xilinx-linux-g++
I am trying to porting lttng on xilinx mpsoc with linux OS, I have write a demo as same as lttng "Record user application events", it runs on Ubuntu perfectly
g++ -c -I. hello-tp.c
g++ -c ...
0
votes
0
answers
605
views
how to rebuild the source code in docker after building the image and contaner?
I need to do some tracing on DeathStarBench. It is a micro-services benchmark, that is deployed on docker.
For my tracing I use lttng. Also, I have made some changes to the DeathStarBench source code ...
0
votes
0
answers
179
views
Check if an lttng trace point is enabled with filter from C++ application
Using lttng (https://man7.org/linux/man-pages/man3/lttng-ust.3.html) from a C++ application, is it possible to check if a trace point is enabled with filter option? Trace points can be enabled with ...
0
votes
1
answer
264
views
LTTNG: using with a popular library
I have a trivially simple question that I could not find the answer yet.
Say, I have a shared library X that is used by 100 simultaneously running applications A0, A1, ... A99. I had instrumented my ...
2
votes
1
answer
162
views
Cloning Babeltrace events from generator for random-access traversal
I'm trying to check for a certain chain of events in an LTTNG event log using Babeltrace 1. The LTTNG log is loaded using a Babeltrace collection:
import babeltrace
my_collection = babeltrace....
0
votes
1
answer
397
views
How to get ThreadId during tracing EventSources with lttng
USING: .NET Core 6 on linux / lttng / babeltrace 2
I use lttng to collect the information about functions which were called while my program is running. I want to understand in which thread function ...
1
vote
0
answers
56
views
Is there a way to use the babeltrace2-sink.text.pretty component in the c api
I'd like to use the babeltrace c api to print out formatted text for a lttng trace.
Is there any way to use the already existing component babeltrace2-sink.text.pretty?
Can someone help me with this?
...
1
vote
1
answer
318
views
LTTng live view with port forwarding / tunneling
I have a PC A where LTTng tracing is running with live view
lttng create trace-session --live
# Traces will be output to tcp4://127.0.0.1:5342/ [data: 5343]
Another PC B is directly connected with A ...