stdlib: Add Wattson idle attribution cost
Add Perfetto stdlib tables for calculating idle exit costs, for both
shallow idle and deep idle, with functionality to attribute that cost to
a thread.
Test: tools/diff_test_trace_processor.py out/linux/trace_processor_shell --name-filter '.*wattson_thread.*'
Bug: 359959887
Change-Id: I9922d3b1549bdb3fae4e956e48525093edd7475e
Signed-off-by: Samuel Wu <wusamuel@google.com>
diff --git a/Android.bp b/Android.bp
index 63a2aae..f3b1593 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13368,6 +13368,7 @@
"src/trace_processor/perfetto_sql/stdlib/wattson/cpu_split.sql",
"src/trace_processor/perfetto_sql/stdlib/wattson/curves/device.sql",
"src/trace_processor/perfetto_sql/stdlib/wattson/curves/grouped.sql",
+ "src/trace_processor/perfetto_sql/stdlib/wattson/curves/idle_attribution.sql",
"src/trace_processor/perfetto_sql/stdlib/wattson/curves/ungrouped.sql",
"src/trace_processor/perfetto_sql/stdlib/wattson/curves/utils.sql",
"src/trace_processor/perfetto_sql/stdlib/wattson/device_infos.sql",