Project

General

Profile

Actions

Bug #105

closed

Enabling of enabled events lead to comand error

Added by Bernd Hufmann almost 13 years ago. Updated almost 13 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Bernd Hufmann almost 13 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.

Actions #2

Updated by David Goulet almost 13 years ago

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

Updated by Yannick Brosseau almost 13 years ago

Put a better error message

Actions #4

Updated by David Goulet almost 13 years ago

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

Also available in: Atom PDF