Project

General

Profile

Actions

Bug #898

closed

Enabling the tracking of a PID twice should provide a clearer error

Added by Jérémie Galarneau over 9 years ago. Updated over 9 years ago.

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

100%

Estimated time:

Description

The error reporting of the track command is inconsistent with other CLI commands such as enable-event.

$ lttng enable-event -u alf
UST event alf created in channel channel0
$ lttng enable-event -u alf
Error: Event alf: UST event already enabled (channel channel0, session auto-20150727-143551)
$ lttng track -u -p 14413
$ lttng track -u -p 14413
Error: Command error

Track should also confirm the configuration of the tracker has succeeded.

Actions #1

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

  • Status changed from New to Confirmed
Actions #2

Updated by Michael Jeanson over 9 years ago

  • Assignee set to Michael Jeanson
Actions #3

Updated by Michael Jeanson over 9 years ago

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

Applied in changeset tools|commit:b93a4a13a2724a73069e1d661df5df83c629bb36.

Actions

Also available in: Atom PDF