X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=doc%2Fman%2Flttng-disable-event.1.txt;h=710e6d9dcc8eb6891407ce03406a90221515255e;hb=7d2597248dc33f15e91305f2b48fd27f1db090b4;hp=7ace9d1b4c9ff97814db813e331c493d433f41f6;hpb=21b35b3a08845c9feef6da46409cd48af86fd700;p=lttng-tools.git diff --git a/doc/man/lttng-disable-event.1.txt b/doc/man/lttng-disable-event.1.txt index 7ace9d1b4..710e6d9dc 100644 --- a/doc/man/lttng-disable-event.1.txt +++ b/doc/man/lttng-disable-event.1.txt @@ -1,6 +1,6 @@ lttng-disable-event(1) ====================== -:revdate: 3 May 2021 +:revdate: 17 May 2021 NAME @@ -47,6 +47,9 @@ With the option:--channel='CHANNEL' option:: Without the option:--channel option:: The channel named `channel0`. ++ +If there's more than one channel for the selected tracing session and +domain, the `disable-event` command fails. See man:lttng-concepts(7) to learn more about recording event rules. @@ -56,6 +59,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. @@ -69,8 +77,10 @@ You may disable an enabled recording event rule regardless of the activity (started or stopped) of its tracing session (see man:lttng-start(1) and man:lttng-stop(1)). +See the ``<>'' section below for usage examples. + -include::common-cmd-options-head.txt[] +include::common-lttng-cmd-options-head.txt[] Tracing domain @@ -135,9 +145,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 @@ -147,10 +154,57 @@ option:-a, option:--all-events:: condition. -include::common-cmd-help-options.txt[] +include::common-lttng-cmd-help-options.txt[] + + +include::common-lttng-cmd-after-options.txt[] + + +[[examples]] +EXAMPLES +-------- +.Disable all Linux kernel tracepoint recording event rules in the default channel of the current tracing session. +==== +See the option:--all-events option. + +[role="term"] +---- +$ lttng disable-event --kernel --tracepoint --all-events +---- +==== + +.Disable specific Apache log4j recording event rules in the default channel of a specific tracing session. +==== +See the option:--session option. + +[role="term"] +---- +$ lttng disable-event --session=my-session --log4j \ + MySingleton,MyProxy,MyFacade +---- +==== + +.Disable all user space recording event rules in a specific channel of the current tracing session. +==== +See the option:--channel option. + +[role="term"] +---- +$ lttng disable-event --channel=my-channel --userspace \ + --all-events +---- +==== + +.Disable specific Linux kernel system call recording event rules in the default channel of the current tracing session. +==== +[role="term"] +---- +$ lttng disable-event --kernel --syscall pipe2,eventfd +---- +==== -include::common-cmd-footer.txt[] +include::common-footer.txt[] SEE ALSO