tracing: Add event filter logic for !(...)
From: | Steven Rostedt <rostedt@goodmis.org> | |
To: | linux-kernel@vger.kernel.org | |
Subject: | [PATCH 0/3] tracing: Add event filter logic for !(...) | |
Date: | Tue, 02 Dec 2014 22:13:34 -0500 | |
Message-ID: | <20141203031334.174087814@goodmis.org> | |
Cc: | Ingo Molnar <mingo@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>, Theodore Tso <tytso@mit.edu>, Alexei Starovoitov <ast@plumgrid.com> | |
Archive‑link: | Article |
There's no changes to the first patch that you can see from here: http://lkml.kernel.org/r/20141202153548.1ce7177e@gandalf.... 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/