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

Also available in: Atom PDF