Project

General

Profile

Actions

Bug #111

closed

enable event with wildcard fails

Added by Bernd Hufmann about 13 years ago. Updated about 13 years ago.

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

0%

Estimated time:

Description

Enabling/Disabling all UST events with "lttng disable-event * -u" fails with the following message:

Error: Event lt-hello-7757-20120224-144014: UST event not found (channel channel0, session my2)
Warning: Some command(s) went wrong

Since wildcards are allowed wildcard * should be allowed two even if the same can be achieved with "lttng disable-event -a -u".

I used the commit aeb968923d1245f4cb2be1eed2ab7b8b5eb45cf8

Actions #1

Updated by David Goulet about 13 years ago

  • Status changed from New to Invalid

Using * in bash makes it list files so what you see in the error output is :

Error: Event lt-hello-7757-20120224-144014... where "lt-hello-7757-20120224-144014" is probably the first file in the listing which, of course, does not exist.

Use single quote to enclose the star in bash shell.

$ lttng disable-event '*' -u

Cheers! :)

Actions

Also available in: Atom PDF