From d6b9e598b6552b2c855cae2fe734aa457e56cbed Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 17 May 2021 13:57:48 -0400 Subject: [PATCH] lttng-disable-event(1): `--tracepoint` option is not the default MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit I previously thought that not specifying any instrumentation point type option was equivalent to specifying `--tracepoint`, like with the `enable-event` command. It's not the case: `--tracepoint` is just a filter, like `--syscall` and the others. With `--kernel`, if you don't specify any instrumentation point type condition option, the `disable-event` command disables recording event rules regardless of their instrumentation point type. This patch updates lttng-disable-event(1) to explain this. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: I489c5d16dae954f4b5116edce556fdd942c98c4d --- doc/man/lttng-disable-event.1.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/man/lttng-disable-event.1.txt b/doc/man/lttng-disable-event.1.txt index 2f09d3873..1fdeba198 100644 --- a/doc/man/lttng-disable-event.1.txt +++ b/doc/man/lttng-disable-event.1.txt @@ -56,6 +56,11 @@ type and event name conditions. Therefore, you cannot disable recording event rules having a specific instrumentation point log level condition, for example. +With the option:--kernel option and no instrumentation point type +condition option, the `disable-event` command disables one or more Linux +kernel recording event rules regardless of their instrumentation point +type. + List the recording event rules of a given tracing session and/or channel with the man:lttng-list(1) command. @@ -135,9 +140,6 @@ With the option:--kernel or option:--userspace option::: With the option:--jul, option:--log4j, or option:--python option::: Logging events. -- -+ -As of LTTng{nbsp}{lttng_version}, this is the default instrumentation -point type condition option, but this may change in the future. Event name condition -- 2.34.1