diff options
Diffstat (limited to 'src/trace_processor/perfetto_sql/stdlib/viz')
-rw-r--r-- | src/trace_processor/perfetto_sql/stdlib/viz/summary/BUILD.gn | 1 | ||||
-rw-r--r-- | src/trace_processor/perfetto_sql/stdlib/viz/summary/counters.sql | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/trace_processor/perfetto_sql/stdlib/viz/summary/BUILD.gn b/src/trace_processor/perfetto_sql/stdlib/viz/summary/BUILD.gn index 3f664bd72..b02d5a7d2 100644 --- a/src/trace_processor/perfetto_sql/stdlib/viz/summary/BUILD.gn +++ b/src/trace_processor/perfetto_sql/stdlib/viz/summary/BUILD.gn @@ -16,6 +16,7 @@ import("../../../../../../gn/perfetto_sql.gni") perfetto_sql_source_set("summary") { sources = [ + "counters.sql", "processes.sql", "slices.sql", "threads.sql", diff --git a/src/trace_processor/perfetto_sql/stdlib/viz/summary/counters.sql b/src/trace_processor/perfetto_sql/stdlib/viz/summary/counters.sql new file mode 100644 index 000000000..7ae6d1309 --- /dev/null +++ b/src/trace_processor/perfetto_sql/stdlib/viz/summary/counters.sql @@ -0,0 +1,18 @@ +-- +-- Copyright 2024 The Android Open Source Project +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- https://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. + +CREATE PERFETTO TABLE _counter_track_summary AS +SELECT DISTINCT track_id as id +FROM counter; |