1-- 2-- Copyright 2020 The Android Open Source Project 3-- 4-- Licensed under the Apache License, Version 2.0 (the "License"); 5-- you may not use this file except in compliance with the License. 6-- You may obtain a copy of the License at 7-- 8-- https://www.apache.org/licenses/LICENSE-2.0 9-- 10-- Unless required by applicable law or agreed to in writing, software 11-- distributed under the License is distributed on an "AS IS" BASIS, 12-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13-- See the License for the specific language governing permissions and 14-- limitations under the License. 15-- 16SELECT track.name AS track_name, gpu_track.description AS track_desc, ts, dur, 17 gpu_slice.name AS slice_name, depth, flat_key, int_value, 18 gpu_slice.context_id, command_buffer, submission_id 19FROM gpu_track 20LEFT JOIN track USING (id) 21INNER JOIN gpu_slice ON gpu_track.id=gpu_slice.track_id 22LEFT JOIN args ON gpu_slice.arg_set_id = args.arg_set_id 23ORDER BY ts; 24