Trace Redaction - Filter print ftrace events Print events are used as many different ways. The most common usecase is logging the begin and end events used by perfetto to display slices. Some system processes use print events to log important events (e.g. LMK). Because print statments are freeform strings but have important usecases redaction can't completely leave them as-is and can't completely remove them. The happy medium is to drop all print statements outside of the target package. Bug: 332547909 Change-Id: I7df5f1e215d4c0605302eb497cbd543aa94ff640
diff --git a/Android.bp b/Android.bp index 0c8ab42..c3e2663 100644 --- a/Android.bp +++ b/Android.bp
@@ -12851,6 +12851,7 @@ srcs: [ "src/trace_redaction/build_timeline.cc", "src/trace_redaction/filter_ftrace_using_allowlist.cc", + "src/trace_redaction/filter_print_events.cc", "src/trace_redaction/filter_sched_waking_events.cc", "src/trace_redaction/find_package_uid.cc", "src/trace_redaction/optimize_timeline.cc",