Project

General

Profile

Bug #105

Enabling of enabled events lead to comand error

Added by Bernd Hufmann over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
02/24/2012
Due date:
% Done:

100%

Estimated time:

Description

After issuing "lttng enable-event -a -k" all events are enabled. When issuing the same command a second time I get the following error: Error: Kernel event already exists.

Enabling already enabled events should be treated as error. The tool should accept this command and return without an error.


Related issues

Related to LTTng-tools - Bug #150: Document exit values for lttng UIResolvedDavid Goulet03/05/2012

Actions
#1

Updated by Bernd Hufmann over 8 years ago

Bernd Hufmann wrote:

After issuing "lttng enable-event -a -k" all events are enabled. When issuing the same command a second time I get the following error: Error: Kernel event already exists.

Enabling already enabled events should be treated as error. The tool should accept this command and return without an error.

I used the commit aeb968923d1245f4cb2be1eed2ab7b8b5eb45cf8.

#2

Updated by David Goulet over 8 years ago

  • Status changed from New to Confirmed
  • Assignee set to David Goulet
  • Target version set to 2.0 stable
#3

Updated by Yannick Brosseau over 8 years ago

Put a better error message

#4

Updated by David Goulet over 8 years ago

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

Also available in: Atom PDF