• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
17 // Autogenerated by the ProtoZero C compiler plugin.
18 // Invoked by tools/gen_c_protos
19 // DO NOT EDIT.
20 #ifndef INCLUDE_PERFETTO_PUBLIC_PROTOS_COMMON_DATA_SOURCE_DESCRIPTOR_PZC_H_
21 #define INCLUDE_PERFETTO_PUBLIC_PROTOS_COMMON_DATA_SOURCE_DESCRIPTOR_PZC_H_
22 
23 #include <stdbool.h>
24 #include <stdint.h>
25 
26 #include "perfetto/public/pb_macros.h"
27 
28 PERFETTO_PB_MSG_DECL(perfetto_protos_FtraceDescriptor);
29 PERFETTO_PB_MSG_DECL(perfetto_protos_GpuCounterDescriptor);
30 PERFETTO_PB_MSG_DECL(perfetto_protos_TrackEventDescriptor);
31 
32 PERFETTO_PB_MSG(perfetto_protos_DataSourceDescriptor);
33 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
34                   STRING,
35                   const char*,
36                   name,
37                   1);
38 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
39                   VARINT,
40                   uint64_t,
41                   id,
42                   7);
43 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
44                   VARINT,
45                   bool,
46                   will_notify_on_stop,
47                   2);
48 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
49                   VARINT,
50                   bool,
51                   will_notify_on_start,
52                   3);
53 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
54                   VARINT,
55                   bool,
56                   handles_incremental_state_clear,
57                   4);
58 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
59                   VARINT,
60                   bool,
61                   no_flush,
62                   9);
63 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
64                   MSG,
65                   perfetto_protos_GpuCounterDescriptor,
66                   gpu_counter_descriptor,
67                   5);
68 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
69                   MSG,
70                   perfetto_protos_TrackEventDescriptor,
71                   track_event_descriptor,
72                   6);
73 PERFETTO_PB_FIELD(perfetto_protos_DataSourceDescriptor,
74                   MSG,
75                   perfetto_protos_FtraceDescriptor,
76                   ftrace_descriptor,
77                   8);
78 
79 #endif  // INCLUDE_PERFETTO_PUBLIC_PROTOS_COMMON_DATA_SOURCE_DESCRIPTOR_PZC_H_
80