Project

General

Profile

Bug #1044

Listing the snapshot output after deleting an output

Added by Bruno Roy over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
07/11/2016
Due date:
% Done:

100%

Estimated time:

Description

LTTng version : lttng (LTTng Trace Control) 2.9.0-pre - Codename TBD (I don't have the commit, but this error is present in 2.8.1 and 2.7.2 also).
urcu version : 0.10~pre+bzr1197+pack28+201606291832~ubuntu16.04.1

Here are the command I did (started with no tracing session) :
$ lttng create foo --snapshot
Default snapshot output set to: /home/bruno/lttng-traces/foo-20160711-152523
Snapshot mode set. Every channel enabled for that session will be set to mmap output, and default to overwrite mode.
$ lttng snapshot list-output
Snapshot output list for session foo
[1] snapshot-1: /home/bruno/lttng-traces/foo-20160711-152523 (max-size: 0)
$ lttng snapshot del-output 1
Snapshot output id 1 successfully deleted for session foo
$ lttng snapshot list-output
Snapshot output list for session foo
None
$ lttng list
Error: No session daemon is available
Error: Command error

On the 2.8.1 version I also got this error message : lttng-sessiond: main.c:4180: process_client_msg: Assertion `!rcu_read_ongoing()' failed.
End result : No session daemon, and the session(s) are destroyed.

#1

Updated by Jonathan Rajotte Julien over 4 years ago

  • Status changed from New to Confirmed
  • Assignee set to Jonathan Rajotte Julien
#2

Updated by Jérémie Galarneau over 4 years ago

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

Applied in changeset tools|commit:62a0c2d4933fd52b78c896cf40a935e42ea94360.

Also available in: Atom PDF