Project

General

Profile

Actions

Bug #811

closed

multiple channels in live fails to parse

Added by Julien Desfossez almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Julien Desfossez
Category:
-
Target version:
Start date:
06/24/2014
Due date:
% Done:

100%

Estimated time:

Description

It seems that if we enable multiple channels, the metadata is not properly handled and fails to parse when we hit the first event of the second channel :

lttng create --live
lttng enable-channel bla1 -k
lttng enable-event sched_switch -c bla1 -k
lttng enable-channel bla2 -k
lttng enable-event sched_process_fork -c bla2 -k
lttng start
lttng view
......
[18:40:19.945747167] (+0.000114483) sinkpad sched_switch: { cpu_id = 0 }, { prev_comm = "swapper/0", prev_tid = 0, prev_prio = 20, prev_state = 0, next_comm = "ibus-engine-sim", next_tid = 28545, next_prio = 20 }
[18:40:19.945810625] (+0.000063458) sinkpad sched_switch: { cpu_id = 1 }, { prev_comm = "gdbus", prev_tid = 28546, prev_prio = 20, prev_state = 1, next_comm = "swapper/1", next_tid = 0, next_prio = 20 }
[18:40:19.945891391] (+0.000080766) sinkpad sched_switch: { cpu_id = 1 }, { prev_comm = "swapper/1", prev_tid = 0, prev_prio = 20, prev_state = 0, next_comm = "gdbus", next_tid = 28546, next_prio = 20 }
[18:40:19.945918285] (+0.000026894) sinkpad sched_switch: { cpu_id = 3 }, { prev_comm = "/x-term", prev_tid = 1752392034, prev_prio = 1852400128, prev_state = 30806552527861807, next_comm = "", next_tid = 1852400128, next_prio = 1949136943 }
[error] Event id 5 is outside range.
[error] Reading event failed.
[warning] [Context] Cannot open_trace of format lttng-live at path net://localhost/host/sinkpad/auto-20140624-184001.
[warning] [Context] cannot open trace "net://localhost/host/sinkpad/auto-20140624-184001" for reading.
[error] opening trace "net://localhost/host/sinkpad/auto-20140624-184001" for reading.

[error] none of the specified trace paths could be opened.

Actions #1

Updated by David Goulet almost 10 years ago

  • Status changed from New to Confirmed
  • Assignee set to Julien Desfossez
  • Priority changed from Normal to High
  • Target version set to 2.4
Actions #2

Updated by Mathieu Desnoyers almost 10 years ago

  • Project changed from LTTng-tools to Babeltrace
Actions #3

Updated by Julien Desfossez almost 10 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

Applied in changeset babeltrace|commit:5805251d80794af957cab5a72e4cc39b5e79c4f7.

Actions

Also available in: Atom PDF