Hide time_in_state thread counter tracks
time_in_state annotations provide better visualization.
Bug: 157216280
Test: manual
Change-Id: I20a74f91173a95635931ede1c11acc30f4da3dfe
diff --git a/ui/src/controller/trace_controller.ts b/ui/src/controller/trace_controller.ts
index 14f2b8a..deeae01 100644
--- a/ui/src/controller/trace_controller.ts
+++ b/ui/src/controller/trace_controller.ts
@@ -159,7 +159,7 @@
const selectionArgs: SelectionControllerArgs = {engine};
childControllers.push(
- Child('selection', SelectionController, selectionArgs));
+ Child('selection', SelectionController, selectionArgs));
const cpuProfileArgs: CpuProfileControllerArgs = {engine};
childControllers.push(
@@ -540,6 +540,7 @@
const threadCounters = await engine.query(`
select thread_counter_track.name, utid, thread_counter_track.id,
start_ts, end_ts from thread_counter_track join thread using(utid)
+ where thread_counter_track.name not in ('time_in_state')
`);
for (let i = 0; i < threadCounters.numRecords; i++) {
const name = threadCounters.columns[0].stringValues![i];