Project

General

Profile

Actions

Bug #583

closed

When UST support is disabled, the session creation error message is confusing

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

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

100%

Estimated time:

Description

Assume lttng-tools was compiled without UST support:

$ lttng create dutsession
$ lttng -vvv enable-event --all -u
Error: Events: UST create session failed (channel channel0, session dutsession)

The user will be perplexed by "create session failed" since his "create session" command was processed without causing a comparable error. Since sessions can include kernel and user-space events, the user is unlikely to make the distinction between kernel sessions and user-space sessions; in fact, those concepts (the ltt_kernel_session and ltt_ust_session structs) are internal to lttng and are not exposed to the user.

The error message needs to be clearer, something like:

"Error: Events: No UST support available (channel c, session s)"

Actions #1

Updated by David Goulet over 10 years ago

  • Status changed from New to Confirmed
  • Priority changed from Normal to Low
  • Target version set to 2.2
Actions #2

Updated by Mathieu Desnoyers over 10 years ago

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

Also available in: Atom PDF