From c3f4903096863cf7416cd00b4f580a9aa61e4228 Mon Sep 17 00:00:00 2001 From: Nicolo' Mazzucato Date: Mon, 12 Aug 2024 09:51:44 +0000 Subject: [PATCH] Fix exception when pinning multiple metrics Bug: 354119654 Test: pinned multiple metrics Change-Id: Ie7ca1cf5ca22d401a783cf17dde5d110765f80be --- .../dev.perfetto.PinAndroidPerfMetrics/handlers/pinCujScoped.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/plugins/dev.perfetto.PinAndroidPerfMetrics/handlers/pinCujScoped.ts b/ui/src/plugins/dev.perfetto.PinAndroidPerfMetrics/handlers/pinCujScoped.ts index 14065f3b6c..19c4ba28b1 100644 --- a/ui/src/plugins/dev.perfetto.PinAndroidPerfMetrics/handlers/pinCujScoped.ts +++ b/ui/src/plugins/dev.perfetto.PinAndroidPerfMetrics/handlers/pinCujScoped.ts @@ -112,7 +112,7 @@ class PinCujScopedJank implements MetricHandler { const processName = metricData.process; const createJankyCujFrameTable = ` - CREATE PERFETTO TABLE _janky_frames_during_cuj_from_metric_key AS + CREATE OR REPLACE PERFETTO TABLE _janky_frames_during_cuj_from_metric_key AS SELECT f.vsync as id, f.ts AS ts,