Project

General

Profile

Actions

Bug #702

closed

Missing lttng-consumerd behaviour is inconsistent between kernel and user-space

Added by Daniel U. Thibault over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
Start date:
12/04/2013
Due date:
% Done:

100%

Estimated time:

Description

Using lttng 2.3

In user-space, if lttng-consumerd is missing, we get:

$ lttng enable-event -u -a
UST consumer start failed

This behaviour is correct.

In kernel space, if lttng-consumerd is missing, we get:

$ lttng enable-event -k -a
PERROR kernel start consumer exec: No such file or directory
Error: Condition timed out. The consumer thread was never ready. Killing it
All kernel events are enabled

(This also leaves a second root lttng-sessiond process hanging)

There are two intertwined bugs here: the kernel error handling is not as good as the user-space error handling, and this leads to a failure being reported as a success.

Actions #1

Updated by David Goulet about 10 years ago

  • Status changed from New to Confirmed
Actions #2

Updated by David Goulet about 10 years ago

  • Priority changed from Normal to Low
Actions #3

Updated by David Goulet about 10 years ago

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

Also available in: Atom PDF