Project

General

Profile

Bug #878

lttng-sessiond cannot unload lttng-modules when live session exists

Added by Mathieu Desnoyers over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
02/02/2015
Due date:
% Done:

100%

Estimated time:

Description

After the following set of commands:

lttng-sessiond (as root)

lttng create --live; lttng enable-channel -k test; lttng start

If we CTRL-C lttng-sessiond, this appears:

^CError: Unable to remove module lttng-ring-buffer-client-discard
Error: Unable to remove module lttng-lib-ring-buffer
Error: Unable to remove module lttng-tracer

It appears there is still a refcount held by sessiond when we try to remove the modules in this scenario. It could be a file that should have been closed but has not.

Also available in: Atom PDF