diff options
Diffstat (limited to 'Documentation/trace/events.txt')
-rw-r--r-- | Documentation/trace/events.txt | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Documentation/trace/events.txt b/Documentation/trace/events.txt index bb24c2a0e870..37732a220d33 100644 --- a/Documentation/trace/events.txt +++ b/Documentation/trace/events.txt | |||
@@ -183,13 +183,22 @@ The relational-operators depend on the type of the field being tested: | |||
183 | 183 | ||
184 | The operators available for numeric fields are: | 184 | The operators available for numeric fields are: |
185 | 185 | ||
186 | ==, !=, <, <=, >, >= | 186 | ==, !=, <, <=, >, >=, & |
187 | 187 | ||
188 | And for string fields they are: | 188 | And for string fields they are: |
189 | 189 | ||
190 | ==, != | 190 | ==, !=, ~ |
191 | 191 | ||
192 | Currently, only exact string matches are supported. | 192 | The glob (~) only accepts a wild card character (*) at the start and or |
193 | end of the string. For example: | ||
194 | |||
195 | prev_comm ~ "*sh" | ||
196 | prev_comm ~ "sh*" | ||
197 | prev_comm ~ "*sh*" | ||
198 | |||
199 | But does not allow for it to be within the string: | ||
200 | |||
201 | prev_comm ~ "ba*sh" <-- is invalid | ||
193 | 202 | ||
194 | 5.2 Setting filters | 203 | 5.2 Setting filters |
195 | ------------------- | 204 | ------------------- |