tp: add holistic camera metric
This metric for now indicates the memory pressure that use of the camera
is putting on the rest of the system.
Change-Id: I4c67953234ce3b8b6e9739735191efe6ac5cfec9
Bug: 194953646
diff --git a/Android.bp b/Android.bp
index 563cfa8..1908394 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3652,6 +3652,7 @@
name: "perfetto_protos_perfetto_metrics_chrome_descriptor",
srcs: [
"protos/perfetto/metrics/android/batt_metric.proto",
+ "protos/perfetto/metrics/android/camera_metric.proto",
"protos/perfetto/metrics/android/cpu_metric.proto",
"protos/perfetto/metrics/android/display_metrics.proto",
"protos/perfetto/metrics/android/dma_heap_metric.proto",
@@ -3706,6 +3707,7 @@
name: "perfetto_protos_perfetto_metrics_descriptor",
srcs: [
"protos/perfetto/metrics/android/batt_metric.proto",
+ "protos/perfetto/metrics/android/camera_metric.proto",
"protos/perfetto/metrics/android/cpu_metric.proto",
"protos/perfetto/metrics/android/display_metrics.proto",
"protos/perfetto/metrics/android/dma_heap_metric.proto",
@@ -7989,6 +7991,7 @@
name: "perfetto_src_trace_processor_metrics_gen_merged_sql_metrics",
srcs: [
"src/trace_processor/metrics/android/android_batt.sql",
+ "src/trace_processor/metrics/android/android_camera.sql",
"src/trace_processor/metrics/android/android_cpu.sql",
"src/trace_processor/metrics/android/android_cpu_agg.sql",
"src/trace_processor/metrics/android/android_cpu_raw_metrics_per_core.sql",