tracing: Add event filter logic for !(...)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tracing: Add NOT to filtering logickernel/ | +18 | 0 replies | |
| 2/3 | tracing: Allow NOT to filter AND and OR clauseskernel/ | +5 | 0 replies | |
| 3/3 | ftracetests: Add test to test event filter logictools/ | +200 | 13 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] tracing: Add event filter logic for !(...)
There's no changes to the first patch that you can see from here:
http://lkml.kernel.org/r/[email protected]
But I added two more patches:
1) adds the logic to do ! with the AND and OR cases. Like:
!(prev_pid == 0 && next_pid == 1)
2) I added ftracetests selftest to test a bunch of filter cases. I can probably add more, but this is a start.
Steven Rostedt (Red Hat) (3):
tracing: Add NOT to filtering logic
tracing: Allow NOT to filter AND and OR clauses
ftracetests: Add test to test event filter logic
----
kernel/trace/trace_events_filter.c | 29 ++- .../selftests/ftrace/test.d/ftrace/filter.tc | 200 +++++++++++++++++++++ 2 files changed, 223 insertions(+), 6 deletions(-)