From: Jonathan Rajotte Date: Mon, 21 Sep 2015 22:43:54 +0000 (-0400) Subject: Fix: disable kernel event based on name and event type X-Git-Tag: v2.8.0-rc1~308 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;ds=sidebyside;h=9550ee81b0277eb873333fc42a9e6ffc2ef00274;hp=9550ee81b0277eb873333fc42a9e6ffc2ef00274;p=lttng-tools.git Fix: disable kernel event based on name and event type The -a argument is interpreted as a zero-length event name instead of '*' which is actually a valid wildcard event name by itself. This simplifies how a disable command is handled by the session daemon. The event type can now be passed as argument and is a new criteria while disabling kernel events. The default is to disable for all event types. UST and agent domain do not yet support disabling by event type. e.g: # Only disable kernel event of type tracepoint. lttng disable -a -k --tracepoint # Only disable the event with name '*' and type syscall. lttng disable -k '*' --syscall # Disable all kernel event of all type. lttng disable -a -k Fixes #925 Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---