Add app deadline missed metrics
Collect App Deadline Missed count as metrics.
Bug: 216246509
Test: <trace_processor_shell> --run-metrics android_frame_timeline_metric <perfetto_trace>
Test: tools/diff_test_trace_processor.py <trace_processor_shell> --query-metric-filter='android_frame_timeline_metric'
Change-Id: I5c79825aa7142856be7bdea2187a131ee8e81894
diff --git a/Android.bp b/Android.bp
index 9d933ea..6824626 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3723,6 +3723,7 @@
genrule {
name: "perfetto_protos_perfetto_metrics_chrome_descriptor",
srcs: [
+ "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
"protos/perfetto/metrics/android/android_trusty_workqueues.proto",
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/binder_metric.proto",
@@ -3792,6 +3793,7 @@
genrule {
name: "perfetto_protos_perfetto_metrics_descriptor",
srcs: [
+ "protos/perfetto/metrics/android/android_frame_timeline_metric.proto",
"protos/perfetto/metrics/android/android_trusty_workqueues.proto",
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/binder_metric.proto",
@@ -8475,6 +8477,7 @@
"src/trace_processor/metrics/sql/android/android_dma_heap.sql",
"src/trace_processor/metrics/sql/android/android_dvfs.sql",
"src/trace_processor/metrics/sql/android/android_fastrpc.sql",
+ "src/trace_processor/metrics/sql/android/android_frame_timeline_metric.sql",
"src/trace_processor/metrics/sql/android/android_gpu.sql",
"src/trace_processor/metrics/sql/android/android_hwcomposer.sql",
"src/trace_processor/metrics/sql/android/android_hwui_metric.sql",