From: Philippe Proulx Date: Thu, 13 May 2021 02:59:59 +0000 (-0400) Subject: lttng-{enable-event(1),event-rule(7)}: `--filter` is not always avail. X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=4ccdbb61116a1ec301328353d18e705221f35ecc lttng-{enable-event(1),event-rule(7)}: `--filter` is not always avail. The `--filter` option of both lttng-enable-event(1) and a common event rule specification is not available with the Linux kprobe, kretprobe, and user space probe instrumentation point types. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau Change-Id: I2cea488359bbe8ac8494d785fe3282419ee66d46 --- diff --git a/doc/man/lttng-enable-event.1.txt b/doc/man/lttng-enable-event.1.txt index 526266fe1..eab060cad 100644 --- a/doc/man/lttng-enable-event.1.txt +++ b/doc/man/lttng-enable-event.1.txt @@ -1,6 +1,6 @@ lttng-enable-event(1) ===================== -:revdate: 3 May 2021 +:revdate: 12 May 2021 NAME @@ -24,7 +24,7 @@ created from a dynamic instrumentation point: [verse] *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *enable-event* option:--kernel (option:--probe='LOC' | option:--function='LOC' | option:--userspace-probe='LOC') 'RECORDNAME' - [option:--filter='EXPR'] [option:--session='SESSION'] [option:--channel='CHANNEL'] + [option:--session='SESSION'] [option:--channel='CHANNEL'] Create or enable one or more recording event rules to match user space tracepoint events: @@ -395,6 +395,10 @@ An event{nbsp}__E__ satisfies the event payload and context filter condition of a recording event rule if the option:--filter='EXPR' option is missing or if 'EXPR' is _true_. +This condition is only meaningful for the LTTng tracepoint and Linux +system call instrumentation point types: it's always satisfied for other +types. + 'EXPR' can contain references to the payload fields of{nbsp}__E__ and to the current context fields. @@ -843,6 +847,9 @@ section above. option:-f 'EXPR', option:--filter='EXPR':: Only match events of which 'EXPR', which can contain references to event payload and current context fields, is _true_. ++ +This option is only available with the option:--tracepoint or +option:--syscall option. include::common-lttng-cmd-help-options.txt[] diff --git a/doc/man/lttng-event-rule.7.txt b/doc/man/lttng-event-rule.7.txt index 3af260440..7f181589c 100644 --- a/doc/man/lttng-event-rule.7.txt +++ b/doc/man/lttng-event-rule.7.txt @@ -1,6 +1,6 @@ lttng-event-rule(7) =================== -:revdate: 3 May 2021 +:revdate: 12 May 2021 NAME @@ -22,7 +22,7 @@ probe events: [verse] option:--domain=**kernel** option:--type=(**kprobe** | **uprobe**) option:--location='LOC' -pass:[[]option:--event-name='EVENTNAME'] [option:--filter='EXPR'] +pass:[[]option:--event-name='EVENTNAME'] Specify an event rule to match user space tracepoint events: @@ -316,6 +316,10 @@ An event{nbsp}__E__ satisfies the event payload and context filter condition of an event rule if the option:--filter='EXPR' option is missing or if 'EXPR' is _true_. +This condition is only meaningful for the LTTng tracepoint and Linux +system call instrumentation point types: it's always satisfied for other +types. + 'EXPR' can contain references to the payload fields of{nbsp}__E__ and to the current context fields. @@ -754,6 +758,14 @@ section above. option:-f 'EXPR', option:--filter='EXPR':: Only match events of which 'EXPR', which can contain references to event payload and current context fields, is _true_. ++ +This option is only available with the following options: ++ +* option:--type=++tracepoint++ +* option:--type=++syscall++ +* option:--type=++syscall:entry++ +* option:--type=++syscall:exit++ +* option:--type=++syscall:entry+exit++ include::common-footer.txt[]