Introduce android_fastrpc metric for trace_processor
Adds an android_fastrpc metric to the trace_processor, supporting the
use of those values in CrystalBall metrics output. Implementation is
similar to the android_ion metric as it uses a similar architecture for
tracking allocations in Perfetto.
Test: tools/diff_test_trace_processor.py
Bug: 174068262
Change-Id: I0d9a9270654eda1346bad8751951f2eff098c853
diff --git a/BUILD b/BUILD
index b1cf949..b48555f 100644
--- a/BUILD
+++ b/BUILD
@@ -889,6 +889,7 @@
"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",
+ "src/trace_processor/metrics/android/android_fastrpc.sql",
"src/trace_processor/metrics/android/android_gpu.sql",
"src/trace_processor/metrics/android/android_hwcomposer.sql",
"src/trace_processor/metrics/android/android_hwui_metric.sql",
@@ -2304,6 +2305,7 @@
"protos/perfetto/metrics/android/batt_metric.proto",
"protos/perfetto/metrics/android/cpu_metric.proto",
"protos/perfetto/metrics/android/display_metrics.proto",
+ "protos/perfetto/metrics/android/fastrpc_metric.proto",
"protos/perfetto/metrics/android/g2d_metric.proto",
"protos/perfetto/metrics/android/gpu_metric.proto",
"protos/perfetto/metrics/android/heap_profile_callsites.proto",