Project

General

Profile

Actions

Bug #1222

open

src.ctf.lttng-live: reading two per-pid traces does not emit messages

Added by Francis Deslauriers over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
src.ctf.lttng-live
Start date:
02/17/2020
Due date:
% Done:

0%

Estimated time:

Description

When connecting a lttng-live component on a session with per-pid tracing and having one trace generating many events and another generating it results in no message at all being generated by the component.

The resulting traces on disk are readable.

BT1.5 prints the following:

[warning] Clock "(null)" offset differs between traces (delta 7650446431922014464 ns). Using average.

I suspect that the inactivity messages produced by the stream iterators of the silent trace triggers a bug in the ordering of messages. Maybe it's moving the timestamp of the last message too far ahead for other traces and it should only move it for that one silent trace.

To reproduce the issue:
  1. Create 2 apps that loop and generate events
  2. Create live per-pid session
  3. Enable an event present in only one app
  4. lttng start
  5. launch both apps and let them loop.

Problem: One of the app generates events but we don't see them in the output of the lttng-live component.

Actions #1

Updated by Jonathan Rajotte Julien over 4 years ago

  • Author changed from 215 to 35
Actions #2

Updated by Jonathan Rajotte Julien over 4 years ago

Migrated from internal bug tracker.

Actions

Also available in: Atom PDF