Add chrome slice names metric
Use cases include deobfuscating slice names by getting the output of this metric,
generating, and prepending a translation table to the trace.
Bug: 223172259
Change-Id: Ic8c48d1e172e7fba24c8ea1ae2efdf1f240fd215
diff --git a/Android.bp b/Android.bp
index 7938adb..033a182 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3738,6 +3738,7 @@
"protos/perfetto/metrics/chrome/performance_mark_hashes.proto",
"protos/perfetto/metrics/chrome/reported_by_page.proto",
"protos/perfetto/metrics/chrome/scroll_jank.proto",
+ "protos/perfetto/metrics/chrome/slice_names.proto",
"protos/perfetto/metrics/chrome/test_chrome_metric.proto",
"protos/perfetto/metrics/chrome/touch_jank.proto",
"protos/perfetto/metrics/chrome/user_event_hashes.proto",
@@ -8415,6 +8416,7 @@
"src/trace_processor/metrics/sql/chrome/chrome_histogram_hashes.sql",
"src/trace_processor/metrics/sql/chrome/chrome_performance_mark_hashes.sql",
"src/trace_processor/metrics/sql/chrome/chrome_processes.sql",
+ "src/trace_processor/metrics/sql/chrome/chrome_slice_names.sql",
"src/trace_processor/metrics/sql/chrome/chrome_thread_slice.sql",
"src/trace_processor/metrics/sql/chrome/chrome_user_event_hashes.sql",
"src/trace_processor/metrics/sql/chrome/cpu_time_by_category.sql",