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

Also available in: Atom PDF