• 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_TRACE_TEST_EVENT_PZC_H_
21 #define INCLUDE_PERFETTO_PUBLIC_PROTOS_TRACE_TEST_EVENT_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_DebugAnnotation);
29 PERFETTO_PB_MSG_DECL(perfetto_protos_TestEvent_TestPayload);
30 
31 PERFETTO_PB_MSG(perfetto_protos_TestEvent);
32 PERFETTO_PB_FIELD(perfetto_protos_TestEvent, STRING, const char*, str, 1);
33 PERFETTO_PB_FIELD(perfetto_protos_TestEvent, VARINT, uint32_t, seq_value, 2);
34 PERFETTO_PB_FIELD(perfetto_protos_TestEvent, VARINT, uint64_t, counter, 3);
35 PERFETTO_PB_FIELD(perfetto_protos_TestEvent, VARINT, bool, is_last, 4);
36 PERFETTO_PB_FIELD(perfetto_protos_TestEvent,
37                   MSG,
38                   perfetto_protos_TestEvent_TestPayload,
39                   payload,
40                   5);
41 
42 PERFETTO_PB_MSG(perfetto_protos_TestEvent_TestPayload);
43 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
44                   STRING,
45                   const char*,
46                   str,
47                   1);
48 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
49                   MSG,
50                   perfetto_protos_TestEvent_TestPayload,
51                   nested,
52                   2);
53 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
54                   STRING,
55                   const char*,
56                   single_string,
57                   4);
58 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
59                   VARINT,
60                   int32_t,
61                   single_int,
62                   5);
63 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
64                   VARINT,
65                   int32_t,
66                   repeated_ints,
67                   6);
68 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
69                   VARINT,
70                   uint32_t,
71                   remaining_nesting_depth,
72                   3);
73 PERFETTO_PB_FIELD(perfetto_protos_TestEvent_TestPayload,
74                   MSG,
75                   perfetto_protos_DebugAnnotation,
76                   debug_annotations,
77                   7);
78 
79 #endif  // INCLUDE_PERFETTO_PUBLIC_PROTOS_TRACE_TEST_EVENT_PZC_H_
80