Questions tagged [lttng]

A set of userspace and kernel tracing tools for the Linux operating system.

A set of userspace and kernel tracing tools for the Linux operating system.

https://lttng.org/

92 questions
0
votes
0 answers

Babeltrace Connection Refused

I'm using LTTng for live debugging. The target machine which I'm debugging has connectivity to only one other machine (say M1), which in turn has connectivity to the external world. I've started lttng-relayd on M1. M1 and my dev host can ping each…
0
votes
1 answer

What Does the WAIT_BLOCKED Thread State Mean?

I was analyzing lttng trace for AudioTrack thread, so at the time of glitch it shows thread state as WAIT_BLOCKED. Can anyone please tell what is the meaning of thread state WAIT_BLOCKED. Here is the screenshot
Ameer ali khan
  • 965
  • 7
  • 10
0
votes
1 answer

Can LTTng analyze multithreading problems by tracing the Linux kernel?

I am looking for a method to analyze the multithreading problems in Linux user programs without affecting the program's own behaviour. I'm wondering whether it is possible to analyze the multithreading problem of user programs from the kernel event…
tudv
  • 31
  • 4
0
votes
1 answer

How do I get debug_info from lttng ctf trace using babeltrace python bindings?

I'm using the Babeltrace python3 bindings to read an lttng ust trace that contains debug_info. When I run Babeltrace from the shell I see the debug_info in the output: [13:28:29.998652878] (+0.000000321) hsm-dev lttng_ust_cyg_profile:func_exit: {…
Josh
  • 1,277
  • 12
  • 21
0
votes
2 answers

What is the format of tracecompass callstack input when it shows callstack from lttng's tracing output?

I have information of kernel function calls with timestamps and the order in which they were called and can generate a call stack from it. But since tracecompass already shows callstack from lttng's trace output, I was wondering if I can give my…
Saty Anand
  • 480
  • 3
  • 11
0
votes
1 answer

Can call stack for kernel and/or userspace be generated using lttng? If so, how?

My aim is to generate call stack and hence flamegraph using lttng. I looked into the documentaion but it doesn't say anything about call stack. Then this stackoverflow question seems to have got callstack. But upon reconstructing the steps I…
Saty Anand
  • 480
  • 3
  • 11
0
votes
1 answer

Orocos LTTng symbol lookup error: /path/to/liborocos-rtt-traces-gnulinux.so: undefined symbol: lttng_probe_register

I'm trying to deploy the example Orocos Component with LTTng tracing as described here: http://paul.chavent.free.fr/orocos-traces.html It seems to locate the liborocos-rtt-traces-gnulinux.so share library but fails to locate a LTTng symbol and…
dbd0596
  • 1
  • 1
0
votes
1 answer

count all events in stream with babeltrace API

I have a LTTNg trace, which i am parsing using babeltrace API. So i was wondering if I could count all events in trace (or stream) without iterating over them. What functions from publilc API I can use to do that ?
0
votes
1 answer

Trying to install LTTng on Raspberry Pi 3 running Raspbian Jessie (Debian)

I'm trying to install LTTng on a Raspberry Pi 3 running Raspian Jessie (Debian). The directions say that with that distribution, I need to build it from source. When I do, and try to execute the make, I get the following error: /usr/bin/make -C…
jmk85204
  • 1
  • 2
0
votes
1 answer

Getting lttng backtraces without liblttng-ust-cyg-profile

Is it possible to get backtraces from lttng without LD_PRELOADing liblttng-ust-cyg-profile and compiling with -finstrument-functions? I can't see from the lttng code what it's doing differently when pre-loading that library to allow a trace viewer…
mrtimdog
  • 487
  • 4
  • 13
0
votes
1 answer

Which linux kernel system calls shows bytes read from disk

I have a python program that read Linux kernel system calls (use Lttng), So with this program I could read all kernel calls. I have some operations and then with python program going to analyses system calls, in the operations I have some IO works,…
Saeid
  • 13,224
  • 32
  • 107
  • 173
0
votes
0 answers

Segmentation fault in read Lttng events with Python

I used Ubunto 16.04, Lttng 2.8.1 and python3.5.2. I also installed python3-babeltrace package. The first step was I recorded some logs exactly based on Lttng documents with lttng create, evenet-enable, start, stop, destroy. In the second step I…
Saeid
  • 13,224
  • 32
  • 107
  • 173
0
votes
0 answers

installing LTTNG on Rasberry pi or Beaglebone black

I am trying to install LTTNG tracing tool on raspberry pi and beaglebone black board. I have searched online and have not seem to found any tutorial that successfully does this. The official LTTNG documentation does not work on these devices. Does…
enwafor
  • 101
  • 1
  • 8
0
votes
1 answer

How to inspect scheduling of multi-threaded user application using lttng?

I am new to tracing in Linux. I have a multi-threaded C++ user application. The threads wake up periodically (by o/s timer) and sleep after doing some processing. I want to visualise: 1) When the threads start and stop running 2) Which cores the…
DavidA
  • 2,053
  • 6
  • 30
  • 54
0
votes
1 answer

Issues with installation LTTNG for fedora22

using: 4.2.8-200.fc22.x86_64 I have a lot of issues with installing latest package of fedora's lttng. I have installed the latest version available for fedora as for 29/6/16. Available Packages Name : lttng-tools ... Version :…
Nir Levy
  • 27
  • 6