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/BUILD b/BUILD
index 9e1fcd0..2e6dab3 100644
--- a/BUILD
+++ b/BUILD
@@ -1014,6 +1014,7 @@
name = "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",
@@ -2549,6 +2550,7 @@
name = "protos_perfetto_metrics_android_protos",
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",