Runnable thread count and active CPU count
Implement plugin for monitoring the system load (number of thread
eligible to run over time and the number of CPUs running tasks).
This includes:
- New counter tracks
- SQL stdlib data model
- Commands to add these tracks
This also includes adding more rendering customisation options
to base_counter_track, including:
- dynamic value range scaling to viewport
- turning off dynamic value snapping
Change-Id: I99d79a1edbba85ae1c8395ee8b760d50f6f40c26
diff --git a/Android.bp b/Android.bp
index 66838b7..3e99ace 100644
--- a/Android.bp
+++ b/Android.bp
@@ -11790,8 +11790,10 @@
"src/trace_processor/perfetto_sql/stdlib/experimental/slices.sql",
"src/trace_processor/perfetto_sql/stdlib/experimental/thread_executing_span.sql",
"src/trace_processor/perfetto_sql/stdlib/experimental/thread_state_flattened.sql",
+ "src/trace_processor/perfetto_sql/stdlib/intervals/overlap.sql",
"src/trace_processor/perfetto_sql/stdlib/linux/cpu_idle.sql",
"src/trace_processor/perfetto_sql/stdlib/pkvm/hypervisor.sql",
+ "src/trace_processor/perfetto_sql/stdlib/sched/thread_level_parallelism.sql",
],
cmd: "$(location tools/gen_amalgamated_sql.py) --namespace=stdlib --cpp-out=$(out) $(in)",
out: [