Project

General

Profile

Bug #1222

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

Added by Francis Deslauriers 10 months ago. Updated 10 months 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.

#1

Updated by Jonathan Rajotte Julien 10 months ago

  • Author changed from 215 to 35
#2

Updated by Jonathan Rajotte Julien 10 months ago

Migrated from internal bug tracker.

Also available in: Atom PDF