xref: /aosp_15_r20/external/perfetto/protos/perfetto/trace/android/winscope.proto (revision 6dbdd20afdafa5e3ca9b8809fa73465d530080dc)
1/*
2 * Copyright (C) 2023 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 *      http://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 */
16
17syntax = "proto2";
18
19package perfetto.protos;
20
21import "protos/perfetto/trace/android/android_input_event.proto";
22import "protos/perfetto/trace/android/protolog.proto";
23import "protos/perfetto/trace/android/shell_transition.proto";
24import "protos/perfetto/trace/android/surfaceflinger_layers.proto";
25import "protos/perfetto/trace/android/surfaceflinger_transactions.proto";
26import "protos/perfetto/trace/android/viewcapture.proto";
27import "protos/perfetto/trace/android/winscope_extensions_impl.proto";
28
29// This file is used to generated descriptors for all the winscope protos.
30// List all the winscope top-level trace messages here:
31message WinscopeTraceData {
32  optional LayersSnapshotProto layers_snapshot = 1;
33  optional TransactionTraceEntry transactions = 2;
34  optional ShellTransition shell_transition = 3;
35  optional ProtoLogMessage protolog_message = 4;
36  optional WinscopeExtensionsImpl winscope_extensions = 5;
37  optional ViewCapture viewcapture = 6;
38  optional AndroidInputEvent android_input_event = 7;
39}
40