Implement a native "v3" scroll jank metric in Perfetto.
This new metric is based on the v3 scroll jank already
implemented in https://r.android.com/2615457.
Bug: b/287034587,b/287255599
Test: Tested with Trace Processor diff tests.
Change-Id: I12263f8690e5eeda071729ae4c5c8d283a86f98a
diff --git a/Android.bp b/Android.bp
index 3807849..46cb8fe 100644
--- a/Android.bp
+++ b/Android.bp
@@ -4435,6 +4435,7 @@
"protos/perfetto/metrics/chrome/reported_by_page.proto",
"protos/perfetto/metrics/chrome/scroll_jank.proto",
"protos/perfetto/metrics/chrome/scroll_jank_v2.proto",
+ "protos/perfetto/metrics/chrome/scroll_jank_v3.proto",
"protos/perfetto/metrics/chrome/slice_names.proto",
"protos/perfetto/metrics/chrome/test_chrome_metric.proto",
"protos/perfetto/metrics/chrome/touch_jank.proto",
@@ -10218,6 +10219,7 @@
"src/trace_processor/metrics/sql/chrome/chrome_scroll_inputs_per_frame.sql",
"src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_caused_by_scheduling.sql",
"src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_v2.sql",
+ "src/trace_processor/metrics/sql/chrome/chrome_scroll_jank_v3.sql",
"src/trace_processor/metrics/sql/chrome/chrome_slice_names.sql",
"src/trace_processor/metrics/sql/chrome/chrome_stack_samples_for_task.sql",
"src/trace_processor/metrics/sql/chrome/chrome_tasks.sql",
@@ -10248,7 +10250,6 @@
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_blocking_touch_move.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_get_bitmap.sql",
"src/trace_processor/metrics/sql/chrome/scroll_jank_cause_queuing_delay.sql",
- "src/trace_processor/metrics/sql/chrome/scroll_jank_v3.sql",
"src/trace_processor/metrics/sql/chrome/sufficient_chrome_processes.sql",
"src/trace_processor/metrics/sql/chrome/test_chrome_metric.sql",
"src/trace_processor/metrics/sql/chrome/touch_flow_event.sql",