perfetto_cmd: use new atoms for logging triggers
This CL implements the new trigger logging mechanism in perfetto_cmd
which only logs counts instead of events.
Doc: go/perfetto-failure-stats
Bug: 174150911
Change-Id: I873082787690baac18050e5690119c0ad84ad8df
diff --git a/Android.bp b/Android.bp
index 94d025d..c12e7fa 100644
--- a/Android.bp
+++ b/Android.bp
@@ -852,6 +852,7 @@
":perfetto_protos_perfetto_trace_track_event_zero_gen",
":perfetto_src_android_internal_headers",
":perfetto_src_android_internal_lazy_library_loader",
+ ":perfetto_src_android_stats_android_stats",
":perfetto_src_android_stats_perfetto_atoms",
":perfetto_src_base_base",
":perfetto_src_base_unix_socket",
@@ -6223,6 +6224,14 @@
],
}
+// GN: //src/android_stats:android_stats
+filegroup {
+ name: "perfetto_src_android_stats_android_stats",
+ srcs: [
+ "src/android_stats/statsd_logging_helper.cc",
+ ],
+}
+
// GN: //src/android_stats:perfetto_atoms
filegroup {
name: "perfetto_src_android_stats_perfetto_atoms",
@@ -8346,6 +8355,7 @@
":perfetto_protos_perfetto_trace_track_event_zero_gen",
":perfetto_src_android_internal_headers",
":perfetto_src_android_internal_lazy_library_loader",
+ ":perfetto_src_android_stats_android_stats",
":perfetto_src_android_stats_perfetto_atoms",
":perfetto_src_base_base",
":perfetto_src_base_test_support",