Proto filtering: add core MessageFilter and FilterUtil
This CL adds:
- The core MessageFilter class, which will take care
of filtering on-device.
- The FilterUtil class and related tools/proto_filter
to generate / test filters offline on the host.
Design doc: go/trace-filtering
Bug: 181306741
Test: see new test and fuzzers introduced
Change-Id: I516669d3b6eee746ab306b1f0edd23e89bfbafb3
diff --git a/gn/perfetto_fuzzers.gni b/gn/perfetto_fuzzers.gni
index 049d525..5874f8e 100644
--- a/gn/perfetto_fuzzers.gni
+++ b/gn/perfetto_fuzzers.gni
@@ -19,6 +19,7 @@
"src/ipc:buffered_frame_deserializer_fuzzer",
"src/protozero:protozero_decoder_fuzzer",
"src/protozero/filtering:protozero_bytecode_parser_fuzzer",
+ "src/protozero/filtering:protozero_message_filter_fuzzer",
"src/tracing/core:packet_stream_validator_fuzzer",
"src/trace_processor:trace_processor_fuzzer",
"src/traced/probes/ftrace:cpu_reader_fuzzer",