lttng: enable-event: treat 'all' case as a regular pattern
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 26 Feb 2024 20:56:27 +0000 (15:56 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2024 15:41:08 +0000 (10:41 -0500)
The cmd_enable_events function is essentially duplicated to handle the
"all events" case, but it simply substitutes the event name for '*'.

The case can be eliminated if we simply add '*' as one of the patterns
to enable when the '--all' option is used.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: If4235c391c2ce38a67208184c97bbe0f5c40c97d


No differences found
This page took 0.024403 seconds and 4 git commands to generate.