1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: system/extras/simpleperf/branch_list.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/generated_enum_util.h>
33 // @@protoc_insertion_point(includes)
34 #include <google/protobuf/port_def.inc>
35 #define PROTOBUF_INTERNAL_EXPORT_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto
36 PROTOBUF_NAMESPACE_OPEN
37 namespace internal {
38 class AnyMetadata;
39 } // namespace internal
40 PROTOBUF_NAMESPACE_CLOSE
41
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto {
44 static const ::uint32_t offsets[];
45 };
46 namespace simpleperf {
47 namespace proto {
48 class BranchList;
49 struct BranchListDefaultTypeInternal;
50 extern BranchListDefaultTypeInternal _BranchList_default_instance_;
51 class ETMBinary;
52 struct ETMBinaryDefaultTypeInternal;
53 extern ETMBinaryDefaultTypeInternal _ETMBinary_default_instance_;
54 class ETMBinary_Address;
55 struct ETMBinary_AddressDefaultTypeInternal;
56 extern ETMBinary_AddressDefaultTypeInternal _ETMBinary_Address_default_instance_;
57 class ETMBinary_Address_Branch;
58 struct ETMBinary_Address_BranchDefaultTypeInternal;
59 extern ETMBinary_Address_BranchDefaultTypeInternal _ETMBinary_Address_Branch_default_instance_;
60 class ETMBinary_KernelBinaryInfo;
61 struct ETMBinary_KernelBinaryInfoDefaultTypeInternal;
62 extern ETMBinary_KernelBinaryInfoDefaultTypeInternal _ETMBinary_KernelBinaryInfo_default_instance_;
63 class LBRData;
64 struct LBRDataDefaultTypeInternal;
65 extern LBRDataDefaultTypeInternal _LBRData_default_instance_;
66 class LBRData_Binary;
67 struct LBRData_BinaryDefaultTypeInternal;
68 extern LBRData_BinaryDefaultTypeInternal _LBRData_Binary_default_instance_;
69 class LBRData_Sample;
70 struct LBRData_SampleDefaultTypeInternal;
71 extern LBRData_SampleDefaultTypeInternal _LBRData_Sample_default_instance_;
72 class LBRData_Sample_Branch;
73 struct LBRData_Sample_BranchDefaultTypeInternal;
74 extern LBRData_Sample_BranchDefaultTypeInternal _LBRData_Sample_Branch_default_instance_;
75 } // namespace proto
76 } // namespace simpleperf
77 PROTOBUF_NAMESPACE_OPEN
78 template<> ::simpleperf::proto::BranchList* Arena::CreateMaybeMessage<::simpleperf::proto::BranchList>(Arena*);
79 template<> ::simpleperf::proto::ETMBinary* Arena::CreateMaybeMessage<::simpleperf::proto::ETMBinary>(Arena*);
80 template<> ::simpleperf::proto::ETMBinary_Address* Arena::CreateMaybeMessage<::simpleperf::proto::ETMBinary_Address>(Arena*);
81 template<> ::simpleperf::proto::ETMBinary_Address_Branch* Arena::CreateMaybeMessage<::simpleperf::proto::ETMBinary_Address_Branch>(Arena*);
82 template<> ::simpleperf::proto::ETMBinary_KernelBinaryInfo* Arena::CreateMaybeMessage<::simpleperf::proto::ETMBinary_KernelBinaryInfo>(Arena*);
83 template<> ::simpleperf::proto::LBRData* Arena::CreateMaybeMessage<::simpleperf::proto::LBRData>(Arena*);
84 template<> ::simpleperf::proto::LBRData_Binary* Arena::CreateMaybeMessage<::simpleperf::proto::LBRData_Binary>(Arena*);
85 template<> ::simpleperf::proto::LBRData_Sample* Arena::CreateMaybeMessage<::simpleperf::proto::LBRData_Sample>(Arena*);
86 template<> ::simpleperf::proto::LBRData_Sample_Branch* Arena::CreateMaybeMessage<::simpleperf::proto::LBRData_Sample_Branch>(Arena*);
87 PROTOBUF_NAMESPACE_CLOSE
88 namespace simpleperf {
89 namespace proto {
90
91 enum ETMBinary_BinaryType : int {
92 ETMBinary_BinaryType_ELF_FILE = 0,
93 ETMBinary_BinaryType_KERNEL = 1,
94 ETMBinary_BinaryType_KERNEL_MODULE = 2,
95 ETMBinary_BinaryType_ETMBinary_BinaryType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
96 ETMBinary_BinaryType_ETMBinary_BinaryType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
97 };
98 bool ETMBinary_BinaryType_IsValid(int value);
99 constexpr ETMBinary_BinaryType ETMBinary_BinaryType_BinaryType_MIN = ETMBinary_BinaryType_ELF_FILE;
100 constexpr ETMBinary_BinaryType ETMBinary_BinaryType_BinaryType_MAX = ETMBinary_BinaryType_KERNEL_MODULE;
101 constexpr int ETMBinary_BinaryType_BinaryType_ARRAYSIZE = ETMBinary_BinaryType_BinaryType_MAX + 1;
102
103 const std::string& ETMBinary_BinaryType_Name(ETMBinary_BinaryType value);
104 template<typename T>
ETMBinary_BinaryType_Name(T enum_t_value)105 inline const std::string& ETMBinary_BinaryType_Name(T enum_t_value) {
106 static_assert(::std::is_same<T, ETMBinary_BinaryType>::value ||
107 ::std::is_integral<T>::value,
108 "Incorrect type passed to function ETMBinary_BinaryType_Name.");
109 return ETMBinary_BinaryType_Name(static_cast<ETMBinary_BinaryType>(enum_t_value));
110 }
111 bool ETMBinary_BinaryType_Parse(
112 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ETMBinary_BinaryType* value);
113 // ===================================================================
114
115 class BranchList final :
116 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.BranchList) */ {
117 public:
BranchList()118 inline BranchList() : BranchList(nullptr) {}
119 ~BranchList() override;
120 explicit PROTOBUF_CONSTEXPR BranchList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
121
122 BranchList(const BranchList& from);
BranchList(BranchList && from)123 BranchList(BranchList&& from) noexcept
124 : BranchList() {
125 *this = ::std::move(from);
126 }
127
128 inline BranchList& operator=(const BranchList& from) {
129 if (this == &from) return *this;
130 CopyFrom(from);
131 return *this;
132 }
133 inline BranchList& operator=(BranchList&& from) noexcept {
134 if (this == &from) return *this;
135 if (GetOwningArena() == from.GetOwningArena()
136 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
137 && GetOwningArena() != nullptr
138 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
139 ) {
140 InternalSwap(&from);
141 } else {
142 CopyFrom(from);
143 }
144 return *this;
145 }
146
default_instance()147 static const BranchList& default_instance() {
148 return *internal_default_instance();
149 }
internal_default_instance()150 static inline const BranchList* internal_default_instance() {
151 return reinterpret_cast<const BranchList*>(
152 &_BranchList_default_instance_);
153 }
154 static constexpr int kIndexInFileMessages =
155 0;
156
swap(BranchList & a,BranchList & b)157 friend void swap(BranchList& a, BranchList& b) {
158 a.Swap(&b);
159 }
Swap(BranchList * other)160 inline void Swap(BranchList* other) {
161 if (other == this) return;
162 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
163 if (GetOwningArena() != nullptr &&
164 GetOwningArena() == other->GetOwningArena()) {
165 #else // PROTOBUF_FORCE_COPY_IN_SWAP
166 if (GetOwningArena() == other->GetOwningArena()) {
167 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
168 InternalSwap(other);
169 } else {
170 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
171 }
172 }
173 void UnsafeArenaSwap(BranchList* other) {
174 if (other == this) return;
175 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
176 InternalSwap(other);
177 }
178
179 // implements Message ----------------------------------------------
180
181 BranchList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
182 return CreateMaybeMessage<BranchList>(arena);
183 }
184 BranchList* New() const {
185 return New(nullptr);
186 }
187 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
188 void CopyFrom(const BranchList& from);
189 void MergeFrom(const BranchList& from);
190 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
191 bool IsInitialized() const final;
192
193 size_t ByteSizeLong() const final;
194 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
195 ::uint8_t* _InternalSerialize(
196 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
197 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
198
199 private:
200 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
201 void SharedDtor();
202 void SetCachedSize(int size) const;
203 void InternalSwap(BranchList* other);
204
205 private:
206 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
207 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
208 return "simpleperf.proto.BranchList";
209 }
210 protected:
211 explicit BranchList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
212 bool is_message_owned = false);
213 public:
214
215 std::string GetTypeName() const final;
216
217 // nested types ----------------------------------------------------
218
219 // accessors -------------------------------------------------------
220
221 enum : int {
222 kEtmDataFieldNumber = 2,
223 kMagicFieldNumber = 1,
224 kLbrDataFieldNumber = 3,
225 };
226 // repeated .simpleperf.proto.ETMBinary etm_data = 2;
227 int etm_data_size() const;
228 private:
229 int _internal_etm_data_size() const;
230 public:
231 void clear_etm_data();
232 ::simpleperf::proto::ETMBinary* mutable_etm_data(int index);
233 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary >*
234 mutable_etm_data();
235 private:
236 const ::simpleperf::proto::ETMBinary& _internal_etm_data(int index) const;
237 ::simpleperf::proto::ETMBinary* _internal_add_etm_data();
238 public:
239 const ::simpleperf::proto::ETMBinary& etm_data(int index) const;
240 ::simpleperf::proto::ETMBinary* add_etm_data();
241 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary >&
242 etm_data() const;
243
244 // string magic = 1;
245 void clear_magic();
246 const std::string& magic() const;
247 template <typename ArgT0 = const std::string&, typename... ArgT>
248 void set_magic(ArgT0&& arg0, ArgT... args);
249 std::string* mutable_magic();
250 PROTOBUF_NODISCARD std::string* release_magic();
251 void set_allocated_magic(std::string* magic);
252 private:
253 const std::string& _internal_magic() const;
254 inline PROTOBUF_ALWAYS_INLINE void _internal_set_magic(const std::string& value);
255 std::string* _internal_mutable_magic();
256 public:
257
258 // .simpleperf.proto.LBRData lbr_data = 3;
259 bool has_lbr_data() const;
260 private:
261 bool _internal_has_lbr_data() const;
262 public:
263 void clear_lbr_data();
264 const ::simpleperf::proto::LBRData& lbr_data() const;
265 PROTOBUF_NODISCARD ::simpleperf::proto::LBRData* release_lbr_data();
266 ::simpleperf::proto::LBRData* mutable_lbr_data();
267 void set_allocated_lbr_data(::simpleperf::proto::LBRData* lbr_data);
268 private:
269 const ::simpleperf::proto::LBRData& _internal_lbr_data() const;
270 ::simpleperf::proto::LBRData* _internal_mutable_lbr_data();
271 public:
272 void unsafe_arena_set_allocated_lbr_data(
273 ::simpleperf::proto::LBRData* lbr_data);
274 ::simpleperf::proto::LBRData* unsafe_arena_release_lbr_data();
275
276 // @@protoc_insertion_point(class_scope:simpleperf.proto.BranchList)
277 private:
278 class _Internal;
279
280 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
281 typedef void InternalArenaConstructable_;
282 typedef void DestructorSkippable_;
283 struct Impl_ {
284 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary > etm_data_;
285 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr magic_;
286 ::simpleperf::proto::LBRData* lbr_data_;
287 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
288 };
289 union { Impl_ _impl_; };
290 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
291 };
292 // -------------------------------------------------------------------
293
294 class ETMBinary_Address_Branch final :
295 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.ETMBinary.Address.Branch) */ {
296 public:
ETMBinary_Address_Branch()297 inline ETMBinary_Address_Branch() : ETMBinary_Address_Branch(nullptr) {}
298 ~ETMBinary_Address_Branch() override;
299 explicit PROTOBUF_CONSTEXPR ETMBinary_Address_Branch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
300
301 ETMBinary_Address_Branch(const ETMBinary_Address_Branch& from);
ETMBinary_Address_Branch(ETMBinary_Address_Branch && from)302 ETMBinary_Address_Branch(ETMBinary_Address_Branch&& from) noexcept
303 : ETMBinary_Address_Branch() {
304 *this = ::std::move(from);
305 }
306
307 inline ETMBinary_Address_Branch& operator=(const ETMBinary_Address_Branch& from) {
308 if (this == &from) return *this;
309 CopyFrom(from);
310 return *this;
311 }
312 inline ETMBinary_Address_Branch& operator=(ETMBinary_Address_Branch&& from) noexcept {
313 if (this == &from) return *this;
314 if (GetOwningArena() == from.GetOwningArena()
315 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
316 && GetOwningArena() != nullptr
317 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
318 ) {
319 InternalSwap(&from);
320 } else {
321 CopyFrom(from);
322 }
323 return *this;
324 }
325
default_instance()326 static const ETMBinary_Address_Branch& default_instance() {
327 return *internal_default_instance();
328 }
internal_default_instance()329 static inline const ETMBinary_Address_Branch* internal_default_instance() {
330 return reinterpret_cast<const ETMBinary_Address_Branch*>(
331 &_ETMBinary_Address_Branch_default_instance_);
332 }
333 static constexpr int kIndexInFileMessages =
334 1;
335
swap(ETMBinary_Address_Branch & a,ETMBinary_Address_Branch & b)336 friend void swap(ETMBinary_Address_Branch& a, ETMBinary_Address_Branch& b) {
337 a.Swap(&b);
338 }
Swap(ETMBinary_Address_Branch * other)339 inline void Swap(ETMBinary_Address_Branch* other) {
340 if (other == this) return;
341 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
342 if (GetOwningArena() != nullptr &&
343 GetOwningArena() == other->GetOwningArena()) {
344 #else // PROTOBUF_FORCE_COPY_IN_SWAP
345 if (GetOwningArena() == other->GetOwningArena()) {
346 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
347 InternalSwap(other);
348 } else {
349 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
350 }
351 }
352 void UnsafeArenaSwap(ETMBinary_Address_Branch* other) {
353 if (other == this) return;
354 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
355 InternalSwap(other);
356 }
357
358 // implements Message ----------------------------------------------
359
360 ETMBinary_Address_Branch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
361 return CreateMaybeMessage<ETMBinary_Address_Branch>(arena);
362 }
363 ETMBinary_Address_Branch* New() const {
364 return New(nullptr);
365 }
366 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
367 void CopyFrom(const ETMBinary_Address_Branch& from);
368 void MergeFrom(const ETMBinary_Address_Branch& from);
369 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
370 bool IsInitialized() const final;
371
372 size_t ByteSizeLong() const final;
373 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
374 ::uint8_t* _InternalSerialize(
375 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
376 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
377
378 private:
379 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
380 void SharedDtor();
381 void SetCachedSize(int size) const;
382 void InternalSwap(ETMBinary_Address_Branch* other);
383
384 private:
385 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
386 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
387 return "simpleperf.proto.ETMBinary.Address.Branch";
388 }
389 protected:
390 explicit ETMBinary_Address_Branch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
391 bool is_message_owned = false);
392 public:
393
394 std::string GetTypeName() const final;
395
396 // nested types ----------------------------------------------------
397
398 // accessors -------------------------------------------------------
399
400 enum : int {
401 kBranchFieldNumber = 1,
402 kCountFieldNumber = 3,
403 kBranchSizeFieldNumber = 2,
404 };
405 // bytes branch = 1;
406 void clear_branch();
407 const std::string& branch() const;
408 template <typename ArgT0 = const std::string&, typename... ArgT>
409 void set_branch(ArgT0&& arg0, ArgT... args);
410 std::string* mutable_branch();
411 PROTOBUF_NODISCARD std::string* release_branch();
412 void set_allocated_branch(std::string* branch);
413 private:
414 const std::string& _internal_branch() const;
415 inline PROTOBUF_ALWAYS_INLINE void _internal_set_branch(const std::string& value);
416 std::string* _internal_mutable_branch();
417 public:
418
419 // uint64 count = 3;
420 void clear_count();
421 ::uint64_t count() const;
422 void set_count(::uint64_t value);
423 private:
424 ::uint64_t _internal_count() const;
425 void _internal_set_count(::uint64_t value);
426 public:
427
428 // uint32 branch_size = 2;
429 void clear_branch_size();
430 ::uint32_t branch_size() const;
431 void set_branch_size(::uint32_t value);
432 private:
433 ::uint32_t _internal_branch_size() const;
434 void _internal_set_branch_size(::uint32_t value);
435 public:
436
437 // @@protoc_insertion_point(class_scope:simpleperf.proto.ETMBinary.Address.Branch)
438 private:
439 class _Internal;
440
441 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
442 typedef void InternalArenaConstructable_;
443 typedef void DestructorSkippable_;
444 struct Impl_ {
445 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr branch_;
446 ::uint64_t count_;
447 ::uint32_t branch_size_;
448 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
449 };
450 union { Impl_ _impl_; };
451 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
452 };
453 // -------------------------------------------------------------------
454
455 class ETMBinary_Address final :
456 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.ETMBinary.Address) */ {
457 public:
ETMBinary_Address()458 inline ETMBinary_Address() : ETMBinary_Address(nullptr) {}
459 ~ETMBinary_Address() override;
460 explicit PROTOBUF_CONSTEXPR ETMBinary_Address(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
461
462 ETMBinary_Address(const ETMBinary_Address& from);
ETMBinary_Address(ETMBinary_Address && from)463 ETMBinary_Address(ETMBinary_Address&& from) noexcept
464 : ETMBinary_Address() {
465 *this = ::std::move(from);
466 }
467
468 inline ETMBinary_Address& operator=(const ETMBinary_Address& from) {
469 if (this == &from) return *this;
470 CopyFrom(from);
471 return *this;
472 }
473 inline ETMBinary_Address& operator=(ETMBinary_Address&& from) noexcept {
474 if (this == &from) return *this;
475 if (GetOwningArena() == from.GetOwningArena()
476 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
477 && GetOwningArena() != nullptr
478 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
479 ) {
480 InternalSwap(&from);
481 } else {
482 CopyFrom(from);
483 }
484 return *this;
485 }
486
default_instance()487 static const ETMBinary_Address& default_instance() {
488 return *internal_default_instance();
489 }
internal_default_instance()490 static inline const ETMBinary_Address* internal_default_instance() {
491 return reinterpret_cast<const ETMBinary_Address*>(
492 &_ETMBinary_Address_default_instance_);
493 }
494 static constexpr int kIndexInFileMessages =
495 2;
496
swap(ETMBinary_Address & a,ETMBinary_Address & b)497 friend void swap(ETMBinary_Address& a, ETMBinary_Address& b) {
498 a.Swap(&b);
499 }
Swap(ETMBinary_Address * other)500 inline void Swap(ETMBinary_Address* other) {
501 if (other == this) return;
502 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
503 if (GetOwningArena() != nullptr &&
504 GetOwningArena() == other->GetOwningArena()) {
505 #else // PROTOBUF_FORCE_COPY_IN_SWAP
506 if (GetOwningArena() == other->GetOwningArena()) {
507 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
508 InternalSwap(other);
509 } else {
510 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
511 }
512 }
513 void UnsafeArenaSwap(ETMBinary_Address* other) {
514 if (other == this) return;
515 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
516 InternalSwap(other);
517 }
518
519 // implements Message ----------------------------------------------
520
521 ETMBinary_Address* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
522 return CreateMaybeMessage<ETMBinary_Address>(arena);
523 }
524 ETMBinary_Address* New() const {
525 return New(nullptr);
526 }
527 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
528 void CopyFrom(const ETMBinary_Address& from);
529 void MergeFrom(const ETMBinary_Address& from);
530 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
531 bool IsInitialized() const final;
532
533 size_t ByteSizeLong() const final;
534 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
535 ::uint8_t* _InternalSerialize(
536 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
537 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
538
539 private:
540 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
541 void SharedDtor();
542 void SetCachedSize(int size) const;
543 void InternalSwap(ETMBinary_Address* other);
544
545 private:
546 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
547 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
548 return "simpleperf.proto.ETMBinary.Address";
549 }
550 protected:
551 explicit ETMBinary_Address(::PROTOBUF_NAMESPACE_ID::Arena* arena,
552 bool is_message_owned = false);
553 public:
554
555 std::string GetTypeName() const final;
556
557 // nested types ----------------------------------------------------
558
559 typedef ETMBinary_Address_Branch Branch;
560
561 // accessors -------------------------------------------------------
562
563 enum : int {
564 kBranchesFieldNumber = 2,
565 kAddrFieldNumber = 1,
566 };
567 // repeated .simpleperf.proto.ETMBinary.Address.Branch branches = 2;
568 int branches_size() const;
569 private:
570 int _internal_branches_size() const;
571 public:
572 void clear_branches();
573 ::simpleperf::proto::ETMBinary_Address_Branch* mutable_branches(int index);
574 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address_Branch >*
575 mutable_branches();
576 private:
577 const ::simpleperf::proto::ETMBinary_Address_Branch& _internal_branches(int index) const;
578 ::simpleperf::proto::ETMBinary_Address_Branch* _internal_add_branches();
579 public:
580 const ::simpleperf::proto::ETMBinary_Address_Branch& branches(int index) const;
581 ::simpleperf::proto::ETMBinary_Address_Branch* add_branches();
582 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address_Branch >&
583 branches() const;
584
585 // uint64 addr = 1;
586 void clear_addr();
587 ::uint64_t addr() const;
588 void set_addr(::uint64_t value);
589 private:
590 ::uint64_t _internal_addr() const;
591 void _internal_set_addr(::uint64_t value);
592 public:
593
594 // @@protoc_insertion_point(class_scope:simpleperf.proto.ETMBinary.Address)
595 private:
596 class _Internal;
597
598 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
599 typedef void InternalArenaConstructable_;
600 typedef void DestructorSkippable_;
601 struct Impl_ {
602 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address_Branch > branches_;
603 ::uint64_t addr_;
604 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
605 };
606 union { Impl_ _impl_; };
607 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
608 };
609 // -------------------------------------------------------------------
610
611 class ETMBinary_KernelBinaryInfo final :
612 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.ETMBinary.KernelBinaryInfo) */ {
613 public:
ETMBinary_KernelBinaryInfo()614 inline ETMBinary_KernelBinaryInfo() : ETMBinary_KernelBinaryInfo(nullptr) {}
615 ~ETMBinary_KernelBinaryInfo() override;
616 explicit PROTOBUF_CONSTEXPR ETMBinary_KernelBinaryInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
617
618 ETMBinary_KernelBinaryInfo(const ETMBinary_KernelBinaryInfo& from);
ETMBinary_KernelBinaryInfo(ETMBinary_KernelBinaryInfo && from)619 ETMBinary_KernelBinaryInfo(ETMBinary_KernelBinaryInfo&& from) noexcept
620 : ETMBinary_KernelBinaryInfo() {
621 *this = ::std::move(from);
622 }
623
624 inline ETMBinary_KernelBinaryInfo& operator=(const ETMBinary_KernelBinaryInfo& from) {
625 if (this == &from) return *this;
626 CopyFrom(from);
627 return *this;
628 }
629 inline ETMBinary_KernelBinaryInfo& operator=(ETMBinary_KernelBinaryInfo&& from) noexcept {
630 if (this == &from) return *this;
631 if (GetOwningArena() == from.GetOwningArena()
632 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
633 && GetOwningArena() != nullptr
634 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
635 ) {
636 InternalSwap(&from);
637 } else {
638 CopyFrom(from);
639 }
640 return *this;
641 }
642
default_instance()643 static const ETMBinary_KernelBinaryInfo& default_instance() {
644 return *internal_default_instance();
645 }
internal_default_instance()646 static inline const ETMBinary_KernelBinaryInfo* internal_default_instance() {
647 return reinterpret_cast<const ETMBinary_KernelBinaryInfo*>(
648 &_ETMBinary_KernelBinaryInfo_default_instance_);
649 }
650 static constexpr int kIndexInFileMessages =
651 3;
652
swap(ETMBinary_KernelBinaryInfo & a,ETMBinary_KernelBinaryInfo & b)653 friend void swap(ETMBinary_KernelBinaryInfo& a, ETMBinary_KernelBinaryInfo& b) {
654 a.Swap(&b);
655 }
Swap(ETMBinary_KernelBinaryInfo * other)656 inline void Swap(ETMBinary_KernelBinaryInfo* other) {
657 if (other == this) return;
658 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
659 if (GetOwningArena() != nullptr &&
660 GetOwningArena() == other->GetOwningArena()) {
661 #else // PROTOBUF_FORCE_COPY_IN_SWAP
662 if (GetOwningArena() == other->GetOwningArena()) {
663 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
664 InternalSwap(other);
665 } else {
666 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
667 }
668 }
669 void UnsafeArenaSwap(ETMBinary_KernelBinaryInfo* other) {
670 if (other == this) return;
671 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
672 InternalSwap(other);
673 }
674
675 // implements Message ----------------------------------------------
676
677 ETMBinary_KernelBinaryInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
678 return CreateMaybeMessage<ETMBinary_KernelBinaryInfo>(arena);
679 }
680 ETMBinary_KernelBinaryInfo* New() const {
681 return New(nullptr);
682 }
683 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
684 void CopyFrom(const ETMBinary_KernelBinaryInfo& from);
685 void MergeFrom(const ETMBinary_KernelBinaryInfo& from);
686 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
687 bool IsInitialized() const final;
688
689 size_t ByteSizeLong() const final;
690 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
691 ::uint8_t* _InternalSerialize(
692 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
693 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
694
695 private:
696 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
697 void SharedDtor();
698 void SetCachedSize(int size) const;
699 void InternalSwap(ETMBinary_KernelBinaryInfo* other);
700
701 private:
702 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
703 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
704 return "simpleperf.proto.ETMBinary.KernelBinaryInfo";
705 }
706 protected:
707 explicit ETMBinary_KernelBinaryInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
708 bool is_message_owned = false);
709 public:
710
711 std::string GetTypeName() const final;
712
713 // nested types ----------------------------------------------------
714
715 // accessors -------------------------------------------------------
716
717 enum : int {
718 kKernelStartAddrFieldNumber = 1,
719 };
720 // uint64 kernel_start_addr = 1;
721 void clear_kernel_start_addr();
722 ::uint64_t kernel_start_addr() const;
723 void set_kernel_start_addr(::uint64_t value);
724 private:
725 ::uint64_t _internal_kernel_start_addr() const;
726 void _internal_set_kernel_start_addr(::uint64_t value);
727 public:
728
729 // @@protoc_insertion_point(class_scope:simpleperf.proto.ETMBinary.KernelBinaryInfo)
730 private:
731 class _Internal;
732
733 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
734 typedef void InternalArenaConstructable_;
735 typedef void DestructorSkippable_;
736 struct Impl_ {
737 ::uint64_t kernel_start_addr_;
738 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
739 };
740 union { Impl_ _impl_; };
741 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
742 };
743 // -------------------------------------------------------------------
744
745 class ETMBinary final :
746 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.ETMBinary) */ {
747 public:
ETMBinary()748 inline ETMBinary() : ETMBinary(nullptr) {}
749 ~ETMBinary() override;
750 explicit PROTOBUF_CONSTEXPR ETMBinary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
751
752 ETMBinary(const ETMBinary& from);
ETMBinary(ETMBinary && from)753 ETMBinary(ETMBinary&& from) noexcept
754 : ETMBinary() {
755 *this = ::std::move(from);
756 }
757
758 inline ETMBinary& operator=(const ETMBinary& from) {
759 if (this == &from) return *this;
760 CopyFrom(from);
761 return *this;
762 }
763 inline ETMBinary& operator=(ETMBinary&& from) noexcept {
764 if (this == &from) return *this;
765 if (GetOwningArena() == from.GetOwningArena()
766 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
767 && GetOwningArena() != nullptr
768 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
769 ) {
770 InternalSwap(&from);
771 } else {
772 CopyFrom(from);
773 }
774 return *this;
775 }
776
default_instance()777 static const ETMBinary& default_instance() {
778 return *internal_default_instance();
779 }
internal_default_instance()780 static inline const ETMBinary* internal_default_instance() {
781 return reinterpret_cast<const ETMBinary*>(
782 &_ETMBinary_default_instance_);
783 }
784 static constexpr int kIndexInFileMessages =
785 4;
786
swap(ETMBinary & a,ETMBinary & b)787 friend void swap(ETMBinary& a, ETMBinary& b) {
788 a.Swap(&b);
789 }
Swap(ETMBinary * other)790 inline void Swap(ETMBinary* other) {
791 if (other == this) return;
792 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
793 if (GetOwningArena() != nullptr &&
794 GetOwningArena() == other->GetOwningArena()) {
795 #else // PROTOBUF_FORCE_COPY_IN_SWAP
796 if (GetOwningArena() == other->GetOwningArena()) {
797 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
798 InternalSwap(other);
799 } else {
800 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
801 }
802 }
803 void UnsafeArenaSwap(ETMBinary* other) {
804 if (other == this) return;
805 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
806 InternalSwap(other);
807 }
808
809 // implements Message ----------------------------------------------
810
811 ETMBinary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
812 return CreateMaybeMessage<ETMBinary>(arena);
813 }
814 ETMBinary* New() const {
815 return New(nullptr);
816 }
817 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
818 void CopyFrom(const ETMBinary& from);
819 void MergeFrom(const ETMBinary& from);
820 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
821 bool IsInitialized() const final;
822
823 size_t ByteSizeLong() const final;
824 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
825 ::uint8_t* _InternalSerialize(
826 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
827 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
828
829 private:
830 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
831 void SharedDtor();
832 void SetCachedSize(int size) const;
833 void InternalSwap(ETMBinary* other);
834
835 private:
836 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
837 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
838 return "simpleperf.proto.ETMBinary";
839 }
840 protected:
841 explicit ETMBinary(::PROTOBUF_NAMESPACE_ID::Arena* arena,
842 bool is_message_owned = false);
843 public:
844
845 std::string GetTypeName() const final;
846
847 // nested types ----------------------------------------------------
848
849 typedef ETMBinary_Address Address;
850 typedef ETMBinary_KernelBinaryInfo KernelBinaryInfo;
851
852 typedef ETMBinary_BinaryType BinaryType;
853 static constexpr BinaryType ELF_FILE =
854 ETMBinary_BinaryType_ELF_FILE;
855 static constexpr BinaryType KERNEL =
856 ETMBinary_BinaryType_KERNEL;
857 static constexpr BinaryType KERNEL_MODULE =
858 ETMBinary_BinaryType_KERNEL_MODULE;
859 static inline bool BinaryType_IsValid(int value) {
860 return ETMBinary_BinaryType_IsValid(value);
861 }
862 static constexpr BinaryType BinaryType_MIN =
863 ETMBinary_BinaryType_BinaryType_MIN;
864 static constexpr BinaryType BinaryType_MAX =
865 ETMBinary_BinaryType_BinaryType_MAX;
866 static constexpr int BinaryType_ARRAYSIZE =
867 ETMBinary_BinaryType_BinaryType_ARRAYSIZE;
868 template<typename T>
869 static inline const std::string& BinaryType_Name(T enum_t_value) {
870 static_assert(::std::is_same<T, BinaryType>::value ||
871 ::std::is_integral<T>::value,
872 "Incorrect type passed to function BinaryType_Name.");
873 return ETMBinary_BinaryType_Name(enum_t_value);
874 }
875 static inline bool BinaryType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
876 BinaryType* value) {
877 return ETMBinary_BinaryType_Parse(name, value);
878 }
879
880 // accessors -------------------------------------------------------
881
882 enum : int {
883 kAddrsFieldNumber = 3,
884 kPathFieldNumber = 1,
885 kBuildIdFieldNumber = 2,
886 kKernelInfoFieldNumber = 5,
887 kTypeFieldNumber = 4,
888 };
889 // repeated .simpleperf.proto.ETMBinary.Address addrs = 3;
890 int addrs_size() const;
891 private:
892 int _internal_addrs_size() const;
893 public:
894 void clear_addrs();
895 ::simpleperf::proto::ETMBinary_Address* mutable_addrs(int index);
896 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address >*
897 mutable_addrs();
898 private:
899 const ::simpleperf::proto::ETMBinary_Address& _internal_addrs(int index) const;
900 ::simpleperf::proto::ETMBinary_Address* _internal_add_addrs();
901 public:
902 const ::simpleperf::proto::ETMBinary_Address& addrs(int index) const;
903 ::simpleperf::proto::ETMBinary_Address* add_addrs();
904 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address >&
905 addrs() const;
906
907 // string path = 1;
908 void clear_path();
909 const std::string& path() const;
910 template <typename ArgT0 = const std::string&, typename... ArgT>
911 void set_path(ArgT0&& arg0, ArgT... args);
912 std::string* mutable_path();
913 PROTOBUF_NODISCARD std::string* release_path();
914 void set_allocated_path(std::string* path);
915 private:
916 const std::string& _internal_path() const;
917 inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(const std::string& value);
918 std::string* _internal_mutable_path();
919 public:
920
921 // string build_id = 2;
922 void clear_build_id();
923 const std::string& build_id() const;
924 template <typename ArgT0 = const std::string&, typename... ArgT>
925 void set_build_id(ArgT0&& arg0, ArgT... args);
926 std::string* mutable_build_id();
927 PROTOBUF_NODISCARD std::string* release_build_id();
928 void set_allocated_build_id(std::string* build_id);
929 private:
930 const std::string& _internal_build_id() const;
931 inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_id(const std::string& value);
932 std::string* _internal_mutable_build_id();
933 public:
934
935 // .simpleperf.proto.ETMBinary.KernelBinaryInfo kernel_info = 5;
936 bool has_kernel_info() const;
937 private:
938 bool _internal_has_kernel_info() const;
939 public:
940 void clear_kernel_info();
941 const ::simpleperf::proto::ETMBinary_KernelBinaryInfo& kernel_info() const;
942 PROTOBUF_NODISCARD ::simpleperf::proto::ETMBinary_KernelBinaryInfo* release_kernel_info();
943 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* mutable_kernel_info();
944 void set_allocated_kernel_info(::simpleperf::proto::ETMBinary_KernelBinaryInfo* kernel_info);
945 private:
946 const ::simpleperf::proto::ETMBinary_KernelBinaryInfo& _internal_kernel_info() const;
947 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* _internal_mutable_kernel_info();
948 public:
949 void unsafe_arena_set_allocated_kernel_info(
950 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* kernel_info);
951 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* unsafe_arena_release_kernel_info();
952
953 // .simpleperf.proto.ETMBinary.BinaryType type = 4;
954 void clear_type();
955 ::simpleperf::proto::ETMBinary_BinaryType type() const;
956 void set_type(::simpleperf::proto::ETMBinary_BinaryType value);
957 private:
958 ::simpleperf::proto::ETMBinary_BinaryType _internal_type() const;
959 void _internal_set_type(::simpleperf::proto::ETMBinary_BinaryType value);
960 public:
961
962 // @@protoc_insertion_point(class_scope:simpleperf.proto.ETMBinary)
963 private:
964 class _Internal;
965
966 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
967 typedef void InternalArenaConstructable_;
968 typedef void DestructorSkippable_;
969 struct Impl_ {
970 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address > addrs_;
971 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
972 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_id_;
973 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* kernel_info_;
974 int type_;
975 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
976 };
977 union { Impl_ _impl_; };
978 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
979 };
980 // -------------------------------------------------------------------
981
982 class LBRData_Sample_Branch final :
983 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.LBRData.Sample.Branch) */ {
984 public:
LBRData_Sample_Branch()985 inline LBRData_Sample_Branch() : LBRData_Sample_Branch(nullptr) {}
986 ~LBRData_Sample_Branch() override;
987 explicit PROTOBUF_CONSTEXPR LBRData_Sample_Branch(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
988
989 LBRData_Sample_Branch(const LBRData_Sample_Branch& from);
LBRData_Sample_Branch(LBRData_Sample_Branch && from)990 LBRData_Sample_Branch(LBRData_Sample_Branch&& from) noexcept
991 : LBRData_Sample_Branch() {
992 *this = ::std::move(from);
993 }
994
995 inline LBRData_Sample_Branch& operator=(const LBRData_Sample_Branch& from) {
996 if (this == &from) return *this;
997 CopyFrom(from);
998 return *this;
999 }
1000 inline LBRData_Sample_Branch& operator=(LBRData_Sample_Branch&& from) noexcept {
1001 if (this == &from) return *this;
1002 if (GetOwningArena() == from.GetOwningArena()
1003 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1004 && GetOwningArena() != nullptr
1005 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1006 ) {
1007 InternalSwap(&from);
1008 } else {
1009 CopyFrom(from);
1010 }
1011 return *this;
1012 }
1013
default_instance()1014 static const LBRData_Sample_Branch& default_instance() {
1015 return *internal_default_instance();
1016 }
internal_default_instance()1017 static inline const LBRData_Sample_Branch* internal_default_instance() {
1018 return reinterpret_cast<const LBRData_Sample_Branch*>(
1019 &_LBRData_Sample_Branch_default_instance_);
1020 }
1021 static constexpr int kIndexInFileMessages =
1022 5;
1023
swap(LBRData_Sample_Branch & a,LBRData_Sample_Branch & b)1024 friend void swap(LBRData_Sample_Branch& a, LBRData_Sample_Branch& b) {
1025 a.Swap(&b);
1026 }
Swap(LBRData_Sample_Branch * other)1027 inline void Swap(LBRData_Sample_Branch* other) {
1028 if (other == this) return;
1029 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1030 if (GetOwningArena() != nullptr &&
1031 GetOwningArena() == other->GetOwningArena()) {
1032 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1033 if (GetOwningArena() == other->GetOwningArena()) {
1034 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1035 InternalSwap(other);
1036 } else {
1037 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1038 }
1039 }
1040 void UnsafeArenaSwap(LBRData_Sample_Branch* other) {
1041 if (other == this) return;
1042 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1043 InternalSwap(other);
1044 }
1045
1046 // implements Message ----------------------------------------------
1047
1048 LBRData_Sample_Branch* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1049 return CreateMaybeMessage<LBRData_Sample_Branch>(arena);
1050 }
1051 LBRData_Sample_Branch* New() const {
1052 return New(nullptr);
1053 }
1054 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1055 void CopyFrom(const LBRData_Sample_Branch& from);
1056 void MergeFrom(const LBRData_Sample_Branch& from);
1057 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1058 bool IsInitialized() const final;
1059
1060 size_t ByteSizeLong() const final;
1061 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1062 ::uint8_t* _InternalSerialize(
1063 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1064 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1065
1066 private:
1067 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1068 void SharedDtor();
1069 void SetCachedSize(int size) const;
1070 void InternalSwap(LBRData_Sample_Branch* other);
1071
1072 private:
1073 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1074 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1075 return "simpleperf.proto.LBRData.Sample.Branch";
1076 }
1077 protected:
1078 explicit LBRData_Sample_Branch(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1079 bool is_message_owned = false);
1080 public:
1081
1082 std::string GetTypeName() const final;
1083
1084 // nested types ----------------------------------------------------
1085
1086 // accessors -------------------------------------------------------
1087
1088 enum : int {
1089 kFromBinaryIdFieldNumber = 1,
1090 kToBinaryIdFieldNumber = 2,
1091 kFromVaddrInFileFieldNumber = 3,
1092 kToVaddrInFileFieldNumber = 4,
1093 };
1094 // uint32 from_binary_id = 1;
1095 void clear_from_binary_id();
1096 ::uint32_t from_binary_id() const;
1097 void set_from_binary_id(::uint32_t value);
1098 private:
1099 ::uint32_t _internal_from_binary_id() const;
1100 void _internal_set_from_binary_id(::uint32_t value);
1101 public:
1102
1103 // uint32 to_binary_id = 2;
1104 void clear_to_binary_id();
1105 ::uint32_t to_binary_id() const;
1106 void set_to_binary_id(::uint32_t value);
1107 private:
1108 ::uint32_t _internal_to_binary_id() const;
1109 void _internal_set_to_binary_id(::uint32_t value);
1110 public:
1111
1112 // uint64 from_vaddr_in_file = 3;
1113 void clear_from_vaddr_in_file();
1114 ::uint64_t from_vaddr_in_file() const;
1115 void set_from_vaddr_in_file(::uint64_t value);
1116 private:
1117 ::uint64_t _internal_from_vaddr_in_file() const;
1118 void _internal_set_from_vaddr_in_file(::uint64_t value);
1119 public:
1120
1121 // uint64 to_vaddr_in_file = 4;
1122 void clear_to_vaddr_in_file();
1123 ::uint64_t to_vaddr_in_file() const;
1124 void set_to_vaddr_in_file(::uint64_t value);
1125 private:
1126 ::uint64_t _internal_to_vaddr_in_file() const;
1127 void _internal_set_to_vaddr_in_file(::uint64_t value);
1128 public:
1129
1130 // @@protoc_insertion_point(class_scope:simpleperf.proto.LBRData.Sample.Branch)
1131 private:
1132 class _Internal;
1133
1134 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1135 typedef void InternalArenaConstructable_;
1136 typedef void DestructorSkippable_;
1137 struct Impl_ {
1138 ::uint32_t from_binary_id_;
1139 ::uint32_t to_binary_id_;
1140 ::uint64_t from_vaddr_in_file_;
1141 ::uint64_t to_vaddr_in_file_;
1142 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1143 };
1144 union { Impl_ _impl_; };
1145 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
1146 };
1147 // -------------------------------------------------------------------
1148
1149 class LBRData_Sample final :
1150 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.LBRData.Sample) */ {
1151 public:
LBRData_Sample()1152 inline LBRData_Sample() : LBRData_Sample(nullptr) {}
1153 ~LBRData_Sample() override;
1154 explicit PROTOBUF_CONSTEXPR LBRData_Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1155
1156 LBRData_Sample(const LBRData_Sample& from);
LBRData_Sample(LBRData_Sample && from)1157 LBRData_Sample(LBRData_Sample&& from) noexcept
1158 : LBRData_Sample() {
1159 *this = ::std::move(from);
1160 }
1161
1162 inline LBRData_Sample& operator=(const LBRData_Sample& from) {
1163 if (this == &from) return *this;
1164 CopyFrom(from);
1165 return *this;
1166 }
1167 inline LBRData_Sample& operator=(LBRData_Sample&& from) noexcept {
1168 if (this == &from) return *this;
1169 if (GetOwningArena() == from.GetOwningArena()
1170 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1171 && GetOwningArena() != nullptr
1172 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1173 ) {
1174 InternalSwap(&from);
1175 } else {
1176 CopyFrom(from);
1177 }
1178 return *this;
1179 }
1180
default_instance()1181 static const LBRData_Sample& default_instance() {
1182 return *internal_default_instance();
1183 }
internal_default_instance()1184 static inline const LBRData_Sample* internal_default_instance() {
1185 return reinterpret_cast<const LBRData_Sample*>(
1186 &_LBRData_Sample_default_instance_);
1187 }
1188 static constexpr int kIndexInFileMessages =
1189 6;
1190
swap(LBRData_Sample & a,LBRData_Sample & b)1191 friend void swap(LBRData_Sample& a, LBRData_Sample& b) {
1192 a.Swap(&b);
1193 }
Swap(LBRData_Sample * other)1194 inline void Swap(LBRData_Sample* other) {
1195 if (other == this) return;
1196 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1197 if (GetOwningArena() != nullptr &&
1198 GetOwningArena() == other->GetOwningArena()) {
1199 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1200 if (GetOwningArena() == other->GetOwningArena()) {
1201 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1202 InternalSwap(other);
1203 } else {
1204 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1205 }
1206 }
1207 void UnsafeArenaSwap(LBRData_Sample* other) {
1208 if (other == this) return;
1209 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1210 InternalSwap(other);
1211 }
1212
1213 // implements Message ----------------------------------------------
1214
1215 LBRData_Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1216 return CreateMaybeMessage<LBRData_Sample>(arena);
1217 }
1218 LBRData_Sample* New() const {
1219 return New(nullptr);
1220 }
1221 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1222 void CopyFrom(const LBRData_Sample& from);
1223 void MergeFrom(const LBRData_Sample& from);
1224 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1225 bool IsInitialized() const final;
1226
1227 size_t ByteSizeLong() const final;
1228 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1229 ::uint8_t* _InternalSerialize(
1230 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1231 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1232
1233 private:
1234 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1235 void SharedDtor();
1236 void SetCachedSize(int size) const;
1237 void InternalSwap(LBRData_Sample* other);
1238
1239 private:
1240 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1241 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1242 return "simpleperf.proto.LBRData.Sample";
1243 }
1244 protected:
1245 explicit LBRData_Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1246 bool is_message_owned = false);
1247 public:
1248
1249 std::string GetTypeName() const final;
1250
1251 // nested types ----------------------------------------------------
1252
1253 typedef LBRData_Sample_Branch Branch;
1254
1255 // accessors -------------------------------------------------------
1256
1257 enum : int {
1258 kBranchesFieldNumber = 3,
1259 kVaddrInFileFieldNumber = 2,
1260 kBinaryIdFieldNumber = 1,
1261 };
1262 // repeated .simpleperf.proto.LBRData.Sample.Branch branches = 3;
1263 int branches_size() const;
1264 private:
1265 int _internal_branches_size() const;
1266 public:
1267 void clear_branches();
1268 ::simpleperf::proto::LBRData_Sample_Branch* mutable_branches(int index);
1269 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample_Branch >*
1270 mutable_branches();
1271 private:
1272 const ::simpleperf::proto::LBRData_Sample_Branch& _internal_branches(int index) const;
1273 ::simpleperf::proto::LBRData_Sample_Branch* _internal_add_branches();
1274 public:
1275 const ::simpleperf::proto::LBRData_Sample_Branch& branches(int index) const;
1276 ::simpleperf::proto::LBRData_Sample_Branch* add_branches();
1277 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample_Branch >&
1278 branches() const;
1279
1280 // uint64 vaddr_in_file = 2;
1281 void clear_vaddr_in_file();
1282 ::uint64_t vaddr_in_file() const;
1283 void set_vaddr_in_file(::uint64_t value);
1284 private:
1285 ::uint64_t _internal_vaddr_in_file() const;
1286 void _internal_set_vaddr_in_file(::uint64_t value);
1287 public:
1288
1289 // uint32 binary_id = 1;
1290 void clear_binary_id();
1291 ::uint32_t binary_id() const;
1292 void set_binary_id(::uint32_t value);
1293 private:
1294 ::uint32_t _internal_binary_id() const;
1295 void _internal_set_binary_id(::uint32_t value);
1296 public:
1297
1298 // @@protoc_insertion_point(class_scope:simpleperf.proto.LBRData.Sample)
1299 private:
1300 class _Internal;
1301
1302 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1303 typedef void InternalArenaConstructable_;
1304 typedef void DestructorSkippable_;
1305 struct Impl_ {
1306 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample_Branch > branches_;
1307 ::uint64_t vaddr_in_file_;
1308 ::uint32_t binary_id_;
1309 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1310 };
1311 union { Impl_ _impl_; };
1312 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
1313 };
1314 // -------------------------------------------------------------------
1315
1316 class LBRData_Binary final :
1317 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.LBRData.Binary) */ {
1318 public:
LBRData_Binary()1319 inline LBRData_Binary() : LBRData_Binary(nullptr) {}
1320 ~LBRData_Binary() override;
1321 explicit PROTOBUF_CONSTEXPR LBRData_Binary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1322
1323 LBRData_Binary(const LBRData_Binary& from);
LBRData_Binary(LBRData_Binary && from)1324 LBRData_Binary(LBRData_Binary&& from) noexcept
1325 : LBRData_Binary() {
1326 *this = ::std::move(from);
1327 }
1328
1329 inline LBRData_Binary& operator=(const LBRData_Binary& from) {
1330 if (this == &from) return *this;
1331 CopyFrom(from);
1332 return *this;
1333 }
1334 inline LBRData_Binary& operator=(LBRData_Binary&& from) noexcept {
1335 if (this == &from) return *this;
1336 if (GetOwningArena() == from.GetOwningArena()
1337 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1338 && GetOwningArena() != nullptr
1339 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1340 ) {
1341 InternalSwap(&from);
1342 } else {
1343 CopyFrom(from);
1344 }
1345 return *this;
1346 }
1347
default_instance()1348 static const LBRData_Binary& default_instance() {
1349 return *internal_default_instance();
1350 }
internal_default_instance()1351 static inline const LBRData_Binary* internal_default_instance() {
1352 return reinterpret_cast<const LBRData_Binary*>(
1353 &_LBRData_Binary_default_instance_);
1354 }
1355 static constexpr int kIndexInFileMessages =
1356 7;
1357
swap(LBRData_Binary & a,LBRData_Binary & b)1358 friend void swap(LBRData_Binary& a, LBRData_Binary& b) {
1359 a.Swap(&b);
1360 }
Swap(LBRData_Binary * other)1361 inline void Swap(LBRData_Binary* other) {
1362 if (other == this) return;
1363 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1364 if (GetOwningArena() != nullptr &&
1365 GetOwningArena() == other->GetOwningArena()) {
1366 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1367 if (GetOwningArena() == other->GetOwningArena()) {
1368 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1369 InternalSwap(other);
1370 } else {
1371 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1372 }
1373 }
1374 void UnsafeArenaSwap(LBRData_Binary* other) {
1375 if (other == this) return;
1376 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1377 InternalSwap(other);
1378 }
1379
1380 // implements Message ----------------------------------------------
1381
1382 LBRData_Binary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1383 return CreateMaybeMessage<LBRData_Binary>(arena);
1384 }
1385 LBRData_Binary* New() const {
1386 return New(nullptr);
1387 }
1388 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1389 void CopyFrom(const LBRData_Binary& from);
1390 void MergeFrom(const LBRData_Binary& from);
1391 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1392 bool IsInitialized() const final;
1393
1394 size_t ByteSizeLong() const final;
1395 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1396 ::uint8_t* _InternalSerialize(
1397 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1398 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1399
1400 private:
1401 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1402 void SharedDtor();
1403 void SetCachedSize(int size) const;
1404 void InternalSwap(LBRData_Binary* other);
1405
1406 private:
1407 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1408 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1409 return "simpleperf.proto.LBRData.Binary";
1410 }
1411 protected:
1412 explicit LBRData_Binary(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1413 bool is_message_owned = false);
1414 public:
1415
1416 std::string GetTypeName() const final;
1417
1418 // nested types ----------------------------------------------------
1419
1420 // accessors -------------------------------------------------------
1421
1422 enum : int {
1423 kPathFieldNumber = 1,
1424 kBuildIdFieldNumber = 2,
1425 };
1426 // string path = 1;
1427 void clear_path();
1428 const std::string& path() const;
1429 template <typename ArgT0 = const std::string&, typename... ArgT>
1430 void set_path(ArgT0&& arg0, ArgT... args);
1431 std::string* mutable_path();
1432 PROTOBUF_NODISCARD std::string* release_path();
1433 void set_allocated_path(std::string* path);
1434 private:
1435 const std::string& _internal_path() const;
1436 inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(const std::string& value);
1437 std::string* _internal_mutable_path();
1438 public:
1439
1440 // string build_id = 2;
1441 void clear_build_id();
1442 const std::string& build_id() const;
1443 template <typename ArgT0 = const std::string&, typename... ArgT>
1444 void set_build_id(ArgT0&& arg0, ArgT... args);
1445 std::string* mutable_build_id();
1446 PROTOBUF_NODISCARD std::string* release_build_id();
1447 void set_allocated_build_id(std::string* build_id);
1448 private:
1449 const std::string& _internal_build_id() const;
1450 inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_id(const std::string& value);
1451 std::string* _internal_mutable_build_id();
1452 public:
1453
1454 // @@protoc_insertion_point(class_scope:simpleperf.proto.LBRData.Binary)
1455 private:
1456 class _Internal;
1457
1458 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1459 typedef void InternalArenaConstructable_;
1460 typedef void DestructorSkippable_;
1461 struct Impl_ {
1462 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
1463 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_id_;
1464 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1465 };
1466 union { Impl_ _impl_; };
1467 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
1468 };
1469 // -------------------------------------------------------------------
1470
1471 class LBRData final :
1472 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:simpleperf.proto.LBRData) */ {
1473 public:
LBRData()1474 inline LBRData() : LBRData(nullptr) {}
1475 ~LBRData() override;
1476 explicit PROTOBUF_CONSTEXPR LBRData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1477
1478 LBRData(const LBRData& from);
LBRData(LBRData && from)1479 LBRData(LBRData&& from) noexcept
1480 : LBRData() {
1481 *this = ::std::move(from);
1482 }
1483
1484 inline LBRData& operator=(const LBRData& from) {
1485 if (this == &from) return *this;
1486 CopyFrom(from);
1487 return *this;
1488 }
1489 inline LBRData& operator=(LBRData&& from) noexcept {
1490 if (this == &from) return *this;
1491 if (GetOwningArena() == from.GetOwningArena()
1492 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1493 && GetOwningArena() != nullptr
1494 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1495 ) {
1496 InternalSwap(&from);
1497 } else {
1498 CopyFrom(from);
1499 }
1500 return *this;
1501 }
1502
default_instance()1503 static const LBRData& default_instance() {
1504 return *internal_default_instance();
1505 }
internal_default_instance()1506 static inline const LBRData* internal_default_instance() {
1507 return reinterpret_cast<const LBRData*>(
1508 &_LBRData_default_instance_);
1509 }
1510 static constexpr int kIndexInFileMessages =
1511 8;
1512
swap(LBRData & a,LBRData & b)1513 friend void swap(LBRData& a, LBRData& b) {
1514 a.Swap(&b);
1515 }
Swap(LBRData * other)1516 inline void Swap(LBRData* other) {
1517 if (other == this) return;
1518 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1519 if (GetOwningArena() != nullptr &&
1520 GetOwningArena() == other->GetOwningArena()) {
1521 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1522 if (GetOwningArena() == other->GetOwningArena()) {
1523 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1524 InternalSwap(other);
1525 } else {
1526 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1527 }
1528 }
1529 void UnsafeArenaSwap(LBRData* other) {
1530 if (other == this) return;
1531 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1532 InternalSwap(other);
1533 }
1534
1535 // implements Message ----------------------------------------------
1536
1537 LBRData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1538 return CreateMaybeMessage<LBRData>(arena);
1539 }
1540 LBRData* New() const {
1541 return New(nullptr);
1542 }
1543 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1544 void CopyFrom(const LBRData& from);
1545 void MergeFrom(const LBRData& from);
1546 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1547 bool IsInitialized() const final;
1548
1549 size_t ByteSizeLong() const final;
1550 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1551 ::uint8_t* _InternalSerialize(
1552 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1553 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1554
1555 private:
1556 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1557 void SharedDtor();
1558 void SetCachedSize(int size) const;
1559 void InternalSwap(LBRData* other);
1560
1561 private:
1562 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1563 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1564 return "simpleperf.proto.LBRData";
1565 }
1566 protected:
1567 explicit LBRData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1568 bool is_message_owned = false);
1569 public:
1570
1571 std::string GetTypeName() const final;
1572
1573 // nested types ----------------------------------------------------
1574
1575 typedef LBRData_Sample Sample;
1576 typedef LBRData_Binary Binary;
1577
1578 // accessors -------------------------------------------------------
1579
1580 enum : int {
1581 kSamplesFieldNumber = 1,
1582 kBinariesFieldNumber = 2,
1583 };
1584 // repeated .simpleperf.proto.LBRData.Sample samples = 1;
1585 int samples_size() const;
1586 private:
1587 int _internal_samples_size() const;
1588 public:
1589 void clear_samples();
1590 ::simpleperf::proto::LBRData_Sample* mutable_samples(int index);
1591 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample >*
1592 mutable_samples();
1593 private:
1594 const ::simpleperf::proto::LBRData_Sample& _internal_samples(int index) const;
1595 ::simpleperf::proto::LBRData_Sample* _internal_add_samples();
1596 public:
1597 const ::simpleperf::proto::LBRData_Sample& samples(int index) const;
1598 ::simpleperf::proto::LBRData_Sample* add_samples();
1599 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample >&
1600 samples() const;
1601
1602 // repeated .simpleperf.proto.LBRData.Binary binaries = 2;
1603 int binaries_size() const;
1604 private:
1605 int _internal_binaries_size() const;
1606 public:
1607 void clear_binaries();
1608 ::simpleperf::proto::LBRData_Binary* mutable_binaries(int index);
1609 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Binary >*
1610 mutable_binaries();
1611 private:
1612 const ::simpleperf::proto::LBRData_Binary& _internal_binaries(int index) const;
1613 ::simpleperf::proto::LBRData_Binary* _internal_add_binaries();
1614 public:
1615 const ::simpleperf::proto::LBRData_Binary& binaries(int index) const;
1616 ::simpleperf::proto::LBRData_Binary* add_binaries();
1617 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Binary >&
1618 binaries() const;
1619
1620 // @@protoc_insertion_point(class_scope:simpleperf.proto.LBRData)
1621 private:
1622 class _Internal;
1623
1624 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1625 typedef void InternalArenaConstructable_;
1626 typedef void DestructorSkippable_;
1627 struct Impl_ {
1628 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample > samples_;
1629 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Binary > binaries_;
1630 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1631 };
1632 union { Impl_ _impl_; };
1633 friend struct ::TableStruct_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto;
1634 };
1635 // ===================================================================
1636
1637
1638 // ===================================================================
1639
1640 #ifdef __GNUC__
1641 #pragma GCC diagnostic push
1642 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1643 #endif // __GNUC__
1644 // BranchList
1645
1646 // string magic = 1;
clear_magic()1647 inline void BranchList::clear_magic() {
1648 _impl_.magic_.ClearToEmpty();
1649 }
magic()1650 inline const std::string& BranchList::magic() const {
1651 // @@protoc_insertion_point(field_get:simpleperf.proto.BranchList.magic)
1652 return _internal_magic();
1653 }
1654 template <typename ArgT0, typename... ArgT>
1655 inline PROTOBUF_ALWAYS_INLINE
set_magic(ArgT0 && arg0,ArgT...args)1656 void BranchList::set_magic(ArgT0&& arg0, ArgT... args) {
1657
1658 _impl_.magic_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1659 // @@protoc_insertion_point(field_set:simpleperf.proto.BranchList.magic)
1660 }
mutable_magic()1661 inline std::string* BranchList::mutable_magic() {
1662 std::string* _s = _internal_mutable_magic();
1663 // @@protoc_insertion_point(field_mutable:simpleperf.proto.BranchList.magic)
1664 return _s;
1665 }
_internal_magic()1666 inline const std::string& BranchList::_internal_magic() const {
1667 return _impl_.magic_.Get();
1668 }
_internal_set_magic(const std::string & value)1669 inline void BranchList::_internal_set_magic(const std::string& value) {
1670
1671 _impl_.magic_.Set(value, GetArenaForAllocation());
1672 }
_internal_mutable_magic()1673 inline std::string* BranchList::_internal_mutable_magic() {
1674
1675 return _impl_.magic_.Mutable(GetArenaForAllocation());
1676 }
release_magic()1677 inline std::string* BranchList::release_magic() {
1678 // @@protoc_insertion_point(field_release:simpleperf.proto.BranchList.magic)
1679 return _impl_.magic_.Release();
1680 }
set_allocated_magic(std::string * magic)1681 inline void BranchList::set_allocated_magic(std::string* magic) {
1682 _impl_.magic_.SetAllocated(magic, GetArenaForAllocation());
1683 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1684 if (_impl_.magic_.IsDefault()) {
1685 _impl_.magic_.Set("", GetArenaForAllocation());
1686 }
1687 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1688 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.BranchList.magic)
1689 }
1690
1691 // repeated .simpleperf.proto.ETMBinary etm_data = 2;
_internal_etm_data_size()1692 inline int BranchList::_internal_etm_data_size() const {
1693 return _impl_.etm_data_.size();
1694 }
etm_data_size()1695 inline int BranchList::etm_data_size() const {
1696 return _internal_etm_data_size();
1697 }
clear_etm_data()1698 inline void BranchList::clear_etm_data() {
1699 _impl_.etm_data_.Clear();
1700 }
mutable_etm_data(int index)1701 inline ::simpleperf::proto::ETMBinary* BranchList::mutable_etm_data(int index) {
1702 // @@protoc_insertion_point(field_mutable:simpleperf.proto.BranchList.etm_data)
1703 return _impl_.etm_data_.Mutable(index);
1704 }
1705 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary >*
mutable_etm_data()1706 BranchList::mutable_etm_data() {
1707 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.BranchList.etm_data)
1708 return &_impl_.etm_data_;
1709 }
_internal_etm_data(int index)1710 inline const ::simpleperf::proto::ETMBinary& BranchList::_internal_etm_data(int index) const {
1711 return _impl_.etm_data_.Get(index);
1712 }
etm_data(int index)1713 inline const ::simpleperf::proto::ETMBinary& BranchList::etm_data(int index) const {
1714 // @@protoc_insertion_point(field_get:simpleperf.proto.BranchList.etm_data)
1715 return _internal_etm_data(index);
1716 }
_internal_add_etm_data()1717 inline ::simpleperf::proto::ETMBinary* BranchList::_internal_add_etm_data() {
1718 return _impl_.etm_data_.Add();
1719 }
add_etm_data()1720 inline ::simpleperf::proto::ETMBinary* BranchList::add_etm_data() {
1721 ::simpleperf::proto::ETMBinary* _add = _internal_add_etm_data();
1722 // @@protoc_insertion_point(field_add:simpleperf.proto.BranchList.etm_data)
1723 return _add;
1724 }
1725 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary >&
etm_data()1726 BranchList::etm_data() const {
1727 // @@protoc_insertion_point(field_list:simpleperf.proto.BranchList.etm_data)
1728 return _impl_.etm_data_;
1729 }
1730
1731 // .simpleperf.proto.LBRData lbr_data = 3;
_internal_has_lbr_data()1732 inline bool BranchList::_internal_has_lbr_data() const {
1733 return this != internal_default_instance() && _impl_.lbr_data_ != nullptr;
1734 }
has_lbr_data()1735 inline bool BranchList::has_lbr_data() const {
1736 return _internal_has_lbr_data();
1737 }
clear_lbr_data()1738 inline void BranchList::clear_lbr_data() {
1739 if (GetArenaForAllocation() == nullptr && _impl_.lbr_data_ != nullptr) {
1740 delete _impl_.lbr_data_;
1741 }
1742 _impl_.lbr_data_ = nullptr;
1743 }
_internal_lbr_data()1744 inline const ::simpleperf::proto::LBRData& BranchList::_internal_lbr_data() const {
1745 const ::simpleperf::proto::LBRData* p = _impl_.lbr_data_;
1746 return p != nullptr ? *p : reinterpret_cast<const ::simpleperf::proto::LBRData&>(
1747 ::simpleperf::proto::_LBRData_default_instance_);
1748 }
lbr_data()1749 inline const ::simpleperf::proto::LBRData& BranchList::lbr_data() const {
1750 // @@protoc_insertion_point(field_get:simpleperf.proto.BranchList.lbr_data)
1751 return _internal_lbr_data();
1752 }
unsafe_arena_set_allocated_lbr_data(::simpleperf::proto::LBRData * lbr_data)1753 inline void BranchList::unsafe_arena_set_allocated_lbr_data(
1754 ::simpleperf::proto::LBRData* lbr_data) {
1755 if (GetArenaForAllocation() == nullptr) {
1756 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.lbr_data_);
1757 }
1758 _impl_.lbr_data_ = lbr_data;
1759 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:simpleperf.proto.BranchList.lbr_data)
1760 }
release_lbr_data()1761 inline ::simpleperf::proto::LBRData* BranchList::release_lbr_data() {
1762
1763 ::simpleperf::proto::LBRData* temp = _impl_.lbr_data_;
1764 _impl_.lbr_data_ = nullptr;
1765 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1766 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1767 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1768 if (GetArenaForAllocation() == nullptr) { delete old; }
1769 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1770 if (GetArenaForAllocation() != nullptr) {
1771 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1772 }
1773 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1774 return temp;
1775 }
unsafe_arena_release_lbr_data()1776 inline ::simpleperf::proto::LBRData* BranchList::unsafe_arena_release_lbr_data() {
1777 // @@protoc_insertion_point(field_release:simpleperf.proto.BranchList.lbr_data)
1778
1779 ::simpleperf::proto::LBRData* temp = _impl_.lbr_data_;
1780 _impl_.lbr_data_ = nullptr;
1781 return temp;
1782 }
_internal_mutable_lbr_data()1783 inline ::simpleperf::proto::LBRData* BranchList::_internal_mutable_lbr_data() {
1784
1785 if (_impl_.lbr_data_ == nullptr) {
1786 auto* p = CreateMaybeMessage<::simpleperf::proto::LBRData>(GetArenaForAllocation());
1787 _impl_.lbr_data_ = p;
1788 }
1789 return _impl_.lbr_data_;
1790 }
mutable_lbr_data()1791 inline ::simpleperf::proto::LBRData* BranchList::mutable_lbr_data() {
1792 ::simpleperf::proto::LBRData* _msg = _internal_mutable_lbr_data();
1793 // @@protoc_insertion_point(field_mutable:simpleperf.proto.BranchList.lbr_data)
1794 return _msg;
1795 }
set_allocated_lbr_data(::simpleperf::proto::LBRData * lbr_data)1796 inline void BranchList::set_allocated_lbr_data(::simpleperf::proto::LBRData* lbr_data) {
1797 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1798 if (message_arena == nullptr) {
1799 delete _impl_.lbr_data_;
1800 }
1801 if (lbr_data) {
1802 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1803 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(lbr_data);
1804 if (message_arena != submessage_arena) {
1805 lbr_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1806 message_arena, lbr_data, submessage_arena);
1807 }
1808
1809 } else {
1810
1811 }
1812 _impl_.lbr_data_ = lbr_data;
1813 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.BranchList.lbr_data)
1814 }
1815
1816 // -------------------------------------------------------------------
1817
1818 // ETMBinary_Address_Branch
1819
1820 // bytes branch = 1;
clear_branch()1821 inline void ETMBinary_Address_Branch::clear_branch() {
1822 _impl_.branch_.ClearToEmpty();
1823 }
branch()1824 inline const std::string& ETMBinary_Address_Branch::branch() const {
1825 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.Address.Branch.branch)
1826 return _internal_branch();
1827 }
1828 template <typename ArgT0, typename... ArgT>
1829 inline PROTOBUF_ALWAYS_INLINE
set_branch(ArgT0 && arg0,ArgT...args)1830 void ETMBinary_Address_Branch::set_branch(ArgT0&& arg0, ArgT... args) {
1831
1832 _impl_.branch_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1833 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.Address.Branch.branch)
1834 }
mutable_branch()1835 inline std::string* ETMBinary_Address_Branch::mutable_branch() {
1836 std::string* _s = _internal_mutable_branch();
1837 // @@protoc_insertion_point(field_mutable:simpleperf.proto.ETMBinary.Address.Branch.branch)
1838 return _s;
1839 }
_internal_branch()1840 inline const std::string& ETMBinary_Address_Branch::_internal_branch() const {
1841 return _impl_.branch_.Get();
1842 }
_internal_set_branch(const std::string & value)1843 inline void ETMBinary_Address_Branch::_internal_set_branch(const std::string& value) {
1844
1845 _impl_.branch_.Set(value, GetArenaForAllocation());
1846 }
_internal_mutable_branch()1847 inline std::string* ETMBinary_Address_Branch::_internal_mutable_branch() {
1848
1849 return _impl_.branch_.Mutable(GetArenaForAllocation());
1850 }
release_branch()1851 inline std::string* ETMBinary_Address_Branch::release_branch() {
1852 // @@protoc_insertion_point(field_release:simpleperf.proto.ETMBinary.Address.Branch.branch)
1853 return _impl_.branch_.Release();
1854 }
set_allocated_branch(std::string * branch)1855 inline void ETMBinary_Address_Branch::set_allocated_branch(std::string* branch) {
1856 _impl_.branch_.SetAllocated(branch, GetArenaForAllocation());
1857 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1858 if (_impl_.branch_.IsDefault()) {
1859 _impl_.branch_.Set("", GetArenaForAllocation());
1860 }
1861 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1862 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.ETMBinary.Address.Branch.branch)
1863 }
1864
1865 // uint32 branch_size = 2;
clear_branch_size()1866 inline void ETMBinary_Address_Branch::clear_branch_size() {
1867 _impl_.branch_size_ = 0u;
1868 }
_internal_branch_size()1869 inline ::uint32_t ETMBinary_Address_Branch::_internal_branch_size() const {
1870 return _impl_.branch_size_;
1871 }
branch_size()1872 inline ::uint32_t ETMBinary_Address_Branch::branch_size() const {
1873 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.Address.Branch.branch_size)
1874 return _internal_branch_size();
1875 }
_internal_set_branch_size(::uint32_t value)1876 inline void ETMBinary_Address_Branch::_internal_set_branch_size(::uint32_t value) {
1877
1878 _impl_.branch_size_ = value;
1879 }
set_branch_size(::uint32_t value)1880 inline void ETMBinary_Address_Branch::set_branch_size(::uint32_t value) {
1881 _internal_set_branch_size(value);
1882 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.Address.Branch.branch_size)
1883 }
1884
1885 // uint64 count = 3;
clear_count()1886 inline void ETMBinary_Address_Branch::clear_count() {
1887 _impl_.count_ = ::uint64_t{0u};
1888 }
_internal_count()1889 inline ::uint64_t ETMBinary_Address_Branch::_internal_count() const {
1890 return _impl_.count_;
1891 }
count()1892 inline ::uint64_t ETMBinary_Address_Branch::count() const {
1893 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.Address.Branch.count)
1894 return _internal_count();
1895 }
_internal_set_count(::uint64_t value)1896 inline void ETMBinary_Address_Branch::_internal_set_count(::uint64_t value) {
1897
1898 _impl_.count_ = value;
1899 }
set_count(::uint64_t value)1900 inline void ETMBinary_Address_Branch::set_count(::uint64_t value) {
1901 _internal_set_count(value);
1902 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.Address.Branch.count)
1903 }
1904
1905 // -------------------------------------------------------------------
1906
1907 // ETMBinary_Address
1908
1909 // uint64 addr = 1;
clear_addr()1910 inline void ETMBinary_Address::clear_addr() {
1911 _impl_.addr_ = ::uint64_t{0u};
1912 }
_internal_addr()1913 inline ::uint64_t ETMBinary_Address::_internal_addr() const {
1914 return _impl_.addr_;
1915 }
addr()1916 inline ::uint64_t ETMBinary_Address::addr() const {
1917 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.Address.addr)
1918 return _internal_addr();
1919 }
_internal_set_addr(::uint64_t value)1920 inline void ETMBinary_Address::_internal_set_addr(::uint64_t value) {
1921
1922 _impl_.addr_ = value;
1923 }
set_addr(::uint64_t value)1924 inline void ETMBinary_Address::set_addr(::uint64_t value) {
1925 _internal_set_addr(value);
1926 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.Address.addr)
1927 }
1928
1929 // repeated .simpleperf.proto.ETMBinary.Address.Branch branches = 2;
_internal_branches_size()1930 inline int ETMBinary_Address::_internal_branches_size() const {
1931 return _impl_.branches_.size();
1932 }
branches_size()1933 inline int ETMBinary_Address::branches_size() const {
1934 return _internal_branches_size();
1935 }
clear_branches()1936 inline void ETMBinary_Address::clear_branches() {
1937 _impl_.branches_.Clear();
1938 }
mutable_branches(int index)1939 inline ::simpleperf::proto::ETMBinary_Address_Branch* ETMBinary_Address::mutable_branches(int index) {
1940 // @@protoc_insertion_point(field_mutable:simpleperf.proto.ETMBinary.Address.branches)
1941 return _impl_.branches_.Mutable(index);
1942 }
1943 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address_Branch >*
mutable_branches()1944 ETMBinary_Address::mutable_branches() {
1945 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.ETMBinary.Address.branches)
1946 return &_impl_.branches_;
1947 }
_internal_branches(int index)1948 inline const ::simpleperf::proto::ETMBinary_Address_Branch& ETMBinary_Address::_internal_branches(int index) const {
1949 return _impl_.branches_.Get(index);
1950 }
branches(int index)1951 inline const ::simpleperf::proto::ETMBinary_Address_Branch& ETMBinary_Address::branches(int index) const {
1952 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.Address.branches)
1953 return _internal_branches(index);
1954 }
_internal_add_branches()1955 inline ::simpleperf::proto::ETMBinary_Address_Branch* ETMBinary_Address::_internal_add_branches() {
1956 return _impl_.branches_.Add();
1957 }
add_branches()1958 inline ::simpleperf::proto::ETMBinary_Address_Branch* ETMBinary_Address::add_branches() {
1959 ::simpleperf::proto::ETMBinary_Address_Branch* _add = _internal_add_branches();
1960 // @@protoc_insertion_point(field_add:simpleperf.proto.ETMBinary.Address.branches)
1961 return _add;
1962 }
1963 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address_Branch >&
branches()1964 ETMBinary_Address::branches() const {
1965 // @@protoc_insertion_point(field_list:simpleperf.proto.ETMBinary.Address.branches)
1966 return _impl_.branches_;
1967 }
1968
1969 // -------------------------------------------------------------------
1970
1971 // ETMBinary_KernelBinaryInfo
1972
1973 // uint64 kernel_start_addr = 1;
clear_kernel_start_addr()1974 inline void ETMBinary_KernelBinaryInfo::clear_kernel_start_addr() {
1975 _impl_.kernel_start_addr_ = ::uint64_t{0u};
1976 }
_internal_kernel_start_addr()1977 inline ::uint64_t ETMBinary_KernelBinaryInfo::_internal_kernel_start_addr() const {
1978 return _impl_.kernel_start_addr_;
1979 }
kernel_start_addr()1980 inline ::uint64_t ETMBinary_KernelBinaryInfo::kernel_start_addr() const {
1981 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.KernelBinaryInfo.kernel_start_addr)
1982 return _internal_kernel_start_addr();
1983 }
_internal_set_kernel_start_addr(::uint64_t value)1984 inline void ETMBinary_KernelBinaryInfo::_internal_set_kernel_start_addr(::uint64_t value) {
1985
1986 _impl_.kernel_start_addr_ = value;
1987 }
set_kernel_start_addr(::uint64_t value)1988 inline void ETMBinary_KernelBinaryInfo::set_kernel_start_addr(::uint64_t value) {
1989 _internal_set_kernel_start_addr(value);
1990 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.KernelBinaryInfo.kernel_start_addr)
1991 }
1992
1993 // -------------------------------------------------------------------
1994
1995 // ETMBinary
1996
1997 // string path = 1;
clear_path()1998 inline void ETMBinary::clear_path() {
1999 _impl_.path_.ClearToEmpty();
2000 }
path()2001 inline const std::string& ETMBinary::path() const {
2002 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.path)
2003 return _internal_path();
2004 }
2005 template <typename ArgT0, typename... ArgT>
2006 inline PROTOBUF_ALWAYS_INLINE
set_path(ArgT0 && arg0,ArgT...args)2007 void ETMBinary::set_path(ArgT0&& arg0, ArgT... args) {
2008
2009 _impl_.path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2010 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.path)
2011 }
mutable_path()2012 inline std::string* ETMBinary::mutable_path() {
2013 std::string* _s = _internal_mutable_path();
2014 // @@protoc_insertion_point(field_mutable:simpleperf.proto.ETMBinary.path)
2015 return _s;
2016 }
_internal_path()2017 inline const std::string& ETMBinary::_internal_path() const {
2018 return _impl_.path_.Get();
2019 }
_internal_set_path(const std::string & value)2020 inline void ETMBinary::_internal_set_path(const std::string& value) {
2021
2022 _impl_.path_.Set(value, GetArenaForAllocation());
2023 }
_internal_mutable_path()2024 inline std::string* ETMBinary::_internal_mutable_path() {
2025
2026 return _impl_.path_.Mutable(GetArenaForAllocation());
2027 }
release_path()2028 inline std::string* ETMBinary::release_path() {
2029 // @@protoc_insertion_point(field_release:simpleperf.proto.ETMBinary.path)
2030 return _impl_.path_.Release();
2031 }
set_allocated_path(std::string * path)2032 inline void ETMBinary::set_allocated_path(std::string* path) {
2033 _impl_.path_.SetAllocated(path, GetArenaForAllocation());
2034 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2035 if (_impl_.path_.IsDefault()) {
2036 _impl_.path_.Set("", GetArenaForAllocation());
2037 }
2038 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2039 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.ETMBinary.path)
2040 }
2041
2042 // string build_id = 2;
clear_build_id()2043 inline void ETMBinary::clear_build_id() {
2044 _impl_.build_id_.ClearToEmpty();
2045 }
build_id()2046 inline const std::string& ETMBinary::build_id() const {
2047 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.build_id)
2048 return _internal_build_id();
2049 }
2050 template <typename ArgT0, typename... ArgT>
2051 inline PROTOBUF_ALWAYS_INLINE
set_build_id(ArgT0 && arg0,ArgT...args)2052 void ETMBinary::set_build_id(ArgT0&& arg0, ArgT... args) {
2053
2054 _impl_.build_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2055 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.build_id)
2056 }
mutable_build_id()2057 inline std::string* ETMBinary::mutable_build_id() {
2058 std::string* _s = _internal_mutable_build_id();
2059 // @@protoc_insertion_point(field_mutable:simpleperf.proto.ETMBinary.build_id)
2060 return _s;
2061 }
_internal_build_id()2062 inline const std::string& ETMBinary::_internal_build_id() const {
2063 return _impl_.build_id_.Get();
2064 }
_internal_set_build_id(const std::string & value)2065 inline void ETMBinary::_internal_set_build_id(const std::string& value) {
2066
2067 _impl_.build_id_.Set(value, GetArenaForAllocation());
2068 }
_internal_mutable_build_id()2069 inline std::string* ETMBinary::_internal_mutable_build_id() {
2070
2071 return _impl_.build_id_.Mutable(GetArenaForAllocation());
2072 }
release_build_id()2073 inline std::string* ETMBinary::release_build_id() {
2074 // @@protoc_insertion_point(field_release:simpleperf.proto.ETMBinary.build_id)
2075 return _impl_.build_id_.Release();
2076 }
set_allocated_build_id(std::string * build_id)2077 inline void ETMBinary::set_allocated_build_id(std::string* build_id) {
2078 _impl_.build_id_.SetAllocated(build_id, GetArenaForAllocation());
2079 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2080 if (_impl_.build_id_.IsDefault()) {
2081 _impl_.build_id_.Set("", GetArenaForAllocation());
2082 }
2083 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2084 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.ETMBinary.build_id)
2085 }
2086
2087 // repeated .simpleperf.proto.ETMBinary.Address addrs = 3;
_internal_addrs_size()2088 inline int ETMBinary::_internal_addrs_size() const {
2089 return _impl_.addrs_.size();
2090 }
addrs_size()2091 inline int ETMBinary::addrs_size() const {
2092 return _internal_addrs_size();
2093 }
clear_addrs()2094 inline void ETMBinary::clear_addrs() {
2095 _impl_.addrs_.Clear();
2096 }
mutable_addrs(int index)2097 inline ::simpleperf::proto::ETMBinary_Address* ETMBinary::mutable_addrs(int index) {
2098 // @@protoc_insertion_point(field_mutable:simpleperf.proto.ETMBinary.addrs)
2099 return _impl_.addrs_.Mutable(index);
2100 }
2101 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address >*
mutable_addrs()2102 ETMBinary::mutable_addrs() {
2103 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.ETMBinary.addrs)
2104 return &_impl_.addrs_;
2105 }
_internal_addrs(int index)2106 inline const ::simpleperf::proto::ETMBinary_Address& ETMBinary::_internal_addrs(int index) const {
2107 return _impl_.addrs_.Get(index);
2108 }
addrs(int index)2109 inline const ::simpleperf::proto::ETMBinary_Address& ETMBinary::addrs(int index) const {
2110 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.addrs)
2111 return _internal_addrs(index);
2112 }
_internal_add_addrs()2113 inline ::simpleperf::proto::ETMBinary_Address* ETMBinary::_internal_add_addrs() {
2114 return _impl_.addrs_.Add();
2115 }
add_addrs()2116 inline ::simpleperf::proto::ETMBinary_Address* ETMBinary::add_addrs() {
2117 ::simpleperf::proto::ETMBinary_Address* _add = _internal_add_addrs();
2118 // @@protoc_insertion_point(field_add:simpleperf.proto.ETMBinary.addrs)
2119 return _add;
2120 }
2121 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::ETMBinary_Address >&
addrs()2122 ETMBinary::addrs() const {
2123 // @@protoc_insertion_point(field_list:simpleperf.proto.ETMBinary.addrs)
2124 return _impl_.addrs_;
2125 }
2126
2127 // .simpleperf.proto.ETMBinary.BinaryType type = 4;
clear_type()2128 inline void ETMBinary::clear_type() {
2129 _impl_.type_ = 0;
2130 }
_internal_type()2131 inline ::simpleperf::proto::ETMBinary_BinaryType ETMBinary::_internal_type() const {
2132 return static_cast< ::simpleperf::proto::ETMBinary_BinaryType >(_impl_.type_);
2133 }
type()2134 inline ::simpleperf::proto::ETMBinary_BinaryType ETMBinary::type() const {
2135 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.type)
2136 return _internal_type();
2137 }
_internal_set_type(::simpleperf::proto::ETMBinary_BinaryType value)2138 inline void ETMBinary::_internal_set_type(::simpleperf::proto::ETMBinary_BinaryType value) {
2139
2140 _impl_.type_ = value;
2141 }
set_type(::simpleperf::proto::ETMBinary_BinaryType value)2142 inline void ETMBinary::set_type(::simpleperf::proto::ETMBinary_BinaryType value) {
2143 _internal_set_type(value);
2144 // @@protoc_insertion_point(field_set:simpleperf.proto.ETMBinary.type)
2145 }
2146
2147 // .simpleperf.proto.ETMBinary.KernelBinaryInfo kernel_info = 5;
_internal_has_kernel_info()2148 inline bool ETMBinary::_internal_has_kernel_info() const {
2149 return this != internal_default_instance() && _impl_.kernel_info_ != nullptr;
2150 }
has_kernel_info()2151 inline bool ETMBinary::has_kernel_info() const {
2152 return _internal_has_kernel_info();
2153 }
clear_kernel_info()2154 inline void ETMBinary::clear_kernel_info() {
2155 if (GetArenaForAllocation() == nullptr && _impl_.kernel_info_ != nullptr) {
2156 delete _impl_.kernel_info_;
2157 }
2158 _impl_.kernel_info_ = nullptr;
2159 }
_internal_kernel_info()2160 inline const ::simpleperf::proto::ETMBinary_KernelBinaryInfo& ETMBinary::_internal_kernel_info() const {
2161 const ::simpleperf::proto::ETMBinary_KernelBinaryInfo* p = _impl_.kernel_info_;
2162 return p != nullptr ? *p : reinterpret_cast<const ::simpleperf::proto::ETMBinary_KernelBinaryInfo&>(
2163 ::simpleperf::proto::_ETMBinary_KernelBinaryInfo_default_instance_);
2164 }
kernel_info()2165 inline const ::simpleperf::proto::ETMBinary_KernelBinaryInfo& ETMBinary::kernel_info() const {
2166 // @@protoc_insertion_point(field_get:simpleperf.proto.ETMBinary.kernel_info)
2167 return _internal_kernel_info();
2168 }
unsafe_arena_set_allocated_kernel_info(::simpleperf::proto::ETMBinary_KernelBinaryInfo * kernel_info)2169 inline void ETMBinary::unsafe_arena_set_allocated_kernel_info(
2170 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* kernel_info) {
2171 if (GetArenaForAllocation() == nullptr) {
2172 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.kernel_info_);
2173 }
2174 _impl_.kernel_info_ = kernel_info;
2175 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:simpleperf.proto.ETMBinary.kernel_info)
2176 }
release_kernel_info()2177 inline ::simpleperf::proto::ETMBinary_KernelBinaryInfo* ETMBinary::release_kernel_info() {
2178
2179 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* temp = _impl_.kernel_info_;
2180 _impl_.kernel_info_ = nullptr;
2181 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2182 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2183 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2184 if (GetArenaForAllocation() == nullptr) { delete old; }
2185 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
2186 if (GetArenaForAllocation() != nullptr) {
2187 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2188 }
2189 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2190 return temp;
2191 }
unsafe_arena_release_kernel_info()2192 inline ::simpleperf::proto::ETMBinary_KernelBinaryInfo* ETMBinary::unsafe_arena_release_kernel_info() {
2193 // @@protoc_insertion_point(field_release:simpleperf.proto.ETMBinary.kernel_info)
2194
2195 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* temp = _impl_.kernel_info_;
2196 _impl_.kernel_info_ = nullptr;
2197 return temp;
2198 }
_internal_mutable_kernel_info()2199 inline ::simpleperf::proto::ETMBinary_KernelBinaryInfo* ETMBinary::_internal_mutable_kernel_info() {
2200
2201 if (_impl_.kernel_info_ == nullptr) {
2202 auto* p = CreateMaybeMessage<::simpleperf::proto::ETMBinary_KernelBinaryInfo>(GetArenaForAllocation());
2203 _impl_.kernel_info_ = p;
2204 }
2205 return _impl_.kernel_info_;
2206 }
mutable_kernel_info()2207 inline ::simpleperf::proto::ETMBinary_KernelBinaryInfo* ETMBinary::mutable_kernel_info() {
2208 ::simpleperf::proto::ETMBinary_KernelBinaryInfo* _msg = _internal_mutable_kernel_info();
2209 // @@protoc_insertion_point(field_mutable:simpleperf.proto.ETMBinary.kernel_info)
2210 return _msg;
2211 }
set_allocated_kernel_info(::simpleperf::proto::ETMBinary_KernelBinaryInfo * kernel_info)2212 inline void ETMBinary::set_allocated_kernel_info(::simpleperf::proto::ETMBinary_KernelBinaryInfo* kernel_info) {
2213 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2214 if (message_arena == nullptr) {
2215 delete _impl_.kernel_info_;
2216 }
2217 if (kernel_info) {
2218 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2219 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(kernel_info);
2220 if (message_arena != submessage_arena) {
2221 kernel_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2222 message_arena, kernel_info, submessage_arena);
2223 }
2224
2225 } else {
2226
2227 }
2228 _impl_.kernel_info_ = kernel_info;
2229 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.ETMBinary.kernel_info)
2230 }
2231
2232 // -------------------------------------------------------------------
2233
2234 // LBRData_Sample_Branch
2235
2236 // uint32 from_binary_id = 1;
clear_from_binary_id()2237 inline void LBRData_Sample_Branch::clear_from_binary_id() {
2238 _impl_.from_binary_id_ = 0u;
2239 }
_internal_from_binary_id()2240 inline ::uint32_t LBRData_Sample_Branch::_internal_from_binary_id() const {
2241 return _impl_.from_binary_id_;
2242 }
from_binary_id()2243 inline ::uint32_t LBRData_Sample_Branch::from_binary_id() const {
2244 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.Branch.from_binary_id)
2245 return _internal_from_binary_id();
2246 }
_internal_set_from_binary_id(::uint32_t value)2247 inline void LBRData_Sample_Branch::_internal_set_from_binary_id(::uint32_t value) {
2248
2249 _impl_.from_binary_id_ = value;
2250 }
set_from_binary_id(::uint32_t value)2251 inline void LBRData_Sample_Branch::set_from_binary_id(::uint32_t value) {
2252 _internal_set_from_binary_id(value);
2253 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Sample.Branch.from_binary_id)
2254 }
2255
2256 // uint32 to_binary_id = 2;
clear_to_binary_id()2257 inline void LBRData_Sample_Branch::clear_to_binary_id() {
2258 _impl_.to_binary_id_ = 0u;
2259 }
_internal_to_binary_id()2260 inline ::uint32_t LBRData_Sample_Branch::_internal_to_binary_id() const {
2261 return _impl_.to_binary_id_;
2262 }
to_binary_id()2263 inline ::uint32_t LBRData_Sample_Branch::to_binary_id() const {
2264 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.Branch.to_binary_id)
2265 return _internal_to_binary_id();
2266 }
_internal_set_to_binary_id(::uint32_t value)2267 inline void LBRData_Sample_Branch::_internal_set_to_binary_id(::uint32_t value) {
2268
2269 _impl_.to_binary_id_ = value;
2270 }
set_to_binary_id(::uint32_t value)2271 inline void LBRData_Sample_Branch::set_to_binary_id(::uint32_t value) {
2272 _internal_set_to_binary_id(value);
2273 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Sample.Branch.to_binary_id)
2274 }
2275
2276 // uint64 from_vaddr_in_file = 3;
clear_from_vaddr_in_file()2277 inline void LBRData_Sample_Branch::clear_from_vaddr_in_file() {
2278 _impl_.from_vaddr_in_file_ = ::uint64_t{0u};
2279 }
_internal_from_vaddr_in_file()2280 inline ::uint64_t LBRData_Sample_Branch::_internal_from_vaddr_in_file() const {
2281 return _impl_.from_vaddr_in_file_;
2282 }
from_vaddr_in_file()2283 inline ::uint64_t LBRData_Sample_Branch::from_vaddr_in_file() const {
2284 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.Branch.from_vaddr_in_file)
2285 return _internal_from_vaddr_in_file();
2286 }
_internal_set_from_vaddr_in_file(::uint64_t value)2287 inline void LBRData_Sample_Branch::_internal_set_from_vaddr_in_file(::uint64_t value) {
2288
2289 _impl_.from_vaddr_in_file_ = value;
2290 }
set_from_vaddr_in_file(::uint64_t value)2291 inline void LBRData_Sample_Branch::set_from_vaddr_in_file(::uint64_t value) {
2292 _internal_set_from_vaddr_in_file(value);
2293 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Sample.Branch.from_vaddr_in_file)
2294 }
2295
2296 // uint64 to_vaddr_in_file = 4;
clear_to_vaddr_in_file()2297 inline void LBRData_Sample_Branch::clear_to_vaddr_in_file() {
2298 _impl_.to_vaddr_in_file_ = ::uint64_t{0u};
2299 }
_internal_to_vaddr_in_file()2300 inline ::uint64_t LBRData_Sample_Branch::_internal_to_vaddr_in_file() const {
2301 return _impl_.to_vaddr_in_file_;
2302 }
to_vaddr_in_file()2303 inline ::uint64_t LBRData_Sample_Branch::to_vaddr_in_file() const {
2304 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.Branch.to_vaddr_in_file)
2305 return _internal_to_vaddr_in_file();
2306 }
_internal_set_to_vaddr_in_file(::uint64_t value)2307 inline void LBRData_Sample_Branch::_internal_set_to_vaddr_in_file(::uint64_t value) {
2308
2309 _impl_.to_vaddr_in_file_ = value;
2310 }
set_to_vaddr_in_file(::uint64_t value)2311 inline void LBRData_Sample_Branch::set_to_vaddr_in_file(::uint64_t value) {
2312 _internal_set_to_vaddr_in_file(value);
2313 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Sample.Branch.to_vaddr_in_file)
2314 }
2315
2316 // -------------------------------------------------------------------
2317
2318 // LBRData_Sample
2319
2320 // uint32 binary_id = 1;
clear_binary_id()2321 inline void LBRData_Sample::clear_binary_id() {
2322 _impl_.binary_id_ = 0u;
2323 }
_internal_binary_id()2324 inline ::uint32_t LBRData_Sample::_internal_binary_id() const {
2325 return _impl_.binary_id_;
2326 }
binary_id()2327 inline ::uint32_t LBRData_Sample::binary_id() const {
2328 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.binary_id)
2329 return _internal_binary_id();
2330 }
_internal_set_binary_id(::uint32_t value)2331 inline void LBRData_Sample::_internal_set_binary_id(::uint32_t value) {
2332
2333 _impl_.binary_id_ = value;
2334 }
set_binary_id(::uint32_t value)2335 inline void LBRData_Sample::set_binary_id(::uint32_t value) {
2336 _internal_set_binary_id(value);
2337 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Sample.binary_id)
2338 }
2339
2340 // uint64 vaddr_in_file = 2;
clear_vaddr_in_file()2341 inline void LBRData_Sample::clear_vaddr_in_file() {
2342 _impl_.vaddr_in_file_ = ::uint64_t{0u};
2343 }
_internal_vaddr_in_file()2344 inline ::uint64_t LBRData_Sample::_internal_vaddr_in_file() const {
2345 return _impl_.vaddr_in_file_;
2346 }
vaddr_in_file()2347 inline ::uint64_t LBRData_Sample::vaddr_in_file() const {
2348 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.vaddr_in_file)
2349 return _internal_vaddr_in_file();
2350 }
_internal_set_vaddr_in_file(::uint64_t value)2351 inline void LBRData_Sample::_internal_set_vaddr_in_file(::uint64_t value) {
2352
2353 _impl_.vaddr_in_file_ = value;
2354 }
set_vaddr_in_file(::uint64_t value)2355 inline void LBRData_Sample::set_vaddr_in_file(::uint64_t value) {
2356 _internal_set_vaddr_in_file(value);
2357 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Sample.vaddr_in_file)
2358 }
2359
2360 // repeated .simpleperf.proto.LBRData.Sample.Branch branches = 3;
_internal_branches_size()2361 inline int LBRData_Sample::_internal_branches_size() const {
2362 return _impl_.branches_.size();
2363 }
branches_size()2364 inline int LBRData_Sample::branches_size() const {
2365 return _internal_branches_size();
2366 }
clear_branches()2367 inline void LBRData_Sample::clear_branches() {
2368 _impl_.branches_.Clear();
2369 }
mutable_branches(int index)2370 inline ::simpleperf::proto::LBRData_Sample_Branch* LBRData_Sample::mutable_branches(int index) {
2371 // @@protoc_insertion_point(field_mutable:simpleperf.proto.LBRData.Sample.branches)
2372 return _impl_.branches_.Mutable(index);
2373 }
2374 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample_Branch >*
mutable_branches()2375 LBRData_Sample::mutable_branches() {
2376 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.LBRData.Sample.branches)
2377 return &_impl_.branches_;
2378 }
_internal_branches(int index)2379 inline const ::simpleperf::proto::LBRData_Sample_Branch& LBRData_Sample::_internal_branches(int index) const {
2380 return _impl_.branches_.Get(index);
2381 }
branches(int index)2382 inline const ::simpleperf::proto::LBRData_Sample_Branch& LBRData_Sample::branches(int index) const {
2383 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Sample.branches)
2384 return _internal_branches(index);
2385 }
_internal_add_branches()2386 inline ::simpleperf::proto::LBRData_Sample_Branch* LBRData_Sample::_internal_add_branches() {
2387 return _impl_.branches_.Add();
2388 }
add_branches()2389 inline ::simpleperf::proto::LBRData_Sample_Branch* LBRData_Sample::add_branches() {
2390 ::simpleperf::proto::LBRData_Sample_Branch* _add = _internal_add_branches();
2391 // @@protoc_insertion_point(field_add:simpleperf.proto.LBRData.Sample.branches)
2392 return _add;
2393 }
2394 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample_Branch >&
branches()2395 LBRData_Sample::branches() const {
2396 // @@protoc_insertion_point(field_list:simpleperf.proto.LBRData.Sample.branches)
2397 return _impl_.branches_;
2398 }
2399
2400 // -------------------------------------------------------------------
2401
2402 // LBRData_Binary
2403
2404 // string path = 1;
clear_path()2405 inline void LBRData_Binary::clear_path() {
2406 _impl_.path_.ClearToEmpty();
2407 }
path()2408 inline const std::string& LBRData_Binary::path() const {
2409 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Binary.path)
2410 return _internal_path();
2411 }
2412 template <typename ArgT0, typename... ArgT>
2413 inline PROTOBUF_ALWAYS_INLINE
set_path(ArgT0 && arg0,ArgT...args)2414 void LBRData_Binary::set_path(ArgT0&& arg0, ArgT... args) {
2415
2416 _impl_.path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2417 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Binary.path)
2418 }
mutable_path()2419 inline std::string* LBRData_Binary::mutable_path() {
2420 std::string* _s = _internal_mutable_path();
2421 // @@protoc_insertion_point(field_mutable:simpleperf.proto.LBRData.Binary.path)
2422 return _s;
2423 }
_internal_path()2424 inline const std::string& LBRData_Binary::_internal_path() const {
2425 return _impl_.path_.Get();
2426 }
_internal_set_path(const std::string & value)2427 inline void LBRData_Binary::_internal_set_path(const std::string& value) {
2428
2429 _impl_.path_.Set(value, GetArenaForAllocation());
2430 }
_internal_mutable_path()2431 inline std::string* LBRData_Binary::_internal_mutable_path() {
2432
2433 return _impl_.path_.Mutable(GetArenaForAllocation());
2434 }
release_path()2435 inline std::string* LBRData_Binary::release_path() {
2436 // @@protoc_insertion_point(field_release:simpleperf.proto.LBRData.Binary.path)
2437 return _impl_.path_.Release();
2438 }
set_allocated_path(std::string * path)2439 inline void LBRData_Binary::set_allocated_path(std::string* path) {
2440 _impl_.path_.SetAllocated(path, GetArenaForAllocation());
2441 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2442 if (_impl_.path_.IsDefault()) {
2443 _impl_.path_.Set("", GetArenaForAllocation());
2444 }
2445 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2446 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.LBRData.Binary.path)
2447 }
2448
2449 // string build_id = 2;
clear_build_id()2450 inline void LBRData_Binary::clear_build_id() {
2451 _impl_.build_id_.ClearToEmpty();
2452 }
build_id()2453 inline const std::string& LBRData_Binary::build_id() const {
2454 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.Binary.build_id)
2455 return _internal_build_id();
2456 }
2457 template <typename ArgT0, typename... ArgT>
2458 inline PROTOBUF_ALWAYS_INLINE
set_build_id(ArgT0 && arg0,ArgT...args)2459 void LBRData_Binary::set_build_id(ArgT0&& arg0, ArgT... args) {
2460
2461 _impl_.build_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2462 // @@protoc_insertion_point(field_set:simpleperf.proto.LBRData.Binary.build_id)
2463 }
mutable_build_id()2464 inline std::string* LBRData_Binary::mutable_build_id() {
2465 std::string* _s = _internal_mutable_build_id();
2466 // @@protoc_insertion_point(field_mutable:simpleperf.proto.LBRData.Binary.build_id)
2467 return _s;
2468 }
_internal_build_id()2469 inline const std::string& LBRData_Binary::_internal_build_id() const {
2470 return _impl_.build_id_.Get();
2471 }
_internal_set_build_id(const std::string & value)2472 inline void LBRData_Binary::_internal_set_build_id(const std::string& value) {
2473
2474 _impl_.build_id_.Set(value, GetArenaForAllocation());
2475 }
_internal_mutable_build_id()2476 inline std::string* LBRData_Binary::_internal_mutable_build_id() {
2477
2478 return _impl_.build_id_.Mutable(GetArenaForAllocation());
2479 }
release_build_id()2480 inline std::string* LBRData_Binary::release_build_id() {
2481 // @@protoc_insertion_point(field_release:simpleperf.proto.LBRData.Binary.build_id)
2482 return _impl_.build_id_.Release();
2483 }
set_allocated_build_id(std::string * build_id)2484 inline void LBRData_Binary::set_allocated_build_id(std::string* build_id) {
2485 _impl_.build_id_.SetAllocated(build_id, GetArenaForAllocation());
2486 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2487 if (_impl_.build_id_.IsDefault()) {
2488 _impl_.build_id_.Set("", GetArenaForAllocation());
2489 }
2490 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2491 // @@protoc_insertion_point(field_set_allocated:simpleperf.proto.LBRData.Binary.build_id)
2492 }
2493
2494 // -------------------------------------------------------------------
2495
2496 // LBRData
2497
2498 // repeated .simpleperf.proto.LBRData.Sample samples = 1;
_internal_samples_size()2499 inline int LBRData::_internal_samples_size() const {
2500 return _impl_.samples_.size();
2501 }
samples_size()2502 inline int LBRData::samples_size() const {
2503 return _internal_samples_size();
2504 }
clear_samples()2505 inline void LBRData::clear_samples() {
2506 _impl_.samples_.Clear();
2507 }
mutable_samples(int index)2508 inline ::simpleperf::proto::LBRData_Sample* LBRData::mutable_samples(int index) {
2509 // @@protoc_insertion_point(field_mutable:simpleperf.proto.LBRData.samples)
2510 return _impl_.samples_.Mutable(index);
2511 }
2512 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample >*
mutable_samples()2513 LBRData::mutable_samples() {
2514 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.LBRData.samples)
2515 return &_impl_.samples_;
2516 }
_internal_samples(int index)2517 inline const ::simpleperf::proto::LBRData_Sample& LBRData::_internal_samples(int index) const {
2518 return _impl_.samples_.Get(index);
2519 }
samples(int index)2520 inline const ::simpleperf::proto::LBRData_Sample& LBRData::samples(int index) const {
2521 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.samples)
2522 return _internal_samples(index);
2523 }
_internal_add_samples()2524 inline ::simpleperf::proto::LBRData_Sample* LBRData::_internal_add_samples() {
2525 return _impl_.samples_.Add();
2526 }
add_samples()2527 inline ::simpleperf::proto::LBRData_Sample* LBRData::add_samples() {
2528 ::simpleperf::proto::LBRData_Sample* _add = _internal_add_samples();
2529 // @@protoc_insertion_point(field_add:simpleperf.proto.LBRData.samples)
2530 return _add;
2531 }
2532 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Sample >&
samples()2533 LBRData::samples() const {
2534 // @@protoc_insertion_point(field_list:simpleperf.proto.LBRData.samples)
2535 return _impl_.samples_;
2536 }
2537
2538 // repeated .simpleperf.proto.LBRData.Binary binaries = 2;
_internal_binaries_size()2539 inline int LBRData::_internal_binaries_size() const {
2540 return _impl_.binaries_.size();
2541 }
binaries_size()2542 inline int LBRData::binaries_size() const {
2543 return _internal_binaries_size();
2544 }
clear_binaries()2545 inline void LBRData::clear_binaries() {
2546 _impl_.binaries_.Clear();
2547 }
mutable_binaries(int index)2548 inline ::simpleperf::proto::LBRData_Binary* LBRData::mutable_binaries(int index) {
2549 // @@protoc_insertion_point(field_mutable:simpleperf.proto.LBRData.binaries)
2550 return _impl_.binaries_.Mutable(index);
2551 }
2552 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Binary >*
mutable_binaries()2553 LBRData::mutable_binaries() {
2554 // @@protoc_insertion_point(field_mutable_list:simpleperf.proto.LBRData.binaries)
2555 return &_impl_.binaries_;
2556 }
_internal_binaries(int index)2557 inline const ::simpleperf::proto::LBRData_Binary& LBRData::_internal_binaries(int index) const {
2558 return _impl_.binaries_.Get(index);
2559 }
binaries(int index)2560 inline const ::simpleperf::proto::LBRData_Binary& LBRData::binaries(int index) const {
2561 // @@protoc_insertion_point(field_get:simpleperf.proto.LBRData.binaries)
2562 return _internal_binaries(index);
2563 }
_internal_add_binaries()2564 inline ::simpleperf::proto::LBRData_Binary* LBRData::_internal_add_binaries() {
2565 return _impl_.binaries_.Add();
2566 }
add_binaries()2567 inline ::simpleperf::proto::LBRData_Binary* LBRData::add_binaries() {
2568 ::simpleperf::proto::LBRData_Binary* _add = _internal_add_binaries();
2569 // @@protoc_insertion_point(field_add:simpleperf.proto.LBRData.binaries)
2570 return _add;
2571 }
2572 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::simpleperf::proto::LBRData_Binary >&
binaries()2573 LBRData::binaries() const {
2574 // @@protoc_insertion_point(field_list:simpleperf.proto.LBRData.binaries)
2575 return _impl_.binaries_;
2576 }
2577
2578 #ifdef __GNUC__
2579 #pragma GCC diagnostic pop
2580 #endif // __GNUC__
2581 // -------------------------------------------------------------------
2582
2583 // -------------------------------------------------------------------
2584
2585 // -------------------------------------------------------------------
2586
2587 // -------------------------------------------------------------------
2588
2589 // -------------------------------------------------------------------
2590
2591 // -------------------------------------------------------------------
2592
2593 // -------------------------------------------------------------------
2594
2595 // -------------------------------------------------------------------
2596
2597
2598 // @@protoc_insertion_point(namespace_scope)
2599
2600 } // namespace proto
2601 } // namespace simpleperf
2602
2603 PROTOBUF_NAMESPACE_OPEN
2604
2605 template <> struct is_proto_enum< ::simpleperf::proto::ETMBinary_BinaryType> : ::std::true_type {};
2606
2607 PROTOBUF_NAMESPACE_CLOSE
2608
2609 // @@protoc_insertion_point(global_scope)
2610
2611 #include <google/protobuf/port_undef.inc>
2612 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_system_2fextras_2fsimpleperf_2fbranch_5flist_2eproto
2613