Project

General

Profile

Bug #702

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

Added by Daniel U. Thibault over 6 years ago. Updated over 6 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.

#1

Updated by David Goulet over 6 years ago

  • Status changed from New to Confirmed
#2

Updated by David Goulet over 6 years ago

  • Priority changed from Normal to Low
#3

Updated by David Goulet over 6 years ago

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

Also available in: Atom PDF