Bug #111
closedenable event with wildcard fails
0%
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
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! :)