aboutsummaryrefslogtreecommitdiff
path: root/ui/src/controller/search_controller.ts
diff options
context:
space:
mode:
authorSteve Golton <stevegolton@google.com>2024-06-05 12:23:38 +0100
committerSteve Golton <stevegolton@google.com>2024-06-05 12:23:38 +0100
commit43cf00fbe761628c5552d85fd92f3490fbf301bc (patch)
tree43b8ddc8d95d4f53bf54fc6502eb6f5167bc1511 /ui/src/controller/search_controller.ts
parentbae0277ffb4489f0ed34b84af727fcdbdc848730 (diff)
downloadperfetto-ui-canary.tar.gz
ui: Canary releaseui-canary
Commands: $ git fetch origin $ git checkout -B ui-canary -t origin/ui-canary $ git merge --strategy=ours origin/main $ git diff --binary origin/main | git apply --reverse --index $ git commit --amend Change-Id: Ib5c17c4a539b05453eb61baf2e0ceb4a60ace40a
Diffstat (limited to 'ui/src/controller/search_controller.ts')
-rw-r--r--ui/src/controller/search_controller.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/controller/search_controller.ts b/ui/src/controller/search_controller.ts
index ba2d35463..bd6a3b133 100644
--- a/ui/src/controller/search_controller.ts
+++ b/ui/src/controller/search_controller.ts
@@ -163,7 +163,7 @@ export class SearchController extends Controller<'main'> {
utids.push(it.utid);
}
- const cpus = await this.engine.getCpus();
+ const cpus = globals.traceContext.cpus;
const maxCpu = Math.max(...cpus, -1);
const res = await this.query(`