From: Jérémie Galarneau Date: Mon, 26 Feb 2024 20:56:27 +0000 (-0500) Subject: lttng: enable-event: treat 'all' case as a regular pattern X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=77878c17ea0ac9508c21899bd38da1f971d52f5f;hp=77878c17ea0ac9508c21899bd38da1f971d52f5f;p=lttng-tools.git lttng: enable-event: treat 'all' case as a regular pattern 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 Change-Id: If4235c391c2ce38a67208184c97bbe0f5c40c97d ---