diff mbox series

[trace-cmd,v2,3/3] documentation: trace-cmd-report: Document filter scope

Message ID 20230330185211.5604-4-krisman@suse.de (mailing list archive)
State Accepted
Commit f30abfd2110cc1c26ed49a9c6061e76ca2646522
Headers show
Series trace-cmd filtering | expand

Commit Message

Gabriel Krisman Bertazi March 30, 2023, 6:52 p.m. UTC
Document how filters provided before any input files are global while
filters coming after a -i only apply to that filter.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
---
 Documentation/trace-cmd/trace-cmd-report.1.txt | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/trace-cmd/trace-cmd-report.1.txt b/Documentation/trace-cmd/trace-cmd-report.1.txt
index 71df9a8..ddbde81 100644
--- a/Documentation/trace-cmd/trace-cmd-report.1.txt
+++ b/Documentation/trace-cmd/trace-cmd-report.1.txt
@@ -69,8 +69,12 @@  OPTIONS
     is only to the microsecond. To see the full timestamp, add the *-t* option.
 
 *-F* 'filter'::
-    Add a filter to limit what events are displayed. The format of the filter
-    is:
+    Add a filter to limit what events are displayed.  Filters defined
+    after an input file (specified with *-i*) only apply to that
+    input file. Filters provided before any input file is given are
+    considered global and apply to all input files.
+
+    The format of the filter is:
 
 [source,bison]
 ----