diff --git a/CMakeLists.txt b/CMakeLists.txt index 04cc890982..a654100167 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ if(Qt6_FOUND) get_target_property(QT_TARGET_TYPE Qt6::Core TYPE) endif() -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_POSITION_INDEPENDENT_CODE ON) diff --git a/layersvt/CMakeLists.txt b/layersvt/CMakeLists.txt index 913426f70d..a58e007907 100644 --- a/layersvt/CMakeLists.txt +++ b/layersvt/CMakeLists.txt @@ -111,6 +111,8 @@ if(BUILD_SCREENSHOT) screenshot.cpp screenshot_parsing.cpp screenshot_parsing.h + perfetto/perfetto.cc + perfetto/screenshots_perfetto_helpers.cpp vk_layer_table.cpp vk_layer_table.h screenshot_layer.md @@ -202,12 +204,17 @@ foreach(layer ${TOOL_LAYERS}) target_link_Libraries(${layer} PRIVATE log android atomic) endif() + if (WIN32) + target_link_Libraries(${layer} PRIVATE ws2_32) + endif() + target_include_directories(${layer} PRIVATE .) if (MSVC) target_link_options(${layer} PRIVATE /DEF:${CMAKE_CURRENT_SOURCE_DIR}/${layer}.def) elseif(MINGW) target_sources(${layer} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/${layer}.def) + target_compile_definitions(${layer} PRIVATE uid_t=int) endif() if (APPLE) diff --git a/layersvt/perfetto/perfetto.cc b/layersvt/perfetto/perfetto.cc index c122bae764..7f26534fdb 100644 --- a/layersvt/perfetto/perfetto.cc +++ b/layersvt/perfetto/perfetto.cc @@ -292,7 +292,7 @@ class FnvHasher { uint64_t result_ = kFnv1a64OffsetBasis; }; -// base::FnvHash uses base::FnvHasher for integer values and falls back to +// base::FnvHash uses base::FnvHasher for integer values and falls base to // std::hash for other types. This is needed as std::hash for integers is just // the identity function and Perfetto uses open-addressing hash table, which are // very sensitive to hash quality and are known to degrade in performance @@ -2427,7 +2427,7 @@ ssize_t WriteAllHandle(PlatformHandle, const void* buf, size_t count); ScopedFile OpenFile(const std::string& path, int flags, FileOpenMode = kFileModeInvalid); -ScopedFstream OpenFstream(const std::string& path, const std::string& mode); +ScopedFstream OpenFstream(const char* path, const char* mode); // This is an alias for close(). It's to avoid leaking windows.h in headers. // Exported because ScopedFile is used in the /include/ext API by Chromium @@ -2523,7 +2523,6 @@ std::optional GetFileSize(PlatformHandle fd); #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) #define PERFETTO_SET_FILE_PERMISSIONS #include @@ -2766,33 +2765,19 @@ ScopedFile OpenFile(const std::string& path, int flags, FileOpenMode mode) { return fd; } -ScopedFstream OpenFstream(const std::string& path, const std::string& mode) { +ScopedFstream OpenFstream(const char* path, const char* mode) { ScopedFstream file; - // On Windows fopen interprets filename using the ANSI or OEM codepage but - // sqlite3_value_text returns a UTF-8 string. To make sure we interpret the - // filename correctly we use _wfopen and a UTF-16 string on windows. - // - // On Windows fopen also open files in the text mode by default, but we want - // to open them in the binary mode, to avoid silly EOL translations (and to be - // consistent with base::OpenFile). So we check the mode first and append 'b' - // mode only when it makes sense. +// On Windows fopen interprets filename using the ANSI or OEM codepage but +// sqlite3_value_text returns a UTF-8 string. To make sure we interpret the +// filename correctly we use _wfopen and a UTF-16 string on windows. #if PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) - std::string s_mode(mode); - // Windows supports non-standard mode extension that sets encoding in text - // mode. If you need to open a FILE* in text mode, use the fopen API directly. - bool is_text_mode = Contains(s_mode, "ccs=") || Contains(s_mode, "t"); - PERFETTO_CHECK(!is_text_mode); - bool is_binary_mode = Contains(s_mode, 'b'); - if (!is_binary_mode) - s_mode += 'b'; - auto w_path = ToUtf16(path); - auto w_mode = ToUtf16(s_mode); + auto w_mode = ToUtf16(mode); if (w_path && w_mode) { file.reset(_wfopen(w_path->c_str(), w_mode->c_str())); } #else - file.reset(fopen(path.c_str(), mode.c_str())); + file.reset(fopen(path, mode)); #endif return file; } @@ -5793,7 +5778,6 @@ class PeriodicTask { // gen_amalgamated expanded: #include "perfetto/ext/base/file_utils.h" #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ (PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) && __ANDROID_API__ >= 19) #include #endif @@ -5814,7 +5798,6 @@ uint32_t GetNextDelayMs(const TimeMillis& now_ms, ScopedPlatformHandle CreateTimerFd(const PeriodicTask::Args& args) { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ (PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) && __ANDROID_API__ >= 19) ScopedPlatformHandle tfd( timerfd_create(CLOCK_BOOTTIME, TFD_CLOEXEC | TFD_NONBLOCK)); @@ -6078,8 +6061,7 @@ namespace perfetto::base::flags { : NonAndroidPlatformDefault_FALSE) \ X(use_rt_mutex, NonAndroidPlatformDefault_FALSE) \ X(use_rt_futex, NonAndroidPlatformDefault_FALSE) \ - X(buffer_clone_preserve_read_iter, NonAndroidPlatformDefault_TRUE) \ - X(sma_prevent_duplicate_immediate_flushes, NonAndroidPlatformDefault_TRUE) + X(buffer_clone_preserve_read_iter, NonAndroidPlatformDefault_TRUE) //////////////////////////////////////////////////////////////////////////////// // // @@ -6444,7 +6426,6 @@ void RtPosixMutex::unlock() noexcept { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) #define PERFETTO_HAS_MMAP() 1 @@ -6484,7 +6465,6 @@ class ScopedMmap { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) // Takes ownership of an mmap()d area that starts at `data`, `size` bytes // long. `data` should not be MAP_FAILED. @@ -6503,11 +6483,11 @@ class ScopedMmap { #endif }; -// Tries to open `file_path` and maps its first `length` bytes in memory. -ScopedMmap ReadMmapFilePart(const std::string& file_path, size_t length); +// Tries to open `fname` and maps its first `length` bytes in memory. +ScopedMmap ReadMmapFilePart(const char* fname, size_t length); -// Tries to open `file_path` and maps the whole file into memory. -ScopedMmap ReadMmapWholeFile(const std::string& file_path); +// Tries to open `fname` and maps the whole file into memory. +ScopedMmap ReadMmapWholeFile(const char* fname); } // namespace perfetto::base @@ -6537,7 +6517,6 @@ ScopedMmap ReadMmapWholeFile(const std::string& file_path); #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) #include #include @@ -6548,20 +6527,19 @@ ScopedMmap ReadMmapWholeFile(const std::string& file_path); namespace perfetto::base { namespace { -ScopedPlatformHandle OpenFileForMmap(const std::string& file_path) { +ScopedPlatformHandle OpenFileForMmap(const char* fname) { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) - return OpenFile(file_path, O_RDONLY); + return OpenFile(fname, O_RDONLY); #elif PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) // This does not use base::OpenFile to avoid getting an exclusive lock. - return ScopedPlatformHandle( - CreateFileA(file_path.c_str(), GENERIC_READ, FILE_SHARE_READ, nullptr, - OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, nullptr)); + return ScopedPlatformHandle(CreateFileA(fname, GENERIC_READ, FILE_SHARE_READ, + nullptr, OPEN_EXISTING, + FILE_ATTRIBUTE_NORMAL, nullptr)); #else // mmap is not supported. Do not even open the file. - base::ignore_result(file_path); + base::ignore_result(fname); return ScopedPlatformHandle(); #endif } @@ -6599,7 +6577,6 @@ ScopedMmap ScopedMmap::FromHandle(base::ScopedPlatformHandle file, } #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) void* ptr = mmap(nullptr, length, PROT_READ, MAP_PRIVATE, *file, 0); if (ptr != MAP_FAILED) { @@ -6630,7 +6607,6 @@ bool ScopedMmap::reset() noexcept { bool ret = true; #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) if (ptr_ != nullptr) { ret = munmap(ptr_, length_) == 0; @@ -6649,7 +6625,6 @@ bool ScopedMmap::reset() noexcept { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) // static ScopedMmap ScopedMmap::InheritMmappedRange(void* data, size_t size) { @@ -6660,11 +6635,11 @@ ScopedMmap ScopedMmap::InheritMmappedRange(void* data, size_t size) { } #endif -ScopedMmap ReadMmapFilePart(const std::string& fname, size_t length) { +ScopedMmap ReadMmapFilePart(const char* fname, size_t length) { return ScopedMmap::FromHandle(OpenFileForMmap(fname), length); } -ScopedMmap ReadMmapWholeFile(const std::string& fname) { +ScopedMmap ReadMmapWholeFile(const char* fname) { ScopedPlatformHandle file = OpenFileForMmap(fname); if (!file) { return ScopedMmap(); @@ -8829,11 +8804,10 @@ std::optional GetTimezoneOffsetMins() { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA) #include #include // For _exit() -#include // For getpagesize() and geteuid() & fork() & sysconf() +#include // For getpagesize() and geteuid() & fork() #endif #if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) @@ -8841,10 +8815,6 @@ std::optional GetTimezoneOffsetMins() { #include #endif -#if PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) -#include -#endif - #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX_BUT_NOT_QNX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) #include @@ -8982,8 +8952,6 @@ uint32_t GetSysPageSizeSlowpath() { page_size = static_cast(page_size_int > 0 ? page_size_int : 4096); #elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) page_size = static_cast(vm_page_size); -#elif PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) - page_size = static_cast(sysconf(_SC_PAGESIZE)); #else page_size = 4096; #endif @@ -9017,7 +8985,6 @@ void MaybeReleaseAllocatorMemToOS() { uid_t GetCurrentUserId() { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) return geteuid(); #else @@ -9048,7 +9015,6 @@ void UnsetEnv(const std::string& key) { void Daemonize(std::function parent_cb) { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ (PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \ !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE_TVOS)) Pipe pipe = Pipe::Create(Pipe::kBothBlock); @@ -9113,18 +9079,6 @@ std::string GetCurExecutablePath() { char buf[MAX_PATH]; auto len = ::GetModuleFileNameA(nullptr /*current*/, buf, sizeof(buf)); self_path = std::string(buf, len); -#elif PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) - char buf[PATH_MAX]; - int mib[4], ret; - size_t len = sizeof(buf); - mib[0] = CTL_KERN; - mib[1] = KERN_PROC; - mib[2] = KERN_PROC_PATHNAME; - mib[3] = -1; - ret = sysctl(mib, 4, buf, &len, NULL, 0); - PERFETTO_CHECK(ret == 0); - // This returns the full path; need to trim the executable - self_path = std::string(buf); #else PERFETTO_FATAL( "GetCurExecutableDir() not implemented on the current platform"); @@ -12205,7 +12159,6 @@ std::string Subprocess::Args::GetCmdString() const { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) #include @@ -13551,6 +13504,12 @@ ParseFieldResult ParseOneField(const uint8_t* const buffer, const uint8_t* const end) { ParseFieldResult res{ParseFieldResult::kAbort, buffer, Field{}}; + // The first byte of a proto field is structured as follows: + // The least 3 significant bits determine the field type. + // The most 5 significant bits determine the field id. If MSB == 1, the + // field id continues on the next bytes following the VarInt encoding. + const uint8_t kFieldTypeNumBits = 3; + const uint64_t kFieldTypeMask = (1 << kFieldTypeNumBits) - 1; // 0000 0111; const uint8_t* pos = buffer; // If we've already hit the end, just return an invalid field. @@ -13567,13 +13526,11 @@ ParseFieldResult ParseOneField(const uint8_t* const buffer, pos = next; } - uint32_t field_id = - static_cast(proto_utils::GetTagFieldId(preamble)); + uint32_t field_id = static_cast(preamble >> kFieldTypeNumBits); if (field_id == 0 || pos >= end) return res; - auto field_type = - static_cast(proto_utils::GetTagFieldType(preamble)); + auto field_type = static_cast(preamble & kFieldTypeMask); const uint8_t* new_pos = pos; uint64_t int_value = 0; uint64_t size = 0; @@ -26453,8 +26410,7 @@ bool TraceConfig::operator==(const TraceConfig& other) const { && ::protozero::internal::gen_helpers::EqualsField(cmd_trace_start_delay_, other.cmd_trace_start_delay_) && ::protozero::internal::gen_helpers::EqualsField(session_semaphores_, other.session_semaphores_) && ::protozero::internal::gen_helpers::EqualsField(priority_boost_, other.priority_boost_) - && ::protozero::internal::gen_helpers::EqualsField(exclusive_prio_, other.exclusive_prio_) - && ::protozero::internal::gen_helpers::EqualsField(no_flush_before_write_into_file_, other.no_flush_before_write_into_file_); + && ::protozero::internal::gen_helpers::EqualsField(exclusive_prio_, other.exclusive_prio_); } int TraceConfig::buffers_size() const { return static_cast(buffers_.size()); } @@ -26600,9 +26556,6 @@ bool TraceConfig::ParseFromArray(const void* raw, size_t size) { case 41 /* exclusive_prio */: field.get(&exclusive_prio_); break; - case 42 /* no_flush_before_write_into_file */: - field.get(&no_flush_before_write_into_file_); - break; default: field.SerializeAndAppendTo(&unknown_fields_); break; @@ -26809,11 +26762,6 @@ void TraceConfig::Serialize(::protozero::Message* msg) const { ::protozero::internal::gen_helpers::SerializeVarInt(41, exclusive_prio_, msg); } - // Field 42: no_flush_before_write_into_file - if (_has_field_[42]) { - ::protozero::internal::gen_helpers::SerializeTinyVarInt(42, no_flush_before_write_into_file_, msg); - } - protozero::internal::gen_helpers::SerializeUnknownFields(unknown_fields_, msg); } @@ -32393,7 +32341,9 @@ Screenshot& Screenshot::operator=(Screenshot&&) = default; bool Screenshot::operator==(const Screenshot& other) const { return ::protozero::internal::gen_helpers::EqualsField(unknown_fields_, other.unknown_fields_) - && ::protozero::internal::gen_helpers::EqualsField(jpg_image_, other.jpg_image_); + && ::protozero::internal::gen_helpers::EqualsField(jpg_image_, other.jpg_image_) + && ::protozero::internal::gen_helpers::EqualsField(pam_image_, other.pam_image_) + && ::protozero::internal::gen_helpers::EqualsField(ppm_image_, other.ppm_image_); } bool Screenshot::ParseFromArray(const void* raw, size_t size) { @@ -32409,6 +32359,12 @@ bool Screenshot::ParseFromArray(const void* raw, size_t size) { case 1 /* jpg_image */: field.get(&jpg_image_); break; + case 2 /* pam_image */: + field.get(&pam_image_); + break; + case 3 /* ppm_image */: + field.get(&ppm_image_); + break; default: field.SerializeAndAppendTo(&unknown_fields_); break; @@ -32435,6 +32391,16 @@ void Screenshot::Serialize(::protozero::Message* msg) const { ::protozero::internal::gen_helpers::SerializeString(1, jpg_image_, msg); } + // Field 2: pam_image + if (_has_field_[2]) { + ::protozero::internal::gen_helpers::SerializeString(2, pam_image_, msg); + } + + // Field 3: ppm_image + if (_has_field_[3]) { + ::protozero::internal::gen_helpers::SerializeString(3, ppm_image_, msg); + } + protozero::internal::gen_helpers::SerializeUnknownFields(unknown_fields_, msg); } @@ -33333,8 +33299,6 @@ bool TrackEvent::operator==(const TrackEvent& other) const { && ::protozero::internal::gen_helpers::EqualsField(correlation_id_, other.correlation_id_) && ::protozero::internal::gen_helpers::EqualsField(correlation_id_str_, other.correlation_id_str_) && ::protozero::internal::gen_helpers::EqualsField(correlation_id_str_iid_, other.correlation_id_str_iid_) - && ::protozero::internal::gen_helpers::EqualsField(callstack_, other.callstack_) - && ::protozero::internal::gen_helpers::EqualsField(callstack_iid_, other.callstack_iid_) && ::protozero::internal::gen_helpers::EqualsField(debug_annotations_, other.debug_annotations_) && ::protozero::internal::gen_helpers::EqualsField(task_execution_, other.task_execution_) && ::protozero::internal::gen_helpers::EqualsField(log_message_, other.log_message_) @@ -33455,12 +33419,6 @@ bool TrackEvent::ParseFromArray(const void* raw, size_t size) { case 54 /* correlation_id_str_iid */: field.get(&correlation_id_str_iid_); break; - case 55 /* callstack */: - (*callstack_).ParseFromArray(field.data(), field.size()); - break; - case 56 /* callstack_iid */: - field.get(&callstack_iid_); - break; case 4 /* debug_annotations */: debug_annotations_.emplace_back(); debug_annotations_.back().ParseFromArray(field.data(), field.size()); @@ -33659,16 +33617,6 @@ void TrackEvent::Serialize(::protozero::Message* msg) const { ::protozero::internal::gen_helpers::SerializeVarInt(54, correlation_id_str_iid_, msg); } - // Field 55: callstack - if (_has_field_[55]) { - (*callstack_).Serialize(msg->BeginNestedMessage<::protozero::Message>(55)); - } - - // Field 56: callstack_iid - if (_has_field_[56]) { - ::protozero::internal::gen_helpers::SerializeVarInt(56, callstack_iid_, msg); - } - // Field 4: debug_annotations for (auto& it : debug_annotations_) { it.Serialize(msg->BeginNestedMessage<::protozero::Message>(4)); @@ -33997,139 +33945,6 @@ void TrackEvent_LegacyEvent::Serialize(::protozero::Message* msg) const { protozero::internal::gen_helpers::SerializeUnknownFields(unknown_fields_, msg); } - -TrackEvent_Callstack::TrackEvent_Callstack() = default; -TrackEvent_Callstack::~TrackEvent_Callstack() = default; -TrackEvent_Callstack::TrackEvent_Callstack(const TrackEvent_Callstack&) = default; -TrackEvent_Callstack& TrackEvent_Callstack::operator=(const TrackEvent_Callstack&) = default; -TrackEvent_Callstack::TrackEvent_Callstack(TrackEvent_Callstack&&) noexcept = default; -TrackEvent_Callstack& TrackEvent_Callstack::operator=(TrackEvent_Callstack&&) = default; - -bool TrackEvent_Callstack::operator==(const TrackEvent_Callstack& other) const { - return ::protozero::internal::gen_helpers::EqualsField(unknown_fields_, other.unknown_fields_) - && ::protozero::internal::gen_helpers::EqualsField(frames_, other.frames_); -} - -int TrackEvent_Callstack::frames_size() const { return static_cast(frames_.size()); } -void TrackEvent_Callstack::clear_frames() { frames_.clear(); } -TrackEvent_Callstack_Frame* TrackEvent_Callstack::add_frames() { frames_.emplace_back(); return &frames_.back(); } -bool TrackEvent_Callstack::ParseFromArray(const void* raw, size_t size) { - frames_.clear(); - unknown_fields_.clear(); - bool packed_error = false; - - ::protozero::ProtoDecoder dec(raw, size); - for (auto field = dec.ReadField(); field.valid(); field = dec.ReadField()) { - if (field.id() < _has_field_.size()) { - _has_field_.set(field.id()); - } - switch (field.id()) { - case 1 /* frames */: - frames_.emplace_back(); - frames_.back().ParseFromArray(field.data(), field.size()); - break; - default: - field.SerializeAndAppendTo(&unknown_fields_); - break; - } - } - return !packed_error && !dec.bytes_left(); -} - -std::string TrackEvent_Callstack::SerializeAsString() const { - ::protozero::internal::gen_helpers::MessageSerializer msg; - Serialize(msg.get()); - return msg.SerializeAsString(); -} - -std::vector TrackEvent_Callstack::SerializeAsArray() const { - ::protozero::internal::gen_helpers::MessageSerializer msg; - Serialize(msg.get()); - return msg.SerializeAsArray(); -} - -void TrackEvent_Callstack::Serialize(::protozero::Message* msg) const { - // Field 1: frames - for (auto& it : frames_) { - it.Serialize(msg->BeginNestedMessage<::protozero::Message>(1)); - } - - protozero::internal::gen_helpers::SerializeUnknownFields(unknown_fields_, msg); -} - - -TrackEvent_Callstack_Frame::TrackEvent_Callstack_Frame() = default; -TrackEvent_Callstack_Frame::~TrackEvent_Callstack_Frame() = default; -TrackEvent_Callstack_Frame::TrackEvent_Callstack_Frame(const TrackEvent_Callstack_Frame&) = default; -TrackEvent_Callstack_Frame& TrackEvent_Callstack_Frame::operator=(const TrackEvent_Callstack_Frame&) = default; -TrackEvent_Callstack_Frame::TrackEvent_Callstack_Frame(TrackEvent_Callstack_Frame&&) noexcept = default; -TrackEvent_Callstack_Frame& TrackEvent_Callstack_Frame::operator=(TrackEvent_Callstack_Frame&&) = default; - -bool TrackEvent_Callstack_Frame::operator==(const TrackEvent_Callstack_Frame& other) const { - return ::protozero::internal::gen_helpers::EqualsField(unknown_fields_, other.unknown_fields_) - && ::protozero::internal::gen_helpers::EqualsField(function_name_, other.function_name_) - && ::protozero::internal::gen_helpers::EqualsField(source_file_, other.source_file_) - && ::protozero::internal::gen_helpers::EqualsField(line_number_, other.line_number_); -} - -bool TrackEvent_Callstack_Frame::ParseFromArray(const void* raw, size_t size) { - unknown_fields_.clear(); - bool packed_error = false; - - ::protozero::ProtoDecoder dec(raw, size); - for (auto field = dec.ReadField(); field.valid(); field = dec.ReadField()) { - if (field.id() < _has_field_.size()) { - _has_field_.set(field.id()); - } - switch (field.id()) { - case 1 /* function_name */: - ::protozero::internal::gen_helpers::DeserializeString(field, &function_name_); - break; - case 2 /* source_file */: - ::protozero::internal::gen_helpers::DeserializeString(field, &source_file_); - break; - case 3 /* line_number */: - field.get(&line_number_); - break; - default: - field.SerializeAndAppendTo(&unknown_fields_); - break; - } - } - return !packed_error && !dec.bytes_left(); -} - -std::string TrackEvent_Callstack_Frame::SerializeAsString() const { - ::protozero::internal::gen_helpers::MessageSerializer msg; - Serialize(msg.get()); - return msg.SerializeAsString(); -} - -std::vector TrackEvent_Callstack_Frame::SerializeAsArray() const { - ::protozero::internal::gen_helpers::MessageSerializer msg; - Serialize(msg.get()); - return msg.SerializeAsArray(); -} - -void TrackEvent_Callstack_Frame::Serialize(::protozero::Message* msg) const { - // Field 1: function_name - if (_has_field_[1]) { - ::protozero::internal::gen_helpers::SerializeString(1, function_name_, msg); - } - - // Field 2: source_file - if (_has_field_[2]) { - ::protozero::internal::gen_helpers::SerializeString(2, source_file_, msg); - } - - // Field 3: line_number - if (_has_field_[3]) { - ::protozero::internal::gen_helpers::SerializeVarInt(3, line_number_, msg); - } - - protozero::internal::gen_helpers::SerializeUnknownFields(unknown_fields_, msg); -} - } // namespace perfetto } // namespace protos } // namespace gen @@ -34300,8 +34115,6 @@ void TrackEvent_Callstack_Frame::Serialize(::protozero::Message* msg) const { // Intentionally empty (crbug.com/998165) // gen_amalgamated begin source: gen/protos/perfetto/trace/ftrace/ftrace.pbzero.cc // Intentionally empty (crbug.com/998165) -// gen_amalgamated begin source: gen/protos/perfetto/trace/ftrace/fwtp_ftrace.pbzero.cc -// Intentionally empty (crbug.com/998165) // gen_amalgamated begin source: gen/protos/perfetto/trace/ftrace/g2d.pbzero.cc // Intentionally empty (crbug.com/998165) // gen_amalgamated begin source: gen/protos/perfetto/trace/ftrace/google_icc_trace.pbzero.cc @@ -34873,10 +34686,9 @@ inline void GetProducerAndWriterID(ProducerAndWriterID x, // open in the service. static constexpr ProducerID kMaxProducerID = static_cast(-1); -// 32k Writers per producer seems a resonable bound. This reduces the ability -// to memory-DoS the service by having to keep track of too many writer IDs, -// but enough to run certain known benchmark workloads. -static constexpr WriterID kMaxWriterID = static_cast((1 << 15) - 1); +// 1024 Writers per producer seems a resonable bound. This reduces the ability +// to memory-DoS the service by having to keep track of too many writer IDs. +static constexpr WriterID kMaxWriterID = static_cast((1 << 10) - 1); // Unique within the scope of a {ProducerID, WriterID} tuple. using ChunkID = uint32_t; @@ -36537,11 +36349,6 @@ class PERFETTO_EXPORT_COMPONENT ConsumerEndpoint { // If not zero, this is stored in the trace as the configured delay (in // milliseconds) of the trigger that caused the clone. uint64_t clone_trigger_delay_ms = 0; - - // If valid, and the session that should be cloned is 'write_into_file' - // session, traced writes the cloned session content to this file - // descriptor, instead of writing it in the cloned session buffers. - base::ScopedFile output_file_fd; }; virtual void CloneSession(CloneSessionArgs) = 0; @@ -37327,13 +37134,6 @@ class SharedMemoryArbiterImpl : public SharedMemoryArbiter { // batching period. bool delayed_flush_scheduled_ = false; - // Indicates whether we have already scheduled an immediate flush due to the - // shared memory buffer being more than half full. Set to true when the first - // immediate flush is posted and cleared when the flush completes. This - // prevents posting multiple immediate flush tasks when chunks continue to be - // committed while the buffer remains over 50% full. - bool immediate_flush_scheduled_ = false; - // Stores target buffer reservations for writers created via // CreateStartupTraceWriter(). A bound reservation sets // TargetBufferReservation::resolved to true and is associated with the actual @@ -37725,7 +37525,6 @@ class TraceWriterImpl : public TraceWriter, // gen_amalgamated expanded: #include "perfetto/base/logging.h" // gen_amalgamated expanded: #include "perfetto/base/task_runner.h" // gen_amalgamated expanded: #include "perfetto/base/time.h" -// gen_amalgamated expanded: #include "perfetto/ext/base/flags.h" // gen_amalgamated expanded: #include "perfetto/ext/tracing/core/commit_data_request.h" // gen_amalgamated expanded: #include "perfetto/ext/tracing/core/shared_memory.h" // gen_amalgamated expanded: #include "perfetto/ext/tracing/core/shared_memory_abi.h" @@ -38088,20 +37887,9 @@ void SharedMemoryArbiterImpl::UpdateCommitDataRequest( // trace. if (fully_bound_ && (last_patch_req || bytes_pending_commit_ >= shmem_abi_.size() / 2)) { - bool should_post_immediate_flush = true; - if (base::flags::sma_prevent_duplicate_immediate_flushes) { - // Only post an immediate flush task if we haven't already posted one. - // This prevents spamming the task runner with immediate flushes when - // the buffer remains over 50% full while chunks continue to be - // committed. See b/330580374. - should_post_immediate_flush = !immediate_flush_scheduled_; - } - if (should_post_immediate_flush) { - weak_this = weak_ptr_factory_.GetWeakPtr(); - task_runner_to_post_delayed_callback_on = task_runner_; - flush_delay_ms = 0; - immediate_flush_scheduled_ = true; - } + weak_this = weak_ptr_factory_.GetWeakPtr(); + task_runner_to_post_delayed_callback_on = task_runner_; + flush_delay_ms = 0; } // When using shmem emulation we commit the completed chunks immediately @@ -38115,30 +37903,15 @@ void SharedMemoryArbiterImpl::UpdateCommitDataRequest( // Allow next call to UpdateCommitDataRequest to start // another batching period. delayed_flush_scheduled_ = false; - // We're flushing synchronously, so any scheduled immediate flush is - // no longer needed. - immediate_flush_scheduled_ = false; // We can't flush while holding the lock scoped_lock.unlock(); FlushPendingCommitDataRequests(); } else { - bool should_post_immediate_flush = true; - if (base::flags::sma_prevent_duplicate_immediate_flushes) { - // Only post an immediate flush task if we haven't already posted one. - // This prevents spamming the task runner with immediate flushes when - // the buffer remains over 50% full while chunks continue to be - // committed. See b/330580374. - should_post_immediate_flush = !immediate_flush_scheduled_; - } - // Since we aren't on the |task_runner_| thread post a task instead, // in order to prevent non-overlaping commit data request flushes. - if (should_post_immediate_flush) { - weak_this = weak_ptr_factory_.GetWeakPtr(); - task_runner_to_post_delayed_callback_on = task_runner_; - flush_delay_ms = 0; - immediate_flush_scheduled_ = true; - } + weak_this = weak_ptr_factory_.GetWeakPtr(); + task_runner_to_post_delayed_callback_on = task_runner_; + flush_delay_ms = 0; } } } // scoped_lock(lock_) @@ -38153,11 +37926,9 @@ void SharedMemoryArbiterImpl::UpdateCommitDataRequest( return; { std::lock_guard scoped_lock(weak_this->lock_); - // Clear |delayed_flush_scheduled_| and - // |immediate_flush_scheduled_|, allowing the next call to + // Clear |delayed_flush_scheduled_|, allowing the next call to // UpdateCommitDataRequest to start another batching period. weak_this->delayed_flush_scheduled_ = false; - weak_this->immediate_flush_scheduled_ = false; } weak_this->FlushPendingCommitDataRequests(); }, @@ -39452,7 +39223,6 @@ class PERFETTO_EXPORT_COMPONENT Consumer { bool success; std::string error; base::Uuid uuid; // UUID of the cloned session. - bool was_write_into_file; }; virtual void OnSessionCloned(const OnSessionClonedArgs&); }; @@ -41759,7 +41529,6 @@ class TracingMuxerImpl : public TracingMuxer { // gen_amalgamated expanded: #include "perfetto/base/time.h" // gen_amalgamated expanded: #include "perfetto/ext/base/fnv_hash.h" // gen_amalgamated expanded: #include "perfetto/ext/base/thread_checker.h" -// gen_amalgamated expanded: #include "perfetto/ext/base/utils.h" // gen_amalgamated expanded: #include "perfetto/ext/base/waitable_event.h" // gen_amalgamated expanded: #include "perfetto/ext/tracing/core/shared_memory_arbiter.h" // gen_amalgamated expanded: #include "perfetto/ext/tracing/core/trace_packet.h" @@ -42196,7 +41965,7 @@ void TracingMuxerImpl::ConsumerImpl::OnConnect() { muxer_->QueryServiceState(session_id_, std::move(callback)); } if (session_to_clone_) { - service_->CloneSession(std::move(*session_to_clone_)); + service_->CloneSession(*session_to_clone_); session_to_clone_ = std::nullopt; } @@ -43397,7 +43166,6 @@ void TracingMuxerImpl::StopDataSource_AsyncEnd(TracingBackendId backend_id, producer->service_->NotifyDataSourceStopped(instance_id); } producer->SweepDeadServices(); - base::MaybeReleaseAllocatorMemToOS(); } void TracingMuxerImpl::ClearDataSourceIncrementalState( @@ -43722,14 +43490,14 @@ void TracingMuxerImpl::CloneTracingSession( // Multiple concurrent cloning isn't supported. PERFETTO_DCHECK(!consumer->clone_trace_callback_); consumer->clone_trace_callback_ = std::move(callback); - ConsumerEndpoint::CloneSessionArgs consumer_args; + ConsumerEndpoint::CloneSessionArgs consumer_args{}; consumer_args.unique_session_name = args.unique_session_name; if (!consumer->connected_) { consumer->session_to_clone_ = std::move(consumer_args); return; } consumer->session_to_clone_ = std::nullopt; - consumer->service_->CloneSession(std::move(consumer_args)); + consumer->service_->CloneSession(consumer_args); } void TracingMuxerImpl::ChangeTracingSessionConfig( @@ -45428,7 +45196,6 @@ base::PlatformProcessId Platform::process_id_ = 0; #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) // gen_amalgamated expanded: #include "perfetto/ext/base/file_utils.h" @@ -45525,8 +45292,7 @@ std::string PlatformPosix::GetCurrentProcessName() { std::string cmdline; base::ReadFile("/proc/self/cmdline", &cmdline); return cmdline.substr(0, cmdline.find('\0')); -#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) +#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) return std::string(getprogname()); #else return "unknown_producer"; @@ -46224,7 +45990,7 @@ protos::gen::TrackDescriptor ProcessTrack::Serialize() const { std::string(splitter.cur_token(), splitter.cur_token_size())); } } - // TODO(skyostil): Record command line on Windows, FreeBSD and Mac. + // TODO(skyostil): Record command line on Windows and Mac. #endif return desc; } @@ -47215,10 +46981,9 @@ namespace perfetto::base { ClockSnapshotVector CaptureClockSnapshots() { ClockSnapshotVector snapshot_data; -#if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \ - !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \ - !PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) && \ - !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) && \ +#if !PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) && \ + !PERFETTO_BUILDFLAG(PERFETTO_OS_NACL) && \ !PERFETTO_BUILDFLAG(PERFETTO_OS_QNX) struct { clockid_t id; @@ -47324,8 +47089,8 @@ const char* GetVersionCode(); #ifndef GEN_PERFETTO_VERSION_GEN_H_ #define GEN_PERFETTO_VERSION_GEN_H_ -#define PERFETTO_VERSION_STRING() "v53.0-20d8cb80b" -#define PERFETTO_VERSION_SCM_REVISION() "20d8cb80b4d69967554f1033e7f49592ac639a3c" +#define PERFETTO_VERSION_STRING() "v52.0-6d45f900c" +#define PERFETTO_VERSION_SCM_REVISION() "6d45f900c1de947ef26a40dc9dff5141ac910294" #endif // GEN_PERFETTO_VERSION_GEN_H_ /* @@ -49553,105 +49318,6 @@ class Histogram { // gen_amalgamated begin header: src/tracing/service/trace_buffer.h // gen_amalgamated begin header: include/perfetto/ext/base/flat_hash_map.h // gen_amalgamated begin header: include/perfetto/ext/base/murmur_hash.h -// gen_amalgamated begin header: include/perfetto/ext/base/hash.h -/* - * Copyright (C) 2019 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef INCLUDE_PERFETTO_EXT_BASE_HASH_H_ -#define INCLUDE_PERFETTO_EXT_BASE_HASH_H_ - -#include -#include -#include -#include -#include -#include - -namespace perfetto::base { - -// ============================================================================ -// Absl-style hash customization point -// ============================================================================ -// -// To make a type hashable with Perfetto hash functions, define a friend -// function template: -// -// template -// friend H PerfettoHashValue(H h, const MyType& value) { -// return H::Combine(std::move(h), value.field1, value.field2); -// } -// -// This function will be found via ADL (Argument Dependent Lookup) when hashing -// your type. No forward declaration is needed - ADL finds it in your type's -// namespace. - -// ============================================================================ -// Built-in PerfettoHashValue implementations for common standard library -// types. These allow standard library types to work seamlessly with the -// absl-style hash API without requiring users to define their own -// implementations. -// ============================================================================ - -// Hash function for std::optional - hashes the value if present, or a sentinel -// if not. -template -H PerfettoHashValue(H h, const std::optional& value) { - if (value.has_value()) { - return H::Combine(H::Combine(std::move(h), true), *value); - } - return H::Combine(std::move(h), false, 0); -} - -// Hash function for std::pair - combines hashes of both elements. -template -H PerfettoHashValue(H h, const std::pair& value) { - return H::Combine(std::move(h), value.first, value.second); -} - -// Hash function for std::tuple - combines hashes of all elements. -template -H PerfettoHashValue(H h, const std::tuple& value) { - return std::apply( - [&h](const auto&... elements) { - return H::Combine(std::move(h), elements...); - }, - value); -} - -// Hash function for pointers - hashes the pointer value as an integer. -template -H PerfettoHashValue(H h, const std::unique_ptr& ptr) { - return H::Combine(std::move(h), ptr.get()); -} -template -H PerfettoHashValue(H h, const std::shared_ptr& ptr) { - return H::Combine(std::move(h), ptr.get()); -} - -// This is for using already-hashed key into std::unordered_map and avoid the -// cost of re-hashing. Example: -// unordered_map my_map. -template -struct AlreadyHashed { - size_t operator()(const T& x) const { return static_cast(x); } -}; - -} // namespace perfetto::base - -#endif // INCLUDE_PERFETTO_EXT_BASE_HASH_H_ /* * Copyright (C) 2019 The Android Open Source Project * @@ -49675,14 +49341,11 @@ struct AlreadyHashed { #include #include #include +#include #include #include -#include #include -#include -// gen_amalgamated expanded: #include "perfetto/ext/base/hash.h" -// gen_amalgamated expanded: #include "perfetto/ext/base/string_view.h" // gen_amalgamated expanded: #include "perfetto/public/compiler.h" // This file provides an implementation of the 64-bit MurmurHash2 algorithm, @@ -49822,188 +49485,91 @@ Int NormalizeFloatToInt(Float value) { return res; } -// Computes a 64-bit hash for a single built-in value without any combination. -// This is the core primitive used by both MurmurHashValue and -// MurmurHashCombiner::CombineOne for built-in types. +} // namespace murmur_internal + +// std::hash drop-in class which uses the core MurmurHash functions above to +// produce a hash. // -// NOTE: This function intentionally has no else branch for non-builtin types, -// which will cause a compile error if called with an unsupported type. Callers -// should check if the type is supported before calling this function. +// Uses: +// 1) MurmurHashMix for fixed size numeric types (integers, floats, doubles). +// 2) MurmurHashBytes for string types (string, string_view) etc. +// 3) Falls back to std::hash for all other types. +// TODO(lalitm): create a absl-like API for allowing aribtrary types +// to be hashed without needing to override std::hash. template -auto MurmurHashBuiltinValue(const T& value) { - if constexpr (std::is_enum_v) { - return murmur_internal::MurmurHashMix( - static_cast(static_cast>(value))); - } else if constexpr (std::is_integral_v) { - return murmur_internal::MurmurHashMix(static_cast(value)); - } else if constexpr (std::is_same_v) { - return murmur_internal::MurmurHashMix( - murmur_internal::NormalizeFloatToInt(value)); - } else if constexpr (std::is_same_v) { - return murmur_internal::MurmurHashMix( - murmur_internal::NormalizeFloatToInt(value)); - } else if constexpr (std::is_same_v || - std::is_same_v || - std::is_same_v) { - return murmur_internal::MurmurHashBytes(value.data(), value.size()); - } else if constexpr (std::is_same_v) { - std::string_view view(value); - return murmur_internal::MurmurHashBytes(view.data(), view.size()); - } else if constexpr (std::is_pointer_v) { - return murmur_internal::MurmurHashMix( - static_cast(reinterpret_cast(value))); - } else { - struct InvalidBuiltin {}; - return InvalidBuiltin{}; +struct MurmurHash { + uint64_t operator()(const T& value) const { + if constexpr (std::is_integral_v) { + return murmur_internal::MurmurHashMix(static_cast(value)); + } else if constexpr (std::is_same_v) { + return murmur_internal::MurmurHashMix( + murmur_internal::NormalizeFloatToInt(value)); + } else if constexpr (std::is_same_v) { + return murmur_internal::MurmurHashMix( + murmur_internal::NormalizeFloatToInt(value)); + } else if constexpr (std::is_same_v || + std::is_same_v) { + return murmur_internal::MurmurHashBytes(value.data(), value.size()); + } else { + return std::hash{}(value); + } } -} - -// Helper to check if a type has a built-in MurmurHash implementation. -template -constexpr bool HasMurmurHashBuiltinValue() { - return std::is_same_v())), - uint64_t>; -} - -// Helper to check if two types are integeral and U is convertible to T. -template -constexpr bool IsConvertibleIntegral() { - return std::is_integral_v && std::is_integral_v && - std::is_convertible_v; -} +}; -// Helper to check if a type is string-like (i.e. string, c-string or string -// views). +// Simple wrapper function around MurmurHash to improve clarity in callsites +// to not have to instantiate the class and then call operator(). template -constexpr bool IsStringLike() { - return std::is_same_v || - std::is_same_v || - std::is_same_v || std::is_same_v; -} - -// Helper to check if heterogeneous lookup is allowed between T and U. -// Only allows it for convertible integral types and string-like types. -template -constexpr bool AllowsHeterogeneousLookup() { - return IsConvertibleIntegral() || - (IsStringLike() && IsStringLike()); +uint64_t MurmurHashValue(const T& value) { + return MurmurHash{}(value); } -} // namespace murmur_internal - -// ============================================================================ -// MurmurHashCombiner - the core hasher state object -// ============================================================================ -// // A helper class to create a 64-bit MurmurHash from a series of // structured fields. // -// This class supports both the absl-style hasher API and a direct -// member Combine() method. -// -// Absl-style API (for custom types with PerfettoHashValue): -// template -// friend H PerfettoHashValue(H h, const MyType& value) { -// return H::Combine(std::move(h), value.field1, value.field2); -// } -// -// Direct API (for simple hash combining): -// MurmurHashCombiner combiner; -// combiner.Combine(field1, field2, ...); -// return combiner.digest(); -// // IMPORTANT: This is NOT a true streaming hash. It is an order-dependent // combiner. It does not guarantee that hashing two concatenated chunks of data -// will produce the same result as hashing them separately in sequence. +// will produce the same result as hashing them separately in sequence. It is +// designed exclusively for creating a hash from a fixed set of fields. class MurmurHashCombiner { public: - MurmurHashCombiner() = default; - - // Static Combine - returns a new hasher with the combined state. - // This is used by the absl-style PerfettoHashValue API. - template - static MurmurHashCombiner Combine(MurmurHashCombiner h, const Args&... args) { - h.Combine(args...); - return h; - } + MurmurHashCombiner() : hash_(kSeed) {} - // Member Combine - combines values into this hasher's state. - // This is a convenient API for directly combining multiple values. - // The combination is order-dependent. + // Combines the hash of one or more arguments into the combiner's state. + // + // This function uses a C++17 fold expression to hash each argument with + // `MurmurHashValue` and then mixes it into the current state via the private + // `Update` method. The combination is order-dependent. template void Combine(const Args&... args) { - // Uses a C++17 fold expression with CombineOne for each argument. - (CombineOne(args), ...); + // A C++17 fold expression that calls our private Update for each hashed + // arg. + (Update(MurmurHashValue(args)), ...); } // Returns the digest (i.e. current state of the combiner). - uint64_t digest() const { return hash_; } + inline uint64_t digest() const { return hash_; } private: - // Combines a single value into the hasher state. - template - void CombineOne(const T& value) { - if constexpr (murmur_internal::HasMurmurHashBuiltinValue()) { - Update(murmur_internal::MurmurHashBuiltinValue(value)); - } else { - // For custom types, use ADL to find the PerfettoHashValue function. - // This will cause a compile error with a clear message if the function - // is not defined. - hash_ = PerfettoHashValue(std::move(*this), value).digest(); - } - } - // Low-level update with a pre-computed hash value. This uses a fast, // order-dependent combination step inspired by the `hash_combine` function // in the Boost C++ libraries. - void Update(uint64_t piece_hash) { + inline void Update(uint64_t piece_hash) { hash_ ^= piece_hash + 0x9e3779b9 + (hash_ << 6) + (hash_ >> 2); } static constexpr uint64_t kSeed = 0xe17a1465U; - uint64_t hash_ = kSeed; + uint64_t hash_; }; // Simple wrapper function around MurmurHashCombiner to improve clarity in // callsites to not have to instantiate the class, call Combine() then digest(). template uint64_t MurmurHashCombine(const Args&... value) { - return MurmurHashCombiner::Combine(MurmurHashCombiner{}, value...).digest(); -} - -// Simple wrapper function to compute a hash value for a single value. -// This is the primitive hash operation that MurmurHash delegates to. -// -// For built-in types (integers, floats, strings), this uses a fast path that -// avoids the overhead of the MurmurHashCombiner. For custom types, it delegates -// to MurmurHashCombiner which will use ADL to find the PerfettoHashValue. -template -uint64_t MurmurHashValue(const T& value) { - if constexpr (murmur_internal::HasMurmurHashBuiltinValue()) { - return murmur_internal::MurmurHashBuiltinValue(value); - } else { - return MurmurHashCombine(value); - } + MurmurHashCombiner combiner; + combiner.Combine(value...); + return combiner.digest(); } -// std::hash drop-in class which uses MurmurHashValue as the primitive. -// All specializations consistently delegate to MurmurHashValue. -template -struct MurmurHash { - using is_transparent = void; - - uint64_t operator()(const T& value) const { return MurmurHashValue(value); } - - // Heterogeneous lookup support. Only allowed for types where it makes sense - // (e.g. string-like types and convertible integral types). - template - auto operator()(const U& value) const - -> std::enable_if_t(), - uint64_t> { - return MurmurHashValue(value); - } -}; - } // namespace perfetto::base #endif // INCLUDE_PERFETTO_EXT_BASE_MURMUR_HASH_H_ @@ -50031,16 +49597,9 @@ struct MurmurHash { // gen_amalgamated expanded: #include "perfetto/ext/base/fnv_hash.h" // gen_amalgamated expanded: #include "perfetto/ext/base/murmur_hash.h" // gen_amalgamated expanded: #include "perfetto/ext/base/utils.h" -// gen_amalgamated expanded: #include "perfetto/public/compiler.h" #include -#include -#include -#include #include -#include -#include -#include namespace perfetto { namespace base { @@ -50096,37 +49655,6 @@ struct QuadraticHalfProbe { } }; -// Non-templated base class to hold helpers for FlatHashMap. -struct FlatHashMapBase { - public: - // Helper to detect if a hasher has is_transparent defined. - template - struct HasIsTransparent : std::false_type {}; - - template - struct HasIsTransparent> - : std::true_type {}; - - // Helper to check if a lookup key type K is allowed. - // Returns true if: - // 1. K can be implicitly converted to Key, OR - // 2. Hasher has is_transparent AND Hasher is invocable with K AND Key and K - // are equality comparable - template - static constexpr bool IsLookupKeyAllowed() { - if constexpr (HasIsTransparent::value) { - return std::is_invocable_v && - std::is_same_v() == - std::declval()), - bool>; - } else if constexpr (std::is_convertible_v) { - return true; - } else { - return false; - } - } -}; - template >, typename Probe = QuadraticProbe, bool AppendOnly = false> -class FlatHashMap : protected FlatHashMapBase { +class FlatHashMap { public: class Iterator { public: @@ -50174,6 +49702,7 @@ class FlatHashMap : protected FlatHashMapBase { const FlatHashMap* map_ = nullptr; size_t idx_ = 0; }; // Iterator + static constexpr int kDefaultLoadLimitPct = 75; explicit FlatHashMap(size_t initial_capacity = 0, int load_limit_pct = kDefaultLoadLimitPct) @@ -50302,16 +49831,14 @@ class FlatHashMap : protected FlatHashMapBase { return std::make_pair(value_idx, true); } - template - Value* Find(const K& key) const { + Value* Find(const Key& key) const { const size_t idx = FindInternal(key); if (idx == kNotFound) return nullptr; return &values_[idx]; } - template - bool Erase(const K& key) { + bool Erase(const Key& key) { if (AppendOnly) PERFETTO_FATAL("Erase() not supported because AppendOnly=true"); size_t idx = FindInternal(key); @@ -50353,13 +49880,7 @@ class FlatHashMap : protected FlatHashMapBase { enum ReservedTags : uint8_t { kFreeSlot = 0, kTombstone = 1 }; static constexpr size_t kNotFound = std::numeric_limits::max(); - template - size_t FindInternal(const K& key) const { - static_assert( - IsLookupKeyAllowed(), - "Heterogeneous lookup requires Hasher to define is_transparent and " - "support hashing the lookup key type. For same-type lookup, Key and K " - "must match exactly."); + size_t FindInternal(const Key& key) const { const size_t key_hash = Hasher{}(key); const uint8_t tag = HashToTag(key_hash); PERFETTO_DCHECK((capacity_ & (capacity_ - 1)) == 0); // Must be a pow2. @@ -53050,9 +52571,6 @@ class TracingServiceImpl : public TracingService { // Reads all the tracing buffers from the tracing session `tsid` and writes // them into the associated file. - // If `async_flush_buffers_before_read` is `true` this function becomes - // asynchronous: immediately posts a `Flush` task and returns. Reads the - // buffers when the flush is done, inside the `FlushCallback`. // // Reads all the data in the buffers (or until the file is full) before // returning. @@ -53062,8 +52580,7 @@ class TracingServiceImpl : public TracingService { // to be executed after write_period_ms. // // Returns false in case of error. - bool ReadBuffersIntoFile(TracingSessionID tsid, - bool async_flush_buffers_before_read); + bool ReadBuffersIntoFile(TracingSessionID); void FreeBuffers(TracingSessionID tsid, const std::string& error = {}); @@ -53180,7 +52697,6 @@ class TracingServiceImpl : public TracingService { bool skip_trace_filter = false; std::optional clone_trigger; int64_t clone_started_timestamp_ns = 0; - base::ScopedFile output_file_fd; }; // Holds the state of a tracing session. A tracing session is uniquely bound @@ -53544,8 +53060,7 @@ class TracingServiceImpl : public TracingService { bool final_flush_outcome, std::optional clone_trigger, base::Uuid*, - int64_t clone_started_timestamp_ns, - base::ScopedFile output_file_fd); + int64_t clone_started_timestamp_ns); void OnFlushDoneForClone(TracingSessionID src_tsid, PendingCloneID clone_id, const std::set& buf_ids, @@ -53762,7 +53277,6 @@ inline base::StatusOr CreateSchedPolicyFromConfig( #if PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) #define PERFETTO_HAS_CHMOD #include @@ -53774,7 +53288,6 @@ inline base::StatusOr CreateSchedPolicyFromConfig( // gen_amalgamated expanded: #include "perfetto/ext/base/android_utils.h" // gen_amalgamated expanded: #include "perfetto/ext/base/clock_snapshots.h" // gen_amalgamated expanded: #include "perfetto/ext/base/file_utils.h" -// gen_amalgamated expanded: #include "perfetto/ext/base/flags.h" // gen_amalgamated expanded: #include "perfetto/ext/base/metatrace.h" // gen_amalgamated expanded: #include "perfetto/ext/base/string_utils.h" // gen_amalgamated expanded: #include "perfetto/ext/base/string_view.h" @@ -55135,13 +54648,8 @@ void TracingServiceImpl::StartTracing(TracingSessionID tsid) { // Start the periodic drain tasks if we should to save the trace into a file. if (tracing_session->config.write_into_file()) { - bool async_flush_buffers_before_read = - !tracing_session->config.no_flush_before_write_into_file(); - weak_runner_.PostDelayedTask( - [this, tsid, async_flush_buffers_before_read] { - ReadBuffersIntoFile(tsid, async_flush_buffers_before_read); - }, - DelayToNextWritePeriodMs(*tracing_session)); + weak_runner_.PostDelayedTask([this, tsid] { ReadBuffersIntoFile(tsid); }, + DelayToNextWritePeriodMs(*tracing_session)); } // Start the periodic flush tasks if the config specified a flush period. @@ -55239,6 +54747,9 @@ void TracingServiceImpl::DisableTracing(TracingSessionID tsid, return; } + MaybeLogUploadEvent(tracing_session->config, tracing_session->trace_uuid, + PerfettoStatsdAtom::kTracedDisableTracing); + switch (tracing_session->state) { // Spurious call to DisableTracing() while already disabled, nothing to do. case TracingSession::DISABLED: @@ -55270,21 +54781,6 @@ void TracingServiceImpl::DisableTracing(TracingSessionID tsid, // This is the nominal case, continues below. case TracingSession::STARTED: - // Log the disable tracing event only when the session was actually - // started. This avoids double-logging in scenarios where DisableTracing - // is called multiple times for the same session. A common case is with - // traces that have a timeout (e.g. using `trigger_timeout_ms`): - // 1. The service's timer expires and it calls `DisableTracing` - // internally. - // 2. The service notifies the consumer (e.g. `perfetto_cmd`) that the - // trace has ended. - // 3. The consumer, as part of its cleanup, calls `FreeBuffers()`. - // 4. `FreeBuffers()` on the service-side calls `DisableTracing()` again - // as a safeguard. - // By logging only when transitioning from the `STARTED` state, we ensure - // we only log the effective disable event. - MaybeLogUploadEvent(tracing_session->config, tracing_session->trace_uuid, - PerfettoStatsdAtom::kTracedDisableTracing); break; } @@ -55687,9 +55183,7 @@ void TracingServiceImpl::DisableTracingNotifyConsumerAndFlushFile( if (tracing_session->write_into_file) { tracing_session->write_period_ms = 0; - // Buffers are scraped, no need to flush before reading into file. - ReadBuffersIntoFile(tracing_session->id, - /* async_flush_buffers_before_read = */ false); + ReadBuffersIntoFile(tracing_session->id); } MaybeLogUploadEvent(tracing_session->config, tracing_session->trace_uuid, @@ -56175,9 +55669,7 @@ bool TracingServiceImpl::ReadBuffersIntoConsumer( return true; } -bool TracingServiceImpl::ReadBuffersIntoFile( - TracingSessionID tsid, - bool async_flush_buffers_before_read) { +bool TracingServiceImpl::ReadBuffersIntoFile(TracingSessionID tsid) { PERFETTO_DCHECK_THREAD(thread_checker_); TracingSession* tracing_session = GetTracingSession(tsid); if (!tracing_session) { @@ -56194,62 +55686,35 @@ bool TracingServiceImpl::ReadBuffersIntoFile( if (IsWaitingForTrigger(tracing_session)) return false; - auto do_read_buffers_into_file_fn = - [this, tsid](bool async_flush_buffers_before_read) { - TracingSession* tracing_session = GetTracingSession(tsid); - if (!tracing_session) - return; - // ReadBuffers() can allocate memory internally, for filtering. By - // limiting the data that ReadBuffers() reads to kWriteIntoChunksSize - // per iteration, we limit the amount of memory used on each iteration. - // - // It would be tempting to split this into multiple tasks like in - // ReadBuffersIntoConsumer, but that's not currently possible. - // ReadBuffersIntoFile has to read the whole available data before - // returning, to support the disable_immediately=true code paths. - bool has_more = true; - bool stop_writing_into_file = false; - do { - std::vector packets = - ReadBuffers(tracing_session, kWriteIntoFileChunkSize, &has_more); - - stop_writing_into_file = - WriteIntoFile(tracing_session, std::move(packets)); - } while (has_more && !stop_writing_into_file); - - // Ensure all data was written to the file. - base::FlushFile(tracing_session->write_into_file.get()); - - if (stop_writing_into_file || tracing_session->write_period_ms == 0) { - tracing_session->write_into_file.reset(); - tracing_session->write_period_ms = 0; - if (tracing_session->state == TracingSession::STARTED) - DisableTracing(tsid); - return; - } + // ReadBuffers() can allocate memory internally, for filtering. By limiting + // the data that ReadBuffers() reads to kWriteIntoChunksSize per iteration, + // we limit the amount of memory used on each iteration. + // + // It would be tempting to split this into multiple tasks like in + // ReadBuffersIntoConsumer, but that's not currently possible. + // ReadBuffersIntoFile has to read the whole available data before returning, + // to support the disable_immediately=true code paths. + bool has_more = true; + bool stop_writing_into_file = false; + do { + std::vector packets = + ReadBuffers(tracing_session, kWriteIntoFileChunkSize, &has_more); - weak_runner_.PostDelayedTask( - [this, tsid, async_flush_buffers_before_read] { - ReadBuffersIntoFile(tsid, async_flush_buffers_before_read); - }, - DelayToNextWritePeriodMs(*tracing_session)); - }; + stop_writing_into_file = WriteIntoFile(tracing_session, std::move(packets)); + } while (has_more && !stop_writing_into_file); - if (async_flush_buffers_before_read) { - Flush( - tsid, 0, - [do_read_buffers_into_file_fn](bool success) { - if (!success) - PERFETTO_ELOG("ReadBuffersIntoFile flush timed out"); - do_read_buffers_into_file_fn( - /* async_flush_buffers_before_read= */ true); - }, - FlushFlags(FlushFlags::Initiator::kTraced, - FlushFlags::Reason::kPeriodic)); - } else { - do_read_buffers_into_file_fn(/* async_flush_buffers_before_read= */ false); + if (stop_writing_into_file || tracing_session->write_period_ms == 0) { + // Ensure all data was written to the file before we close it. + base::FlushFile(tracing_session->write_into_file.get()); + tracing_session->write_into_file.reset(); + tracing_session->write_period_ms = 0; + if (tracing_session->state == TracingSession::STARTED) + DisableTracing(tsid); + return true; } + weak_runner_.PostDelayedTask([this, tsid] { ReadBuffersIntoFile(tsid); }, + DelayToNextWritePeriodMs(*tracing_session)); return true; } @@ -56649,7 +56114,7 @@ void TracingServiceImpl::FreeBuffers(TracingSessionID tsid, [weak_consumer = clone_op.weak_consumer] { if (weak_consumer) { weak_consumer->consumer_->OnSessionCloned( - {false, "Original session ended", {}, false}); + {false, "Original session ended", {}}); } }); } @@ -57910,38 +57375,6 @@ base::Status TracingServiceImpl::FlushAndCloneSession( return PERFETTO_SVC_ERR("Not allowed to clone a session from another UID"); } - // The new logic we use to clone 'write_into_file' session relies on the - // 'buffer_clone_preserve_read_iter' flag being true; see b/448604718. - // - // The old logic ignored |session->write_into_file| when doing clone. - // Therefore, if the 'buffer_clone_preserve_read_iter' flag is false, we - // ignore the file to make the new logic behave like the old logic. - bool clone_session_write_into_file = - base::flags::buffer_clone_preserve_read_iter && session->write_into_file; - - if (clone_session_write_into_file) { - if (!args.output_file_fd) { - return PERFETTO_SVC_ERR( - "Failed to clone 'write_into_file' session: a file descriptor is " - "required to copy existing file"); - } - base::FlushFile(*session->write_into_file); - base::Status status = - base::CopyFileContents(*session->write_into_file, *args.output_file_fd); - if (!status.ok()) { - return PERFETTO_SVC_ERR( - "Failed to clone 'write_into_file' session: failed to copy existing " - "file: %s", - status.c_message()); - } - } else { - // The client always sends a FD because when it asks to CloneSession, - // it doesn't know if the session being cloned is WIF or not. If it's - // not we should just ignore the file, the client will readback via IPC - // as usual in that case. - args.output_file_fd.reset(); - } - // If any of the buffers are marked as clear_before_clone, reset them before // issuing the Flush(kCloneReason). size_t buf_idx = 0; @@ -57994,9 +57427,6 @@ base::Status TracingServiceImpl::FlushAndCloneSession( args.clone_trigger_producer_name, args.clone_trigger_trusted_producer_uid, args.clone_trigger_delay_ms}; } - if (args.output_file_fd) { - clone_op.output_file_fd = std::move(args.output_file_fd); - } // Issue separate flush requests for separate buffer groups. The buffer marked // as transfer_on_clone will be flushed and cloned separately: even if they're @@ -58083,7 +57513,6 @@ void TracingServiceImpl::OnFlushDoneForClone(TracingSessionID tsid, result = PERFETTO_SVC_ERR("Buffer allocation failed"); } - bool was_write_into_file = false; if (result.ok()) { UpdateMemoryGuardrail(); @@ -58096,19 +57525,17 @@ void TracingServiceImpl::OnFlushDoneForClone(TracingSessionID tsid, final_flush_outcome); if (clone_op.weak_consumer) { - was_write_into_file = static_cast(clone_op.output_file_fd); result = FinishCloneSession( &*clone_op.weak_consumer, tsid, std::move(clone_op.buffers), std::move(clone_op.buffer_cloned_timestamps), clone_op.skip_trace_filter, !clone_op.flush_failed, - clone_op.clone_trigger, &uuid, clone_op.clone_started_timestamp_ns, - std::move(clone_op.output_file_fd)); + clone_op.clone_trigger, &uuid, clone_op.clone_started_timestamp_ns); } } // if (result.ok()) if (clone_op.weak_consumer) { clone_op.weak_consumer->consumer_->OnSessionCloned( - {result.ok(), result.message(), uuid, was_write_into_file}); + {result.ok(), result.message(), uuid}); } src->pending_clones.erase(it); @@ -58163,8 +57590,7 @@ base::Status TracingServiceImpl::FinishCloneSession( bool final_flush_outcome, std::optional clone_trigger, base::Uuid* new_uuid, - int64_t clone_started_timestamp_ns, - base::ScopedFile output_file_fd) { + int64_t clone_started_timestamp_ns) { PERFETTO_DLOG("CloneSession(%" PRIu64 ", skip_trace_filter=%d) started, consumer uid: %d", src_tsid, skip_trace_filter, static_cast(consumer->uid_)); @@ -58271,14 +57697,6 @@ base::Status TracingServiceImpl::FinishCloneSession( cloned_session->final_flush_outcome = final_flush_outcome ? TraceStats::FINAL_FLUSH_SUCCEEDED : TraceStats::FINAL_FLUSH_FAILED; - if (output_file_fd) { - cloned_session->write_into_file = std::move(output_file_fd); - cloned_session->write_period_ms = 0; - // Buffers are flushed, no need to flush again before reading into file. - ReadBuffersIntoFile(cloned_session->id, - /* async_flush_buffers_before_read= */ false); - } - return base::OkStatus(); } @@ -58644,7 +58062,7 @@ void TracingServiceImpl::ConsumerEndpointImpl::CloneSession( base::Status result = service_->FlushAndCloneSession(this, std::move(args)); if (!result.ok()) { - consumer_->OnSessionCloned({false, result.message(), {}, false}); + consumer_->OnSessionCloned({false, result.message(), {}}); } } @@ -59214,8 +58632,7 @@ bool CloneSessionResponse::operator==(const CloneSessionResponse& other) const { && ::protozero::internal::gen_helpers::EqualsField(success_, other.success_) && ::protozero::internal::gen_helpers::EqualsField(error_, other.error_) && ::protozero::internal::gen_helpers::EqualsField(uuid_msb_, other.uuid_msb_) - && ::protozero::internal::gen_helpers::EqualsField(uuid_lsb_, other.uuid_lsb_) - && ::protozero::internal::gen_helpers::EqualsField(was_write_into_file_, other.was_write_into_file_); + && ::protozero::internal::gen_helpers::EqualsField(uuid_lsb_, other.uuid_lsb_); } bool CloneSessionResponse::ParseFromArray(const void* raw, size_t size) { @@ -59240,9 +58657,6 @@ bool CloneSessionResponse::ParseFromArray(const void* raw, size_t size) { case 4 /* uuid_lsb */: field.get(&uuid_lsb_); break; - case 5 /* was_write_into_file */: - field.get(&was_write_into_file_); - break; default: field.SerializeAndAppendTo(&unknown_fields_); break; @@ -59284,11 +58698,6 @@ void CloneSessionResponse::Serialize(::protozero::Message* msg) const { ::protozero::internal::gen_helpers::SerializeVarInt(4, uuid_lsb_, msg); } - // Field 5: was_write_into_file - if (_has_field_[5]) { - ::protozero::internal::gen_helpers::SerializeTinyVarInt(5, was_write_into_file_, msg); - } - protozero::internal::gen_helpers::SerializeUnknownFields(unknown_fields_, msg); } @@ -64236,8 +63645,7 @@ struct sockaddr_vm { #include #endif -#if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) +#if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) #include #endif @@ -64603,8 +64011,7 @@ UnixSocketRaw::UnixSocketRaw(ScopedSocketHandle fd, SockType type) : fd_(std::move(fd)), family_(family), type_(type) { PERFETTO_CHECK(fd_); -#if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) +#if PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) const int no_sigpipe = 1; setsockopt(*fd_, SOL_SOCKET, SO_NOSIGPIPE, &no_sigpipe, sizeof(no_sigpipe)); #endif @@ -65233,8 +64640,7 @@ void UnixSocket::ReadPeerCredentialsPosix() { PERFETTO_CHECK(res == 0); peer_uid_ = user_cred.uid; peer_pid_ = user_cred.pid; -#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) +#elif PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) struct xucred user_cred; socklen_t len = sizeof(user_cred); int res = getsockopt(sock_raw_.fd(), 0, LOCAL_PEERCRED, &user_cred, &len); @@ -67515,7 +66921,6 @@ base::MachineID GenerateMachineID(base::UnixSocket* sock, uid_t HostImpl::ClientConnection::GetPosixPeerUid() const { #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) if (sock->family() == base::SockFamily::kUnix) return sock->peer_uid_posix(); @@ -68755,7 +68160,6 @@ void RelayPortProxy::SyncClock(const SyncClockRequest& request, DeferredSyncCloc #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) #include #endif @@ -69032,7 +68436,6 @@ base::ScopedFile CreateMemfd(const char*, unsigned int) { PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_WASM) #include @@ -69113,7 +68516,6 @@ class PosixSharedMemory : public SharedMemory { PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_APPLE) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_FUCHSIA) || \ - PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) || \ PERFETTO_BUILDFLAG(PERFETTO_OS_WASM) #include @@ -70113,17 +69515,6 @@ void ConsumerIPCClientImpl::CloneSession(CloneSessionArgs args) { return; } -#if PERFETTO_BUILDFLAG(PERFETTO_OS_WIN) - if (args.output_file_fd) { - consumer_->OnSessionCloned( - {false, - "Passing FDs into CloneSession is not supported on Windows", - {}, - false}); - return; - } -#endif - protos::gen::CloneSessionRequest req; if (args.tsid) { req.set_session_id(args.tsid); @@ -70161,18 +69552,14 @@ void ConsumerIPCClientImpl::CloneSession(CloneSessionArgs args) { // If the IPC fails, we are talking to an older version of the service // that didn't support CloneSession at all. weak_this->consumer_->OnSessionCloned( - {false, "CloneSession IPC not supported", {}, false}); + {false, "CloneSession IPC not supported", {}}); } else { base::Uuid uuid(response->uuid_lsb(), response->uuid_msb()); weak_this->consumer_->OnSessionCloned( - {response->success(), response->error(), uuid, - response->was_write_into_file()}); + {response->success(), response->error(), uuid}); } }); - // |args.output_file_fd| will be closed when this function returns, but it's - // fine because the IPC layer dup()'s it when sending the IPC. - consumer_port_.CloneSession(req, std::move(async_response), - *args.output_file_fd); + consumer_port_.CloneSession(req, std::move(async_response)); } } // namespace perfetto // gen_amalgamated begin source: src/tracing/ipc/producer/producer_ipc_client_impl.cc @@ -71567,9 +70954,6 @@ void ConsumerIPCService::CloneSession( if (req.has_clone_trigger_delay_ms()) { args.clone_trigger_delay_ms = req.clone_trigger_delay_ms(); } - // The client (perfetto_cmd) always sends the file descriptor, but the traced - // uses it only if the session to clone is 'write_into_file' session. - args.output_file_fd = ipc::Service::TakeReceivedFD(); remote_consumer->service_endpoint->CloneSession(std::move(args)); } @@ -71732,7 +71116,6 @@ void ConsumerIPCService::RemoteConsumer::OnSessionCloned( resp->set_error(args.error); resp->set_uuid_msb(args.uuid.msb()); resp->set_uuid_lsb(args.uuid.lsb()); - resp->set_was_write_into_file(args.was_write_into_file); std::move(clone_session_response).Resolve(std::move(resp)); } diff --git a/layersvt/perfetto/perfetto.h b/layersvt/perfetto/perfetto.h index 4db0c534ef..7da7c63152 100644 --- a/layersvt/perfetto/perfetto.h +++ b/layersvt/perfetto/perfetto.h @@ -157,7 +157,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 #elif defined(__APPLE__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 1 @@ -168,7 +167,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FUCHSIA() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 // Include TARGET_OS_IPHONE when on __APPLE__ systems. #include #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE @@ -197,7 +195,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 #elif defined(__QNXNTO__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 1 @@ -211,7 +208,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 #elif defined(_WIN32) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 @@ -225,7 +221,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 #elif defined(__EMSCRIPTEN__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 @@ -239,7 +234,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 #elif defined(__Fuchsia__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 @@ -253,7 +247,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 #elif defined(__native_client__) #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 @@ -267,21 +260,6 @@ static const int kPerfettoBuildFlagsCount = sizeof(kPerfettoBuildFlags) / sizeof #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 1 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 #define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 0 -#elif defined(__FreeBSD__) -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_ANDROID() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_LINUX_BUT_NOT_QNX() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WIN() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_MAC() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_IOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_WASM() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FUCHSIA() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_NACL() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_QNX() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_APPLE_TVOS() 0 -#define PERFETTO_BUILDFLAG_DEFINE_PERFETTO_OS_FREEBSD() 1 #else #error OS not supported (see build_config.h) #endif @@ -1167,14 +1145,7 @@ inline TimeNanos GetWallTimeNs() { } inline TimeNanos GetWallTimeRawNs() { -#if (PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD)) - // Note: CLOCK_MONOTONIC_RAW is a Linux extension. - // FreeBSD doesn't implement it and its CLOCK_MONOTONIC_FAST - // doesnt implement the same semantics as CLOCK_MONOTONIC_RAW. - return GetTimeInternalNs(CLOCK_MONOTONIC); -#else return GetTimeInternalNs(CLOCK_MONOTONIC_RAW); -#endif } inline TimeNanos GetThreadCPUTimeNs() { @@ -1665,21 +1636,6 @@ constexpr size_t kMaxOneByteMessageLength = (1 << 7) - 1; constexpr size_t kMaxTagEncodedSize = 5; constexpr size_t kMaxSimpleFieldEncodedSize = kMaxTagEncodedSize + 10; -constexpr uint8_t kFieldTypeNumBits = 3; - -constexpr uint64_t GetTagFieldId(uint64_t tag) { - // Since, the least 3 significant bits determine the field type. Skip them and - // return the id. - return (tag >> kFieldTypeNumBits); -} - -constexpr uint64_t GetTagFieldType(uint64_t tag) { - // The least 3 significant bits determine the field type. - constexpr uint64_t kFieldTypeMask = - (1 << kFieldTypeNumBits) - 1; // 0000 0111; - return (tag & kFieldTypeMask); -} - // Proto types: (int|uint|sint)(32|64), bool, enum. constexpr uint32_t MakeTagVarInt(uint32_t field_id) { return (field_id << 3) | static_cast(ProtoWireType::kVarInt); @@ -4886,11 +4842,7 @@ class PERFETTO_EXPORT_COMPONENT TypedProtoDecoderBase : public ProtoDecoder { // Template class instantiated by the auto-generated decoder classes declared in // xxx.pbzero.h files. -// TODO(lalitm): the second argument exists for legacy reasons as targets in -// G3 are (incorrectly) depending on internal implementation details of -// Perfetto via checked-in protozero classes. Remove this when they fix this -// incorrect dependency. -template +template class TypedProtoDecoder : public TypedProtoDecoderBase { public: TypedProtoDecoder(const uint8_t* buffer, size_t length) @@ -4971,8 +4923,6 @@ class LogMessage; class Screenshot; class SourceLocation; class TaskExecution; -class TrackEvent_Callstack; -class TrackEvent_Callstack_Frame; class TrackEvent_LegacyEvent; namespace perfetto_pbzero_enum_TrackEvent_LegacyEvent { enum FlowDirection : int32_t; @@ -5097,7 +5047,7 @@ const char* TrackEvent_LegacyEvent_InstantEventScope_Name(::perfetto::protos::pb return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class EventName_Decoder : public ::protozero::TypedProtoDecoder { +class EventName_Decoder : public ::protozero::TypedProtoDecoder { public: EventName_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EventName_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -5161,7 +5111,7 @@ class EventName : public ::protozero::Message { } }; -class EventCategory_Decoder : public ::protozero::TypedProtoDecoder { +class EventCategory_Decoder : public ::protozero::TypedProtoDecoder { public: EventCategory_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EventCategory_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -5225,7 +5175,7 @@ class EventCategory : public ::protozero::Message { } }; -class TrackEventDefaults_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEventDefaults_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEventDefaults_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEventDefaults_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -5304,7 +5254,7 @@ class TrackEventDefaults : public ::protozero::Message { } }; -class TrackEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -5347,10 +5297,6 @@ class TrackEvent_Decoder : public ::protozero::TypedProtoDecoder().as_string(); } bool has_correlation_id_str_iid() const { return at<54>().valid(); } uint64_t correlation_id_str_iid() const { return at<54>().as_uint64(); } - bool has_callstack() const { return at<55>().valid(); } - ::protozero::ConstBytes callstack() const { return at<55>().as_bytes(); } - bool has_callstack_iid() const { return at<56>().valid(); } - uint64_t callstack_iid() const { return at<56>().as_uint64(); } bool has_debug_annotations() const { return at<4>().valid(); } ::protozero::RepeatedFieldIterator<::protozero::ConstBytes> debug_annotations() const { return GetRepeated<::protozero::ConstBytes>(4); } bool has_task_execution() const { return at<5>().valid(); } @@ -5430,8 +5376,6 @@ class TrackEvent : public ::protozero::Message { kCorrelationIdFieldNumber = 52, kCorrelationIdStrFieldNumber = 53, kCorrelationIdStrIidFieldNumber = 54, - kCallstackFieldNumber = 55, - kCallstackIidFieldNumber = 56, kDebugAnnotationsFieldNumber = 4, kTaskExecutionFieldNumber = 5, kLogMessageFieldNumber = 21, @@ -5462,7 +5406,6 @@ class TrackEvent : public ::protozero::Message { }; static constexpr const char* GetName() { return ".perfetto.protos.TrackEvent"; } - using Callstack = ::perfetto::protos::pbzero::TrackEvent_Callstack; using LegacyEvent = ::perfetto::protos::pbzero::TrackEvent_LegacyEvent; using Type = ::perfetto::protos::pbzero::TrackEvent_Type; @@ -5835,38 +5778,6 @@ class TrackEvent : public ::protozero::Message { ::Append(*this, field_id, value); } - using FieldMetadata_Callstack = - ::protozero::proto_utils::FieldMetadata< - 55, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kMessage, - TrackEvent_Callstack, - TrackEvent>; - - static constexpr FieldMetadata_Callstack kCallstack{}; - template T* set_callstack() { - return BeginNestedMessage(55); - } - - - using FieldMetadata_CallstackIid = - ::protozero::proto_utils::FieldMetadata< - 56, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint64, - uint64_t, - TrackEvent>; - - static constexpr FieldMetadata_CallstackIid kCallstackIid{}; - void set_callstack_iid(uint64_t value) { - static constexpr uint32_t field_id = FieldMetadata_CallstackIid::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint64> - ::Append(*this, field_id, value); - } - using FieldMetadata_DebugAnnotations = ::protozero::proto_utils::FieldMetadata< 4, @@ -6274,7 +6185,7 @@ class TrackEvent : public ::protozero::Message { }; -class TrackEvent_LegacyEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEvent_LegacyEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEvent_LegacyEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEvent_LegacyEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -6650,131 +6561,6 @@ class TrackEvent_LegacyEvent : public ::protozero::Message { } }; -class TrackEvent_Callstack_Decoder : public ::protozero::TypedProtoDecoder { - public: - TrackEvent_Callstack_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} - explicit TrackEvent_Callstack_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} - explicit TrackEvent_Callstack_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {} - bool has_frames() const { return at<1>().valid(); } - ::protozero::RepeatedFieldIterator<::protozero::ConstBytes> frames() const { return GetRepeated<::protozero::ConstBytes>(1); } -}; - -class TrackEvent_Callstack : public ::protozero::Message { - public: - using Decoder = TrackEvent_Callstack_Decoder; - enum : int32_t { - kFramesFieldNumber = 1, - }; - static constexpr const char* GetName() { return ".perfetto.protos.TrackEvent.Callstack"; } - - using Frame = ::perfetto::protos::pbzero::TrackEvent_Callstack_Frame; - - using FieldMetadata_Frames = - ::protozero::proto_utils::FieldMetadata< - 1, - ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked, - ::protozero::proto_utils::ProtoSchemaType::kMessage, - TrackEvent_Callstack_Frame, - TrackEvent_Callstack>; - - static constexpr FieldMetadata_Frames kFrames{}; - template T* add_frames() { - return BeginNestedMessage(1); - } - -}; - -class TrackEvent_Callstack_Frame_Decoder : public ::protozero::TypedProtoDecoder { - public: - TrackEvent_Callstack_Frame_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} - explicit TrackEvent_Callstack_Frame_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} - explicit TrackEvent_Callstack_Frame_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {} - bool has_function_name() const { return at<1>().valid(); } - ::protozero::ConstChars function_name() const { return at<1>().as_string(); } - bool has_source_file() const { return at<2>().valid(); } - ::protozero::ConstChars source_file() const { return at<2>().as_string(); } - bool has_line_number() const { return at<3>().valid(); } - uint32_t line_number() const { return at<3>().as_uint32(); } -}; - -class TrackEvent_Callstack_Frame : public ::protozero::Message { - public: - using Decoder = TrackEvent_Callstack_Frame_Decoder; - enum : int32_t { - kFunctionNameFieldNumber = 1, - kSourceFileFieldNumber = 2, - kLineNumberFieldNumber = 3, - }; - static constexpr const char* GetName() { return ".perfetto.protos.TrackEvent.Callstack.Frame"; } - - - using FieldMetadata_FunctionName = - ::protozero::proto_utils::FieldMetadata< - 1, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kString, - std::string, - TrackEvent_Callstack_Frame>; - - static constexpr FieldMetadata_FunctionName kFunctionName{}; - void set_function_name(const char* data, size_t size) { - AppendBytes(FieldMetadata_FunctionName::kFieldId, data, size); - } - void set_function_name(::protozero::ConstChars chars) { - AppendBytes(FieldMetadata_FunctionName::kFieldId, chars.data, chars.size); - } - void set_function_name(std::string value) { - static constexpr uint32_t field_id = FieldMetadata_FunctionName::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kString> - ::Append(*this, field_id, value); - } - - using FieldMetadata_SourceFile = - ::protozero::proto_utils::FieldMetadata< - 2, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kString, - std::string, - TrackEvent_Callstack_Frame>; - - static constexpr FieldMetadata_SourceFile kSourceFile{}; - void set_source_file(const char* data, size_t size) { - AppendBytes(FieldMetadata_SourceFile::kFieldId, data, size); - } - void set_source_file(::protozero::ConstChars chars) { - AppendBytes(FieldMetadata_SourceFile::kFieldId, chars.data, chars.size); - } - void set_source_file(std::string value) { - static constexpr uint32_t field_id = FieldMetadata_SourceFile::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kString> - ::Append(*this, field_id, value); - } - - using FieldMetadata_LineNumber = - ::protozero::proto_utils::FieldMetadata< - 3, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint32, - uint32_t, - TrackEvent_Callstack_Frame>; - - static constexpr FieldMetadata_LineNumber kLineNumber{}; - void set_line_number(uint32_t value) { - static constexpr uint32_t field_id = FieldMetadata_LineNumber::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint32> - ::Append(*this, field_id, value); - } -}; - } // Namespace. } // Namespace. } // Namespace. @@ -7372,7 +7158,6 @@ class PERFETTO_EXPORT_COMPONENT TraceConfig : public ::protozero::CppMessageObj kSessionSemaphoresFieldNumber = 39, kPriorityBoostFieldNumber = 40, kExclusivePrioFieldNumber = 41, - kNoFlushBeforeWriteIntoFileFieldNumber = 42, }; TraceConfig(); @@ -7548,10 +7333,6 @@ class PERFETTO_EXPORT_COMPONENT TraceConfig : public ::protozero::CppMessageObj uint32_t exclusive_prio() const { return exclusive_prio_; } void set_exclusive_prio(uint32_t value) { exclusive_prio_ = value; _has_field_.set(41); } - bool has_no_flush_before_write_into_file() const { return _has_field_[42]; } - bool no_flush_before_write_into_file() const { return no_flush_before_write_into_file_; } - void set_no_flush_before_write_into_file(bool value) { no_flush_before_write_into_file_ = value; _has_field_.set(42); } - private: std::vector buffers_; std::vector data_sources_; @@ -7590,13 +7371,12 @@ class PERFETTO_EXPORT_COMPONENT TraceConfig : public ::protozero::CppMessageObj std::vector session_semaphores_; ::protozero::CopyablePtr priority_boost_; uint32_t exclusive_prio_{}; - bool no_flush_before_write_into_file_{}; // Allows to preserve unknown protobuf fields for compatibility // with future versions of .proto files. std::string unknown_fields_; - std::bitset<43> _has_field_{}; + std::bitset<42> _has_field_{}; }; @@ -8696,9 +8476,6 @@ __declspec(dllimport) unsigned long __stdcall GetCurrentThreadId(); #else #include #endif -#if PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) -#include -#endif namespace perfetto { namespace base { @@ -8735,11 +8512,6 @@ using PlatformThreadId = pid_t; inline PlatformThreadId GetThreadId() { return reinterpret_cast(pthread_self()); } -#elif PERFETTO_BUILDFLAG(PERFETTO_OS_FREEBSD) -using PlatformThreadId = uint64_t; -inline PlatformThreadId GetThreadId() { - return static_cast(pthread_getthreadid_np()); -} #else // Default to pthreads in case no OS is set. using PlatformThreadId = pthread_t; inline PlatformThreadId GetThreadId() { @@ -10600,7 +10372,7 @@ const char* TracePacket_SequenceFlags_Name(::perfetto::protos::pbzero::TracePack return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class TracePacket_Decoder : public ::protozero::TypedProtoDecoder { +class TracePacket_Decoder : public ::protozero::TypedProtoDecoder { public: TracePacket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracePacket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -13984,7 +13756,7 @@ const char* DebugAnnotation_NestedValue_NestedType_Name(::perfetto::protos::pbze return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class DebugAnnotationValueTypeName_Decoder : public ::protozero::TypedProtoDecoder { +class DebugAnnotationValueTypeName_Decoder : public ::protozero::TypedProtoDecoder { public: DebugAnnotationValueTypeName_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DebugAnnotationValueTypeName_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -14048,7 +13820,7 @@ class DebugAnnotationValueTypeName : public ::protozero::Message { } }; -class DebugAnnotationName_Decoder : public ::protozero::TypedProtoDecoder { +class DebugAnnotationName_Decoder : public ::protozero::TypedProtoDecoder { public: DebugAnnotationName_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DebugAnnotationName_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -14112,7 +13884,7 @@ class DebugAnnotationName : public ::protozero::Message { } }; -class DebugAnnotation_Decoder : public ::protozero::TypedProtoDecoder { +class DebugAnnotation_Decoder : public ::protozero::TypedProtoDecoder { public: DebugAnnotation_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DebugAnnotation_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -14483,7 +14255,7 @@ class DebugAnnotation : public ::protozero::Message { }; -class DebugAnnotation_NestedValue_Decoder : public ::protozero::TypedProtoDecoder { +class DebugAnnotation_NestedValue_Decoder : public ::protozero::TypedProtoDecoder { public: DebugAnnotation_NestedValue_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DebugAnnotation_NestedValue_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -15921,7 +15693,7 @@ const char* CounterDescriptor_Unit_Name(::perfetto::protos::pbzero::CounterDescr return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class CounterDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class CounterDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: CounterDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CounterDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -16348,7 +16120,7 @@ const char* ProcessDescriptor_ChromeProcessType_Name(::perfetto::protos::pbzero: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ProcessDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -16817,7 +16589,7 @@ const char* ThreadDescriptor_ChromeThreadType_Name(::perfetto::protos::pbzero::T return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ThreadDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class ThreadDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: ThreadDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ThreadDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -17338,7 +17110,7 @@ const char* TrackDescriptor_SiblingMergeBehavior_Name(::perfetto::protos::pbzero return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class TrackDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class TrackDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: TrackDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -18452,7 +18224,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InternedData_Decoder : public ::protozero::TypedProtoDecoder { +class InternedData_Decoder : public ::protozero::TypedProtoDecoder { public: InternedData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -28360,7 +28132,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidEnergyConsumerDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidEnergyConsumerDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidEnergyConsumerDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidEnergyConsumerDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -28393,7 +28165,7 @@ class AndroidEnergyConsumerDescriptor : public ::protozero::Message { }; -class AndroidEnergyConsumer_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidEnergyConsumer_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidEnergyConsumer_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidEnergyConsumer_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -28652,7 +28424,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CommitDataRequest_Decoder : public ::protozero::TypedProtoDecoder { +class CommitDataRequest_Decoder : public ::protozero::TypedProtoDecoder { public: CommitDataRequest_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CommitDataRequest_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -28725,7 +28497,7 @@ class CommitDataRequest : public ::protozero::Message { } }; -class CommitDataRequest_ChunkToPatch_Decoder : public ::protozero::TypedProtoDecoder { +class CommitDataRequest_ChunkToPatch_Decoder : public ::protozero::TypedProtoDecoder { public: CommitDataRequest_ChunkToPatch_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CommitDataRequest_ChunkToPatch_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -28843,7 +28615,7 @@ class CommitDataRequest_ChunkToPatch : public ::protozero::Message { } }; -class CommitDataRequest_ChunkToPatch_Patch_Decoder : public ::protozero::TypedProtoDecoder { +class CommitDataRequest_ChunkToPatch_Patch_Decoder : public ::protozero::TypedProtoDecoder { public: CommitDataRequest_ChunkToPatch_Patch_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CommitDataRequest_ChunkToPatch_Patch_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -28907,7 +28679,7 @@ class CommitDataRequest_ChunkToPatch_Patch : public ::protozero::Message { } }; -class CommitDataRequest_ChunksToMove_Decoder : public ::protozero::TypedProtoDecoder { +class CommitDataRequest_ChunksToMove_Decoder : public ::protozero::TypedProtoDecoder { public: CommitDataRequest_ChunksToMove_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CommitDataRequest_ChunksToMove_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29046,7 +28818,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DataSourceDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class DataSourceDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: DataSourceDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DataSourceDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29424,7 +29196,7 @@ const char* FieldDescriptorProto_Label_Name(::perfetto::protos::pbzero::FieldDes return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class OneofOptions_Decoder : public ::protozero::TypedProtoDecoder { +class OneofOptions_Decoder : public ::protozero::TypedProtoDecoder { public: OneofOptions_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit OneofOptions_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29438,7 +29210,7 @@ class OneofOptions : public ::protozero::Message { }; -class EnumValueDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { +class EnumValueDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { public: EnumValueDescriptorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EnumValueDescriptorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29502,7 +29274,7 @@ class EnumValueDescriptorProto : public ::protozero::Message { } }; -class EnumDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { +class EnumDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { public: EnumDescriptorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EnumDescriptorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29589,7 +29361,7 @@ class EnumDescriptorProto : public ::protozero::Message { } }; -class OneofDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { +class OneofDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { public: OneofDescriptorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit OneofDescriptorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29649,7 +29421,7 @@ class OneofDescriptorProto : public ::protozero::Message { }; -class FieldDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { +class FieldDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { public: FieldDescriptorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FieldDescriptorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29905,7 +29677,7 @@ class FieldDescriptorProto : public ::protozero::Message { } }; -class FieldOptions_Decoder : public ::protozero::TypedProtoDecoder { +class FieldOptions_Decoder : public ::protozero::TypedProtoDecoder { public: FieldOptions_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FieldOptions_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -29959,7 +29731,7 @@ class FieldOptions : public ::protozero::Message { }; -class UninterpretedOption_Decoder : public ::protozero::TypedProtoDecoder { +class UninterpretedOption_Decoder : public ::protozero::TypedProtoDecoder { public: UninterpretedOption_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UninterpretedOption_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30137,7 +29909,7 @@ class UninterpretedOption : public ::protozero::Message { } }; -class UninterpretedOption_NamePart_Decoder : public ::protozero::TypedProtoDecoder { +class UninterpretedOption_NamePart_Decoder : public ::protozero::TypedProtoDecoder { public: UninterpretedOption_NamePart_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UninterpretedOption_NamePart_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30201,7 +29973,7 @@ class UninterpretedOption_NamePart : public ::protozero::Message { } }; -class DescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { +class DescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { public: DescriptorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DescriptorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30374,7 +30146,7 @@ class DescriptorProto : public ::protozero::Message { } }; -class DescriptorProto_ReservedRange_Decoder : public ::protozero::TypedProtoDecoder { +class DescriptorProto_ReservedRange_Decoder : public ::protozero::TypedProtoDecoder { public: DescriptorProto_ReservedRange_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DescriptorProto_ReservedRange_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30432,7 +30204,7 @@ class DescriptorProto_ReservedRange : public ::protozero::Message { } }; -class FileDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { +class FileDescriptorProto_Decoder : public ::protozero::TypedProtoDecoder { public: FileDescriptorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileDescriptorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30622,7 +30394,7 @@ class FileDescriptorProto : public ::protozero::Message { }; -class FileDescriptorSet_Decoder : public ::protozero::TypedProtoDecoder { +class FileDescriptorSet_Decoder : public ::protozero::TypedProtoDecoder { public: FileDescriptorSet_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileDescriptorSet_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30686,7 +30458,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class FtraceDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -30720,7 +30492,7 @@ class FtraceDescriptor : public ::protozero::Message { }; -class FtraceDescriptor_AtraceCategory_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceDescriptor_AtraceCategory_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceDescriptor_AtraceCategory_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceDescriptor_AtraceCategory_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31060,7 +30832,7 @@ const char* GpuCounterDescriptor_MeasureUnit_Name(::perfetto::protos::pbzero::Gp return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class GpuCounterDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class GpuCounterDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: GpuCounterDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuCounterDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31234,7 +31006,7 @@ class GpuCounterDescriptor : public ::protozero::Message { } }; -class GpuCounterDescriptor_GpuCounterBlock_Decoder : public ::protozero::TypedProtoDecoder { +class GpuCounterDescriptor_GpuCounterBlock_Decoder : public ::protozero::TypedProtoDecoder { public: GpuCounterDescriptor_GpuCounterBlock_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuCounterDescriptor_GpuCounterBlock_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31367,7 +31139,7 @@ class GpuCounterDescriptor_GpuCounterBlock : public ::protozero::Message { } }; -class GpuCounterDescriptor_GpuCounterSpec_Decoder : public ::protozero::TypedProtoDecoder { +class GpuCounterDescriptor_GpuCounterSpec_Decoder : public ::protozero::TypedProtoDecoder { public: GpuCounterDescriptor_GpuCounterSpec_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuCounterDescriptor_GpuCounterSpec_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31608,7 +31380,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InterceptorDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class InterceptorDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: InterceptorDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InterceptorDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31745,7 +31517,7 @@ const char* ObservableEvents_DataSourceInstanceState_Name(::perfetto::protos::pb return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ObservableEvents_Decoder : public ::protozero::TypedProtoDecoder { +class ObservableEvents_Decoder : public ::protozero::TypedProtoDecoder { public: ObservableEvents_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ObservableEvents_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31834,7 +31606,7 @@ class ObservableEvents : public ::protozero::Message { }; -class ObservableEvents_CloneTriggerHit_Decoder : public ::protozero::TypedProtoDecoder { +class ObservableEvents_CloneTriggerHit_Decoder : public ::protozero::TypedProtoDecoder { public: ObservableEvents_CloneTriggerHit_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ObservableEvents_CloneTriggerHit_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -31988,7 +31760,7 @@ class ObservableEvents_CloneTriggerHit : public ::protozero::Message { } }; -class ObservableEvents_DataSourceInstanceStateChange_Decoder : public ::protozero::TypedProtoDecoder { +class ObservableEvents_DataSourceInstanceStateChange_Decoder : public ::protozero::TypedProtoDecoder { public: ObservableEvents_DataSourceInstanceStateChange_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ObservableEvents_DataSourceInstanceStateChange_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -32295,7 +32067,7 @@ const char* PerfEvents_EventModifier_Name(::perfetto::protos::pbzero::PerfEvents return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class FollowerEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FollowerEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FollowerEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FollowerEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -32414,7 +32186,7 @@ class FollowerEvent : public ::protozero::Message { } }; -class PerfEvents_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEvents_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEvents_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEvents_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -32476,7 +32248,7 @@ class PerfEvents : public ::protozero::Message { static inline const EventModifier EVENT_MODIFIER_COUNT_HYPERVISOR = EventModifier::EVENT_MODIFIER_COUNT_HYPERVISOR; }; -class PerfEvents_RawEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEvents_RawEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEvents_RawEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEvents_RawEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -32576,7 +32348,7 @@ class PerfEvents_RawEvent : public ::protozero::Message { } }; -class PerfEvents_Tracepoint_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEvents_Tracepoint_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEvents_Tracepoint_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEvents_Tracepoint_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -32646,7 +32418,7 @@ class PerfEvents_Tracepoint : public ::protozero::Message { } }; -class PerfEvents_Timebase_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEvents_Timebase_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEvents_Timebase_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEvents_Timebase_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -33907,7 +33679,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SystemInfo_Decoder : public ::protozero::TypedProtoDecoder { +class SystemInfo_Decoder : public ::protozero::TypedProtoDecoder { public: SystemInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SystemInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -34288,7 +34060,7 @@ class SystemInfo : public ::protozero::Message { } }; -class Utsname_Decoder : public ::protozero::TypedProtoDecoder { +class Utsname_Decoder : public ::protozero::TypedProtoDecoder { public: Utsname_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Utsname_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -34478,7 +34250,7 @@ const char* TraceStats_FinalFlushOutcome_Name(::perfetto::protos::pbzero::TraceS return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class TraceStats_Decoder : public ::protozero::TypedProtoDecoder { +class TraceStats_Decoder : public ::protozero::TypedProtoDecoder { public: TraceStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -34850,7 +34622,7 @@ class TraceStats : public ::protozero::Message { } }; -class TraceStats_FilterStats_Decoder : public ::protozero::TypedProtoDecoder { +class TraceStats_FilterStats_Decoder : public ::protozero::TypedProtoDecoder { public: TraceStats_FilterStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceStats_FilterStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -34992,7 +34764,7 @@ class TraceStats_FilterStats : public ::protozero::Message { } }; -class TraceStats_WriterStats_Decoder : public ::protozero::TypedProtoDecoder { +class TraceStats_WriterStats_Decoder : public ::protozero::TypedProtoDecoder { public: TraceStats_WriterStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceStats_WriterStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -35084,7 +34856,7 @@ class TraceStats_WriterStats : public ::protozero::Message { } }; -class TraceStats_BufferStats_Decoder : public ::protozero::TypedProtoDecoder { +class TraceStats_BufferStats_Decoder : public ::protozero::TypedProtoDecoder { public: TraceStats_BufferStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceStats_BufferStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -35533,7 +35305,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TracingServiceCapabilities_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceCapabilities_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceCapabilities_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceCapabilities_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -35667,7 +35439,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TracingServiceState_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceState_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -35827,7 +35599,7 @@ class TracingServiceState : public ::protozero::Message { } }; -class TracingServiceState_TracingSession_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceState_TracingSession_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceState_TracingSession_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceState_TracingSession_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -36092,7 +35864,7 @@ class TracingServiceState_TracingSession : public ::protozero::Message { } }; -class TracingServiceState_DataSource_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceState_DataSource_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceState_DataSource_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceState_DataSource_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -36146,7 +35918,7 @@ class TracingServiceState_DataSource : public ::protozero::Message { } }; -class TracingServiceState_Producer_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceState_Producer_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceState_Producer_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceState_Producer_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -36331,7 +36103,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TrackEventDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEventDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEventDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEventDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -36364,7 +36136,7 @@ class TrackEventDescriptor : public ::protozero::Message { }; -class TrackEventCategory_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEventCategory_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEventCategory_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEventCategory_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -43332,7 +43104,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidGameInterventionListConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidGameInterventionListConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidGameInterventionListConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidGameInterventionListConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -43468,7 +43240,7 @@ const char* AndroidInputEventConfig_TraceLevel_Name(::perfetto::protos::pbzero:: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class AndroidInputEventConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidInputEventConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidInputEventConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidInputEventConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -43580,7 +43352,7 @@ class AndroidInputEventConfig : public ::protozero::Message { } }; -class AndroidInputEventConfig_TraceRule_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidInputEventConfig_TraceRule_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidInputEventConfig_TraceRule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidInputEventConfig_TraceRule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -43745,7 +43517,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidLogConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidLogConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidLogConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidLogConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -43854,7 +43626,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidPolledStateConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidPolledStateConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidPolledStateConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidPolledStateConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -43915,7 +43687,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidSdkSyspropGuardConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidSdkSyspropGuardConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidSdkSyspropGuardConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidSdkSyspropGuardConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44024,7 +43796,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidSystemPropertyConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidSystemPropertyConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidSystemPropertyConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidSystemPropertyConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44112,7 +43884,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AppWakelocksConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AppWakelocksConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AppWakelocksConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AppWakelocksConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44215,7 +43987,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CpuPerUidConfig_Decoder : public ::protozero::TypedProtoDecoder { +class CpuPerUidConfig_Decoder : public ::protozero::TypedProtoDecoder { public: CpuPerUidConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuPerUidConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44276,7 +44048,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class KernelWakelocksConfig_Decoder : public ::protozero::TypedProtoDecoder { +class KernelWakelocksConfig_Decoder : public ::protozero::TypedProtoDecoder { public: KernelWakelocksConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KernelWakelocksConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44337,7 +44109,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class NetworkPacketTraceConfig_Decoder : public ::protozero::TypedProtoDecoder { +class NetworkPacketTraceConfig_Decoder : public ::protozero::TypedProtoDecoder { public: NetworkPacketTraceConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NetworkPacketTraceConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44503,7 +44275,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PackagesListConfig_Decoder : public ::protozero::TypedProtoDecoder { +class PackagesListConfig_Decoder : public ::protozero::TypedProtoDecoder { public: PackagesListConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PackagesListConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44630,7 +44402,7 @@ const char* PixelModemConfig_EventGroup_Name(::perfetto::protos::pbzero::PixelMo return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class PixelModemConfig_Decoder : public ::protozero::TypedProtoDecoder { +class PixelModemConfig_Decoder : public ::protozero::TypedProtoDecoder { public: PixelModemConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PixelModemConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44778,7 +44550,7 @@ const char* ProtoLogConfig_TracingMode_Name(::perfetto::protos::pbzero::ProtoLog return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ProtoLogGroup_Decoder : public ::protozero::TypedProtoDecoder { +class ProtoLogGroup_Decoder : public ::protozero::TypedProtoDecoder { public: ProtoLogGroup_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProtoLogGroup_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -44863,7 +44635,7 @@ class ProtoLogGroup : public ::protozero::Message { } }; -class ProtoLogConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ProtoLogConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ProtoLogConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProtoLogConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -45069,7 +44841,7 @@ const char* SurfaceFlingerLayersConfig_TraceFlag_Name(::perfetto::protos::pbzero return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class SurfaceFlingerLayersConfig_Decoder : public ::protozero::TypedProtoDecoder { +class SurfaceFlingerLayersConfig_Decoder : public ::protozero::TypedProtoDecoder { public: SurfaceFlingerLayersConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SurfaceFlingerLayersConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -45213,7 +44985,7 @@ const char* SurfaceFlingerTransactionsConfig_Mode_Name(::perfetto::protos::pbzer return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class SurfaceFlingerTransactionsConfig_Decoder : public ::protozero::TypedProtoDecoder { +class SurfaceFlingerTransactionsConfig_Decoder : public ::protozero::TypedProtoDecoder { public: SurfaceFlingerTransactionsConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SurfaceFlingerTransactionsConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -45362,7 +45134,7 @@ const char* WindowManagerConfig_LogLevel_Name(::perfetto::protos::pbzero::Window return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class WindowManagerConfig_Decoder : public ::protozero::TypedProtoDecoder { +class WindowManagerConfig_Decoder : public ::protozero::TypedProtoDecoder { public: WindowManagerConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WindowManagerConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -45462,7 +45234,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class FrozenFtraceConfig_Decoder : public ::protozero::TypedProtoDecoder { +class FrozenFtraceConfig_Decoder : public ::protozero::TypedProtoDecoder { public: FrozenFtraceConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrozenFtraceConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -45644,7 +45416,7 @@ const char* FtraceConfig_KprobeEvent_KprobeType_Name(::perfetto::protos::pbzero: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class FtraceConfig_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46340,7 +46112,7 @@ class FtraceConfig : public ::protozero::Message { } }; -class FtraceConfig_TracefsOption_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_TracefsOption_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_TracefsOption_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_TracefsOption_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46412,7 +46184,7 @@ class FtraceConfig_TracefsOption : public ::protozero::Message { } }; -class FtraceConfig_KprobeEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_KprobeEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_KprobeEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_KprobeEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46485,7 +46257,7 @@ class FtraceConfig_KprobeEvent : public ::protozero::Message { } }; -class FtraceConfig_PrintFilter_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_PrintFilter_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_PrintFilter_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_PrintFilter_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46519,7 +46291,7 @@ class FtraceConfig_PrintFilter : public ::protozero::Message { }; -class FtraceConfig_PrintFilter_Rule_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_PrintFilter_Rule_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_PrintFilter_Rule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_PrintFilter_Rule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46601,7 +46373,7 @@ class FtraceConfig_PrintFilter_Rule : public ::protozero::Message { } }; -class FtraceConfig_PrintFilter_Rule_AtraceMessage_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_PrintFilter_Rule_AtraceMessage_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_PrintFilter_Rule_AtraceMessage_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_PrintFilter_Rule_AtraceMessage_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46671,7 +46443,7 @@ class FtraceConfig_PrintFilter_Rule_AtraceMessage : public ::protozero::Message } }; -class FtraceConfig_CompactSchedConfig_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceConfig_CompactSchedConfig_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceConfig_CompactSchedConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceConfig_CompactSchedConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46732,7 +46504,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GpuCounterConfig_Decoder : public ::protozero::TypedProtoDecoder { +class GpuCounterConfig_Decoder : public ::protozero::TypedProtoDecoder { public: GpuCounterConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuCounterConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46856,7 +46628,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GpuRenderStagesConfig_Decoder : public ::protozero::TypedProtoDecoder { +class GpuRenderStagesConfig_Decoder : public ::protozero::TypedProtoDecoder { public: GpuRenderStagesConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuRenderStagesConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -46965,7 +46737,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class VulkanMemoryConfig_Decoder : public ::protozero::TypedProtoDecoder { +class VulkanMemoryConfig_Decoder : public ::protozero::TypedProtoDecoder { public: VulkanMemoryConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VulkanMemoryConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -47054,7 +46826,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InodeFileConfig_Decoder : public ::protozero::TypedProtoDecoder { +class InodeFileConfig_Decoder : public ::protozero::TypedProtoDecoder { public: InodeFileConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InodeFileConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -47199,7 +46971,7 @@ class InodeFileConfig : public ::protozero::Message { }; -class InodeFileConfig_MountPointMappingEntry_Decoder : public ::protozero::TypedProtoDecoder { +class InodeFileConfig_MountPointMappingEntry_Decoder : public ::protozero::TypedProtoDecoder { public: InodeFileConfig_MountPointMappingEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InodeFileConfig_MountPointMappingEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -47332,7 +47104,7 @@ const char* ConsoleConfig_Output_Name(::perfetto::protos::pbzero::ConsoleConfig_ return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ConsoleConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ConsoleConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ConsoleConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ConsoleConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -47473,7 +47245,7 @@ const char* AndroidPowerConfig_BatteryCounters_Name(::perfetto::protos::pbzero:: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class AndroidPowerConfig_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidPowerConfig_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidPowerConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidPowerConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -47668,7 +47440,7 @@ const char* PriorityBoostConfig_BoostPolicy_Name(::perfetto::protos::pbzero::Pri return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class PriorityBoostConfig_Decoder : public ::protozero::TypedProtoDecoder { +class PriorityBoostConfig_Decoder : public ::protozero::TypedProtoDecoder { public: PriorityBoostConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PriorityBoostConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -47797,7 +47569,7 @@ const char* ProcessStatsConfig_Quirks_Name(::perfetto::protos::pbzero::ProcessSt return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ProcessStatsConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessStatsConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessStatsConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessStatsConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -48062,7 +47834,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class HeapprofdConfig_Decoder : public ::protozero::TypedProtoDecoder { +class HeapprofdConfig_Decoder : public ::protozero::TypedProtoDecoder { public: HeapprofdConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HeapprofdConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -48630,7 +48402,7 @@ class HeapprofdConfig : public ::protozero::Message { } }; -class HeapprofdConfig_ContinuousDumpConfig_Decoder : public ::protozero::TypedProtoDecoder { +class HeapprofdConfig_ContinuousDumpConfig_Decoder : public ::protozero::TypedProtoDecoder { public: HeapprofdConfig_ContinuousDumpConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HeapprofdConfig_ContinuousDumpConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -48719,7 +48491,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class JavaHprofConfig_Decoder : public ::protozero::TypedProtoDecoder { +class JavaHprofConfig_Decoder : public ::protozero::TypedProtoDecoder { public: JavaHprofConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit JavaHprofConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -48897,7 +48669,7 @@ class JavaHprofConfig : public ::protozero::Message { } }; -class JavaHprofConfig_ContinuousDumpConfig_Decoder : public ::protozero::TypedProtoDecoder { +class JavaHprofConfig_ContinuousDumpConfig_Decoder : public ::protozero::TypedProtoDecoder { public: JavaHprofConfig_ContinuousDumpConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit JavaHprofConfig_ContinuousDumpConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -49047,7 +48819,7 @@ const char* PerfEventConfig_UnwindMode_Name(::perfetto::protos::pbzero::PerfEven return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class PerfEventConfig_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEventConfig_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEventConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEventConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -49479,7 +49251,7 @@ class PerfEventConfig : public ::protozero::Message { } }; -class PerfEventConfig_Scope_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEventConfig_Scope_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEventConfig_Scope_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEventConfig_Scope_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -49633,7 +49405,7 @@ class PerfEventConfig_Scope : public ::protozero::Message { } }; -class PerfEventConfig_CallstackSampling_Decoder : public ::protozero::TypedProtoDecoder { +class PerfEventConfig_CallstackSampling_Decoder : public ::protozero::TypedProtoDecoder { public: PerfEventConfig_CallstackSampling_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfEventConfig_CallstackSampling_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -54389,7 +54161,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class StatsdPullAtomConfig_Decoder : public ::protozero::TypedProtoDecoder { +class StatsdPullAtomConfig_Decoder : public ::protozero::TypedProtoDecoder { public: StatsdPullAtomConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StatsdPullAtomConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -54495,7 +54267,7 @@ class StatsdPullAtomConfig : public ::protozero::Message { } }; -class StatsdTracingConfig_Decoder : public ::protozero::TypedProtoDecoder { +class StatsdTracingConfig_Decoder : public ::protozero::TypedProtoDecoder { public: StatsdTracingConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StatsdTracingConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -54643,7 +54415,7 @@ const char* SysStatsConfig_StatCounters_Name(::perfetto::protos::pbzero::SysStat return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class SysStatsConfig_Decoder : public ::protozero::TypedProtoDecoder { +class SysStatsConfig_Decoder : public ::protozero::TypedProtoDecoder { public: SysStatsConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStatsConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -54987,7 +54759,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SystemInfoConfig_Decoder : public ::protozero::TypedProtoDecoder { +class SystemInfoConfig_Decoder : public ::protozero::TypedProtoDecoder { public: SystemInfoConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SystemInfoConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55025,7 +54797,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TrackEventConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEventConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEventConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEventConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55338,7 +55110,7 @@ const char* ChromeConfig_ClientPriority_Name(::perfetto::protos::pbzero::ChromeC return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55531,7 +55303,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromiumHistogramSamplesConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ChromiumHistogramSamplesConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ChromiumHistogramSamplesConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromiumHistogramSamplesConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55586,7 +55358,7 @@ class ChromiumHistogramSamplesConfig : public ::protozero::Message { } }; -class ChromiumHistogramSamplesConfig_HistogramSample_Decoder : public ::protozero::TypedProtoDecoder { +class ChromiumHistogramSamplesConfig_HistogramSample_Decoder : public ::protozero::TypedProtoDecoder { public: ChromiumHistogramSamplesConfig_HistogramSample_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromiumHistogramSamplesConfig_HistogramSample_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55707,7 +55479,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TracingTriggerRulesConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TracingTriggerRulesConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TracingTriggerRulesConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingTriggerRulesConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55740,7 +55512,7 @@ class TracingTriggerRulesConfig : public ::protozero::Message { }; -class ChromeFieldTracingConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeFieldTracingConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeFieldTracingConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeFieldTracingConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55773,7 +55545,7 @@ class ChromeFieldTracingConfig : public ::protozero::Message { }; -class ScenarioConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ScenarioConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ScenarioConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ScenarioConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -55966,7 +55738,7 @@ class ScenarioConfig : public ::protozero::Message { } }; -class NestedScenarioConfig_Decoder : public ::protozero::TypedProtoDecoder { +class NestedScenarioConfig_Decoder : public ::protozero::TypedProtoDecoder { public: NestedScenarioConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NestedScenarioConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -56060,7 +55832,7 @@ class NestedScenarioConfig : public ::protozero::Message { }; -class TriggerRule_Decoder : public ::protozero::TypedProtoDecoder { +class TriggerRule_Decoder : public ::protozero::TypedProtoDecoder { public: TriggerRule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TriggerRule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -56229,7 +56001,7 @@ class TriggerRule : public ::protozero::Message { }; -class TriggerRule_RepeatingInterval_Decoder : public ::protozero::TypedProtoDecoder { +class TriggerRule_RepeatingInterval_Decoder : public ::protozero::TypedProtoDecoder { public: TriggerRule_RepeatingInterval_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TriggerRule_RepeatingInterval_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -56287,7 +56059,7 @@ class TriggerRule_RepeatingInterval : public ::protozero::Message { } }; -class TriggerRule_HistogramTrigger_Decoder : public ::protozero::TypedProtoDecoder { +class TriggerRule_HistogramTrigger_Decoder : public ::protozero::TypedProtoDecoder { public: TriggerRule_HistogramTrigger_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TriggerRule_HistogramTrigger_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -56396,7 +56168,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromiumSystemMetricsConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ChromiumSystemMetricsConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ChromiumSystemMetricsConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromiumSystemMetricsConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -56457,7 +56229,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class V8Config_Decoder : public ::protozero::TypedProtoDecoder { +class V8Config_Decoder : public ::protozero::TypedProtoDecoder { public: V8Config_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8Config_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -56650,7 +56422,7 @@ const char* DataSourceConfig_BufferExhaustedPolicy_Name(::perfetto::protos::pbze return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class DataSourceConfig_Decoder : public ::protozero::TypedProtoDecoder { +class DataSourceConfig_Decoder : public ::protozero::TypedProtoDecoder { public: DataSourceConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DataSourceConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -57760,7 +57532,7 @@ const char* EtwConfig_KernelFlag_Name(::perfetto::protos::pbzero::EtwConfig_Kern return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class EtwConfig_Decoder : public ::protozero::TypedProtoDecoder { +class EtwConfig_Decoder : public ::protozero::TypedProtoDecoder { public: EtwConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EtwConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -57916,7 +57688,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InterceptorConfig_Decoder : public ::protozero::TypedProtoDecoder { +class InterceptorConfig_Decoder : public ::protozero::TypedProtoDecoder { public: InterceptorConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InterceptorConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -58008,7 +57780,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class StressTestConfig_Decoder : public ::protozero::TypedProtoDecoder { +class StressTestConfig_Decoder : public ::protozero::TypedProtoDecoder { public: StressTestConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StressTestConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -58244,7 +58016,7 @@ class StressTestConfig : public ::protozero::Message { }; -class StressTestConfig_WriterTiming_Decoder : public ::protozero::TypedProtoDecoder { +class StressTestConfig_WriterTiming_Decoder : public ::protozero::TypedProtoDecoder { public: StressTestConfig_WriterTiming_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StressTestConfig_WriterTiming_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -58396,7 +58168,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TestConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TestConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TestConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TestConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -58535,7 +58307,7 @@ class TestConfig : public ::protozero::Message { }; -class TestConfig_DummyFields_Decoder : public ::protozero::TypedProtoDecoder { +class TestConfig_DummyFields_Decoder : public ::protozero::TypedProtoDecoder { public: TestConfig_DummyFields_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TestConfig_DummyFields_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -59116,7 +58888,7 @@ const char* TraceConfig_BufferConfig_FillPolicy_Name(::perfetto::protos::pbzero: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class TraceConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -59195,8 +58967,6 @@ class TraceConfig_Decoder : public ::protozero::TypedProtoDecoder().as_bytes(); } bool has_exclusive_prio() const { return at<41>().valid(); } uint32_t exclusive_prio() const { return at<41>().as_uint32(); } - bool has_no_flush_before_write_into_file() const { return at<42>().valid(); } - bool no_flush_before_write_into_file() const { return at<42>().as_bool(); } }; class TraceConfig : public ::protozero::Message { @@ -59240,7 +59010,6 @@ class TraceConfig : public ::protozero::Message { kSessionSemaphoresFieldNumber = 39, kPriorityBoostFieldNumber = 40, kExclusivePrioFieldNumber = 41, - kNoFlushBeforeWriteIntoFileFieldNumber = 42, }; static constexpr const char* GetName() { return ".perfetto.protos.TraceConfig"; } @@ -59914,27 +59683,9 @@ class TraceConfig : public ::protozero::Message { ::protozero::proto_utils::ProtoSchemaType::kUint32> ::Append(*this, field_id, value); } - - using FieldMetadata_NoFlushBeforeWriteIntoFile = - ::protozero::proto_utils::FieldMetadata< - 42, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kBool, - bool, - TraceConfig>; - - static constexpr FieldMetadata_NoFlushBeforeWriteIntoFile kNoFlushBeforeWriteIntoFile{}; - void set_no_flush_before_write_into_file(bool value) { - static constexpr uint32_t field_id = FieldMetadata_NoFlushBeforeWriteIntoFile::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kBool> - ::Append(*this, field_id, value); - } }; -class TraceConfig_SessionSemaphore_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_SessionSemaphore_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_SessionSemaphore_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_SessionSemaphore_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -59998,7 +59749,7 @@ class TraceConfig_SessionSemaphore : public ::protozero::Message { } }; -class TraceConfig_CmdTraceStartDelay_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_CmdTraceStartDelay_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_CmdTraceStartDelay_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_CmdTraceStartDelay_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60056,7 +59807,7 @@ class TraceConfig_CmdTraceStartDelay : public ::protozero::Message { } }; -class TraceConfig_AndroidReportConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_AndroidReportConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_AndroidReportConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_AndroidReportConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60168,7 +59919,7 @@ class TraceConfig_AndroidReportConfig : public ::protozero::Message { } }; -class TraceConfig_TraceFilter_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_TraceFilter_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_TraceFilter_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_TraceFilter_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60268,7 +60019,7 @@ class TraceConfig_TraceFilter : public ::protozero::Message { }; -class TraceConfig_TraceFilter_StringFilterChain_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_TraceFilter_StringFilterChain_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_TraceFilter_StringFilterChain_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_TraceFilter_StringFilterChain_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60301,7 +60052,7 @@ class TraceConfig_TraceFilter_StringFilterChain : public ::protozero::Message { }; -class TraceConfig_TraceFilter_StringFilterRule_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_TraceFilter_StringFilterRule_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_TraceFilter_StringFilterRule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_TraceFilter_StringFilterRule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60392,7 +60143,7 @@ class TraceConfig_TraceFilter_StringFilterRule : public ::protozero::Message { } }; -class TraceConfig_IncidentReportConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_IncidentReportConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_IncidentReportConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_IncidentReportConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60525,7 +60276,7 @@ class TraceConfig_IncidentReportConfig : public ::protozero::Message { } }; -class TraceConfig_IncrementalStateConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_IncrementalStateConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_IncrementalStateConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_IncrementalStateConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60562,7 +60313,7 @@ class TraceConfig_IncrementalStateConfig : public ::protozero::Message { } }; -class TraceConfig_TriggerConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_TriggerConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_TriggerConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_TriggerConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60668,7 +60419,7 @@ class TraceConfig_TriggerConfig : public ::protozero::Message { } }; -class TraceConfig_TriggerConfig_Trigger_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_TriggerConfig_Trigger_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_TriggerConfig_Trigger_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_TriggerConfig_Trigger_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60801,7 +60552,7 @@ class TraceConfig_TriggerConfig_Trigger : public ::protozero::Message { } }; -class TraceConfig_GuardrailOverrides_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_GuardrailOverrides_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_GuardrailOverrides_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_GuardrailOverrides_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60859,7 +60610,7 @@ class TraceConfig_GuardrailOverrides : public ::protozero::Message { } }; -class TraceConfig_StatsdMetadata_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_StatsdMetadata_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_StatsdMetadata_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_StatsdMetadata_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -60959,7 +60710,7 @@ class TraceConfig_StatsdMetadata : public ::protozero::Message { } }; -class TraceConfig_ProducerConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_ProducerConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_ProducerConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_ProducerConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61044,7 +60795,7 @@ class TraceConfig_ProducerConfig : public ::protozero::Message { } }; -class TraceConfig_BuiltinDataSource_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_BuiltinDataSource_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_BuiltinDataSource_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_BuiltinDataSource_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61228,7 +60979,7 @@ class TraceConfig_BuiltinDataSource : public ::protozero::Message { } }; -class TraceConfig_DataSource_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_DataSource_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_DataSource_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_DataSource_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61342,7 +61093,7 @@ class TraceConfig_DataSource : public ::protozero::Message { } }; -class TraceConfig_BufferConfig_Decoder : public ::protozero::TypedProtoDecoder { +class TraceConfig_BufferConfig_Decoder : public ::protozero::TypedProtoDecoder { public: TraceConfig_BufferConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceConfig_BufferConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61531,7 +61282,7 @@ const char* ClockSnapshot_Clock_BuiltinClocks_Name(::perfetto::protos::pbzero::C return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ClockSnapshot_Decoder : public ::protozero::TypedProtoDecoder { +class ClockSnapshot_Decoder : public ::protozero::TypedProtoDecoder { public: ClockSnapshot_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClockSnapshot_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61586,7 +61337,7 @@ class ClockSnapshot : public ::protozero::Message { } }; -class ClockSnapshot_Clock_Decoder : public ::protozero::TypedProtoDecoder { +class ClockSnapshot_Clock_Decoder : public ::protozero::TypedProtoDecoder { public: ClockSnapshot_Clock_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClockSnapshot_Clock_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61723,7 +61474,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TraceUuid_Decoder : public ::protozero::TypedProtoDecoder { +class TraceUuid_Decoder : public ::protozero::TypedProtoDecoder { public: TraceUuid_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TraceUuid_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61805,7 +61556,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class Trigger_Decoder : public ::protozero::TypedProtoDecoder { +class Trigger_Decoder : public ::protozero::TypedProtoDecoder { public: Trigger_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Trigger_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -61941,7 +61692,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InsetsProto_Decoder : public ::protozero::TypedProtoDecoder { +class InsetsProto_Decoder : public ::protozero::TypedProtoDecoder { public: InsetsProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InsetsProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62065,7 +61816,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PointProto_Decoder : public ::protozero::TypedProtoDecoder { +class PointProto_Decoder : public ::protozero::TypedProtoDecoder { public: PointProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PointProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62147,7 +61898,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class RectProto_Decoder : public ::protozero::TypedProtoDecoder { +class RectProto_Decoder : public ::protozero::TypedProtoDecoder { public: RectProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RectProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62271,7 +62022,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class WinscopeExtensions_Decoder : public ::protozero::TypedProtoDecoder { +class WinscopeExtensions_Decoder : public ::protozero::TypedProtoDecoder { public: WinscopeExtensions_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WinscopeExtensions_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62318,7 +62069,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ProtoLogViewerConfig_Decoder : public ::protozero::TypedProtoDecoder { +class ProtoLogViewerConfig_Decoder : public ::protozero::TypedProtoDecoder { public: ProtoLogViewerConfig_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProtoLogViewerConfig_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62370,7 +62121,7 @@ class ProtoLogViewerConfig : public ::protozero::Message { }; -class ProtoLogViewerConfig_Group_Decoder : public ::protozero::TypedProtoDecoder { +class ProtoLogViewerConfig_Group_Decoder : public ::protozero::TypedProtoDecoder { public: ProtoLogViewerConfig_Group_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProtoLogViewerConfig_Group_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62461,7 +62212,7 @@ class ProtoLogViewerConfig_Group : public ::protozero::Message { } }; -class ProtoLogViewerConfig_MessageData_Decoder : public ::protozero::TypedProtoDecoder { +class ProtoLogViewerConfig_MessageData_Decoder : public ::protozero::TypedProtoDecoder { public: ProtoLogViewerConfig_MessageData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProtoLogViewerConfig_MessageData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62594,7 +62345,7 @@ class ProtoLogViewerConfig_MessageData : public ::protozero::Message { } }; -class ProtoLogMessage_Decoder : public ::protozero::TypedProtoDecoder { +class ProtoLogMessage_Decoder : public ::protozero::TypedProtoDecoder { public: ProtoLogMessage_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProtoLogMessage_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62768,7 +62519,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ShellHandlerMapping_Decoder : public ::protozero::TypedProtoDecoder { +class ShellHandlerMapping_Decoder : public ::protozero::TypedProtoDecoder { public: ShellHandlerMapping_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ShellHandlerMapping_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62832,7 +62583,7 @@ class ShellHandlerMapping : public ::protozero::Message { } }; -class ShellHandlerMappings_Decoder : public ::protozero::TypedProtoDecoder { +class ShellHandlerMappings_Decoder : public ::protozero::TypedProtoDecoder { public: ShellHandlerMappings_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ShellHandlerMappings_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -62865,7 +62616,7 @@ class ShellHandlerMappings : public ::protozero::Message { }; -class ShellTransition_Decoder : public ::protozero::TypedProtoDecoder { +class ShellTransition_Decoder : public ::protozero::TypedProtoDecoder { public: ShellTransition_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ShellTransition_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63235,7 +62986,7 @@ class ShellTransition : public ::protozero::Message { } }; -class ShellTransition_Target_Decoder : public ::protozero::TypedProtoDecoder { +class ShellTransition_Target_Decoder : public ::protozero::TypedProtoDecoder { public: ShellTransition_Target_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ShellTransition_Target_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63394,7 +63145,7 @@ const char* TrustedOverlay_Name(::perfetto::protos::pbzero::TrustedOverlay value return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class BorderSettings_Decoder : public ::protozero::TypedProtoDecoder { +class BorderSettings_Decoder : public ::protozero::TypedProtoDecoder { public: BorderSettings_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BorderSettings_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63452,7 +63203,7 @@ class BorderSettings : public ::protozero::Message { } }; -class BoxShadowSettings_Decoder : public ::protozero::TypedProtoDecoder { +class BoxShadowSettings_Decoder : public ::protozero::TypedProtoDecoder { public: BoxShadowSettings_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BoxShadowSettings_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63486,7 +63237,7 @@ class BoxShadowSettings : public ::protozero::Message { }; -class BoxShadowSettings_BoxShadowParams_Decoder : public ::protozero::TypedProtoDecoder { +class BoxShadowSettings_BoxShadowParams_Decoder : public ::protozero::TypedProtoDecoder { public: BoxShadowSettings_BoxShadowParams_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BoxShadowSettings_BoxShadowParams_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63607,7 +63358,7 @@ class BoxShadowSettings_BoxShadowParams : public ::protozero::Message { } }; -class ColorTransformProto_Decoder : public ::protozero::TypedProtoDecoder { +class ColorTransformProto_Decoder : public ::protozero::TypedProtoDecoder { public: ColorTransformProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ColorTransformProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63640,7 +63391,7 @@ class ColorTransformProto : public ::protozero::Message { } }; -class BlurRegion_Decoder : public ::protozero::TypedProtoDecoder { +class BlurRegion_Decoder : public ::protozero::TypedProtoDecoder { public: BlurRegion_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlurRegion_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -63655,22 +63406,6 @@ class BlurRegion_Decoder : public ::protozero::TypedProtoDecoder().as_uint32(); } bool has_corner_radius_br() const { return at<5>().valid(); } float corner_radius_br() const { return at<5>().as_float(); } - bool has_corner_radius_tlx() const { return at<11>().valid(); } - float corner_radius_tlx() const { return at<11>().as_float(); } - bool has_corner_radius_tly() const { return at<12>().valid(); } - float corner_radius_tly() const { return at<12>().as_float(); } - bool has_corner_radius_trx() const { return at<13>().valid(); } - float corner_radius_trx() const { return at<13>().as_float(); } - bool has_corner_radius_try() const { return at<14>().valid(); } - float corner_radius_try() const { return at<14>().as_float(); } - bool has_corner_radius_blx() const { return at<15>().valid(); } - float corner_radius_blx() const { return at<15>().as_float(); } - bool has_corner_radius_bly() const { return at<16>().valid(); } - float corner_radius_bly() const { return at<16>().as_float(); } - bool has_corner_radius_brx() const { return at<17>().valid(); } - float corner_radius_brx() const { return at<17>().as_float(); } - bool has_corner_radius_bry() const { return at<18>().valid(); } - float corner_radius_bry() const { return at<18>().as_float(); } bool has_alpha() const { return at<6>().valid(); } float alpha() const { return at<6>().as_float(); } bool has_left() const { return at<7>().valid(); } @@ -63692,14 +63427,6 @@ class BlurRegion : public ::protozero::Message { kCornerRadiusTrFieldNumber = 3, kCornerRadiusBlFieldNumber = 4, kCornerRadiusBrFieldNumber = 5, - kCornerRadiusTlxFieldNumber = 11, - kCornerRadiusTlyFieldNumber = 12, - kCornerRadiusTrxFieldNumber = 13, - kCornerRadiusTryFieldNumber = 14, - kCornerRadiusBlxFieldNumber = 15, - kCornerRadiusBlyFieldNumber = 16, - kCornerRadiusBrxFieldNumber = 17, - kCornerRadiusBryFieldNumber = 18, kAlphaFieldNumber = 6, kLeftFieldNumber = 7, kTopFieldNumber = 8, @@ -63799,150 +63526,6 @@ class BlurRegion : public ::protozero::Message { ::Append(*this, field_id, value); } - using FieldMetadata_CornerRadiusTlx = - ::protozero::proto_utils::FieldMetadata< - 11, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusTlx kCornerRadiusTlx{}; - void set_corner_radius_tlx(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusTlx::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusTly = - ::protozero::proto_utils::FieldMetadata< - 12, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusTly kCornerRadiusTly{}; - void set_corner_radius_tly(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusTly::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusTrx = - ::protozero::proto_utils::FieldMetadata< - 13, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusTrx kCornerRadiusTrx{}; - void set_corner_radius_trx(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusTrx::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusTry = - ::protozero::proto_utils::FieldMetadata< - 14, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusTry kCornerRadiusTry{}; - void set_corner_radius_try(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusTry::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusBlx = - ::protozero::proto_utils::FieldMetadata< - 15, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusBlx kCornerRadiusBlx{}; - void set_corner_radius_blx(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusBlx::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusBly = - ::protozero::proto_utils::FieldMetadata< - 16, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusBly kCornerRadiusBly{}; - void set_corner_radius_bly(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusBly::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusBrx = - ::protozero::proto_utils::FieldMetadata< - 17, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusBrx kCornerRadiusBrx{}; - void set_corner_radius_brx(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusBrx::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - - using FieldMetadata_CornerRadiusBry = - ::protozero::proto_utils::FieldMetadata< - 18, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kFloat, - float, - BlurRegion>; - - static constexpr FieldMetadata_CornerRadiusBry kCornerRadiusBry{}; - void set_corner_radius_bry(float value) { - static constexpr uint32_t field_id = FieldMetadata_CornerRadiusBry::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kFloat> - ::Append(*this, field_id, value); - } - using FieldMetadata_Alpha = ::protozero::proto_utils::FieldMetadata< 6, @@ -64034,7 +63617,7 @@ class BlurRegion : public ::protozero::Message { } }; -class InputWindowInfoProto_Decoder : public ::protozero::TypedProtoDecoder { +class InputWindowInfoProto_Decoder : public ::protozero::TypedProtoDecoder { public: InputWindowInfoProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InputWindowInfoProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -64391,7 +63974,7 @@ class InputWindowInfoProto : public ::protozero::Message { } }; -class ColorProto_Decoder : public ::protozero::TypedProtoDecoder { +class ColorProto_Decoder : public ::protozero::TypedProtoDecoder { public: ColorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ColorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -64491,7 +64074,7 @@ class ColorProto : public ::protozero::Message { } }; -class TransformProto_Decoder : public ::protozero::TypedProtoDecoder { +class TransformProto_Decoder : public ::protozero::TypedProtoDecoder { public: TransformProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TransformProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -64612,7 +64195,7 @@ class TransformProto : public ::protozero::Message { } }; -class SizeProto_Decoder : public ::protozero::TypedProtoDecoder { +class SizeProto_Decoder : public ::protozero::TypedProtoDecoder { public: SizeProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SizeProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -64670,7 +64253,7 @@ class SizeProto : public ::protozero::Message { } }; -class RegionProto_Decoder : public ::protozero::TypedProtoDecoder { +class RegionProto_Decoder : public ::protozero::TypedProtoDecoder { public: RegionProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegionProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -64825,7 +64408,7 @@ const char* LayersTraceFileProto_MagicNumber_Name(::perfetto::protos::pbzero::La return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class BarrierLayerProto_Decoder : public ::protozero::TypedProtoDecoder { +class BarrierLayerProto_Decoder : public ::protozero::TypedProtoDecoder { public: BarrierLayerProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BarrierLayerProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -64883,7 +64466,7 @@ class BarrierLayerProto : public ::protozero::Message { } }; -class ActiveBufferProto_Decoder : public ::protozero::TypedProtoDecoder { +class ActiveBufferProto_Decoder : public ::protozero::TypedProtoDecoder { public: ActiveBufferProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ActiveBufferProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -65004,7 +64587,7 @@ class ActiveBufferProto : public ::protozero::Message { } }; -class CornerRadiiProto_Decoder : public ::protozero::TypedProtoDecoder { +class CornerRadiiProto_Decoder : public ::protozero::TypedProtoDecoder { public: CornerRadiiProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CornerRadiiProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -65104,7 +64687,7 @@ class CornerRadiiProto : public ::protozero::Message { } }; -class FloatRectProto_Decoder : public ::protozero::TypedProtoDecoder { +class FloatRectProto_Decoder : public ::protozero::TypedProtoDecoder { public: FloatRectProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FloatRectProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -65204,7 +64787,7 @@ class FloatRectProto : public ::protozero::Message { } }; -class PositionProto_Decoder : public ::protozero::TypedProtoDecoder { +class PositionProto_Decoder : public ::protozero::TypedProtoDecoder { public: PositionProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PositionProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -65262,7 +64845,7 @@ class PositionProto : public ::protozero::Message { } }; -class LayerProto_Decoder : public ::protozero::TypedProtoDecoder { +class LayerProto_Decoder : public ::protozero::TypedProtoDecoder { public: LayerProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -65399,8 +64982,6 @@ class LayerProto_Decoder : public ::protozero::TypedProtoDecoder().as_bytes(); } bool has_border_settings() const { return at<66>().valid(); } ::protozero::ConstBytes border_settings() const { return at<66>().as_bytes(); } - bool has_effective_radii() const { return at<67>().valid(); } - ::protozero::ConstBytes effective_radii() const { return at<67>().as_bytes(); } }; class LayerProto : public ::protozero::Message { @@ -65473,7 +65054,6 @@ class LayerProto : public ::protozero::Message { kSystemContentPriorityFieldNumber = 64, kBoxShadowSettingsFieldNumber = 65, kBorderSettingsFieldNumber = 66, - kEffectiveRadiiFieldNumber = 67, }; static constexpr const char* GetName() { return ".perfetto.protos.LayerProto"; } @@ -66554,23 +66134,9 @@ class LayerProto : public ::protozero::Message { return BeginNestedMessage(66); } - - using FieldMetadata_EffectiveRadii = - ::protozero::proto_utils::FieldMetadata< - 67, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kMessage, - CornerRadiiProto, - LayerProto>; - - static constexpr FieldMetadata_EffectiveRadii kEffectiveRadii{}; - template T* set_effective_radii() { - return BeginNestedMessage(67); - } - }; -class LayerProto_MetadataEntry_Decoder : public ::protozero::TypedProtoDecoder { +class LayerProto_MetadataEntry_Decoder : public ::protozero::TypedProtoDecoder { public: LayerProto_MetadataEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerProto_MetadataEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -66634,7 +66200,7 @@ class LayerProto_MetadataEntry : public ::protozero::Message { } }; -class DisplayProto_Decoder : public ::protozero::TypedProtoDecoder { +class DisplayProto_Decoder : public ::protozero::TypedProtoDecoder { public: DisplayProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DisplayProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -66833,7 +66399,7 @@ class DisplayProto : public ::protozero::Message { } }; -class LayersProto_Decoder : public ::protozero::TypedProtoDecoder { +class LayersProto_Decoder : public ::protozero::TypedProtoDecoder { public: LayersProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayersProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -66866,7 +66432,7 @@ class LayersProto : public ::protozero::Message { }; -class LayersSnapshotProto_Decoder : public ::protozero::TypedProtoDecoder { +class LayersSnapshotProto_Decoder : public ::protozero::TypedProtoDecoder { public: LayersSnapshotProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayersSnapshotProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -67054,7 +66620,7 @@ class LayersSnapshotProto : public ::protozero::Message { } }; -class LayersTraceFileProto_Decoder : public ::protozero::TypedProtoDecoder { +class LayersTraceFileProto_Decoder : public ::protozero::TypedProtoDecoder { public: LayersTraceFileProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayersTraceFileProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -67679,7 +67245,7 @@ const char* TransactionTraceFile_MagicNumber_Name(::perfetto::protos::pbzero::Tr return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class DisplayState_Decoder : public ::protozero::TypedProtoDecoder { +class DisplayState_Decoder : public ::protozero::TypedProtoDecoder { public: DisplayState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DisplayState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -67887,7 +67453,7 @@ class DisplayState : public ::protozero::Message { } }; -class LayerState_Decoder : public ::protozero::TypedProtoDecoder { +class LayerState_Decoder : public ::protozero::TypedProtoDecoder { public: LayerState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -68960,7 +68526,7 @@ class LayerState : public ::protozero::Message { }; -class LayerState_WindowInfo_Decoder : public ::protozero::TypedProtoDecoder { +class LayerState_WindowInfo_Decoder : public ::protozero::TypedProtoDecoder { public: LayerState_WindowInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerState_WindowInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -69216,7 +68782,7 @@ class LayerState_WindowInfo : public ::protozero::Message { } }; -class LayerState_BufferData_Decoder : public ::protozero::TypedProtoDecoder { +class LayerState_BufferData_Decoder : public ::protozero::TypedProtoDecoder { public: LayerState_BufferData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerState_BufferData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -69429,7 +68995,7 @@ class LayerState_BufferData : public ::protozero::Message { } }; -class LayerState_Color3_Decoder : public ::protozero::TypedProtoDecoder { +class LayerState_Color3_Decoder : public ::protozero::TypedProtoDecoder { public: LayerState_Color3_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerState_Color3_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -69508,7 +69074,7 @@ class LayerState_Color3 : public ::protozero::Message { } }; -class LayerState_CornerRadii_Decoder : public ::protozero::TypedProtoDecoder { +class LayerState_CornerRadii_Decoder : public ::protozero::TypedProtoDecoder { public: LayerState_CornerRadii_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerState_CornerRadii_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -69608,7 +69174,7 @@ class LayerState_CornerRadii : public ::protozero::Message { } }; -class LayerState_Matrix22_Decoder : public ::protozero::TypedProtoDecoder { +class LayerState_Matrix22_Decoder : public ::protozero::TypedProtoDecoder { public: LayerState_Matrix22_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerState_Matrix22_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -69708,7 +69274,7 @@ class LayerState_Matrix22 : public ::protozero::Message { } }; -class TransactionState_Decoder : public ::protozero::TypedProtoDecoder { +class TransactionState_Decoder : public ::protozero::TypedProtoDecoder { public: TransactionState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TransactionState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -69943,7 +69509,7 @@ class TransactionState : public ::protozero::Message { }; -class TransactionBarrier_Decoder : public ::protozero::TypedProtoDecoder { +class TransactionBarrier_Decoder : public ::protozero::TypedProtoDecoder { public: TransactionBarrier_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TransactionBarrier_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -70007,7 +69573,7 @@ class TransactionBarrier : public ::protozero::Message { } }; -class Transform_Decoder : public ::protozero::TypedProtoDecoder { +class Transform_Decoder : public ::protozero::TypedProtoDecoder { public: Transform_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Transform_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -70149,7 +69715,7 @@ class Transform : public ::protozero::Message { } }; -class LayerCreationArgs_Decoder : public ::protozero::TypedProtoDecoder { +class LayerCreationArgs_Decoder : public ::protozero::TypedProtoDecoder { public: LayerCreationArgs_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LayerCreationArgs_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -70318,7 +69884,7 @@ class LayerCreationArgs : public ::protozero::Message { } }; -class DisplayInfo_Decoder : public ::protozero::TypedProtoDecoder { +class DisplayInfo_Decoder : public ::protozero::TypedProtoDecoder { public: DisplayInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DisplayInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -70578,7 +70144,7 @@ class DisplayInfo : public ::protozero::Message { } }; -class TransactionTraceEntry_Decoder : public ::protozero::TypedProtoDecoder { +class TransactionTraceEntry_Decoder : public ::protozero::TypedProtoDecoder { public: TransactionTraceEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TransactionTraceEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -70788,7 +70354,7 @@ class TransactionTraceEntry : public ::protozero::Message { }; -class TransactionTraceFile_Decoder : public ::protozero::TypedProtoDecoder { +class TransactionTraceFile_Decoder : public ::protozero::TypedProtoDecoder { public: TransactionTraceFile_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TransactionTraceFile_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -70924,7 +70490,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidGameInterventionList_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidGameInterventionList_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidGameInterventionList_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidGameInterventionList_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71001,7 +70567,7 @@ class AndroidGameInterventionList : public ::protozero::Message { } }; -class AndroidGameInterventionList_GamePackageInfo_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidGameInterventionList_GamePackageInfo_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidGameInterventionList_GamePackageInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidGameInterventionList_GamePackageInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71103,7 +70669,7 @@ class AndroidGameInterventionList_GamePackageInfo : public ::protozero::Message }; -class AndroidGameInterventionList_GameModeInfo_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidGameInterventionList_GameModeInfo_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidGameInterventionList_GameModeInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidGameInterventionList_GameModeInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71238,7 +70804,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidLogPacket_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidLogPacket_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidLogPacket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidLogPacket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71290,7 +70856,7 @@ class AndroidLogPacket : public ::protozero::Message { }; -class AndroidLogPacket_Stats_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidLogPacket_Stats_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidLogPacket_Stats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidLogPacket_Stats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71369,7 +70935,7 @@ class AndroidLogPacket_Stats : public ::protozero::Message { } }; -class AndroidLogPacket_LogEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidLogPacket_LogEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidLogPacket_LogEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidLogPacket_LogEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71583,7 +71149,7 @@ class AndroidLogPacket_LogEvent : public ::protozero::Message { }; -class AndroidLogPacket_LogEvent_Arg_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidLogPacket_LogEvent_Arg_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidLogPacket_LogEvent_Arg_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidLogPacket_LogEvent_Arg_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71726,7 +71292,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidSystemProperty_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidSystemProperty_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidSystemProperty_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidSystemProperty_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71760,7 +71326,7 @@ class AndroidSystemProperty : public ::protozero::Message { }; -class AndroidSystemProperty_PropertyValue_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidSystemProperty_PropertyValue_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidSystemProperty_PropertyValue_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidSystemProperty_PropertyValue_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71861,7 +71427,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AppWakelockBundle_Decoder : public ::protozero::TypedProtoDecoder { +class AppWakelockBundle_Decoder : public ::protozero::TypedProtoDecoder { public: AppWakelockBundle_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AppWakelockBundle_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -71949,7 +71515,7 @@ class AppWakelockBundle : public ::protozero::Message { } }; -class AppWakelockInfo_Decoder : public ::protozero::TypedProtoDecoder { +class AppWakelockInfo_Decoder : public ::protozero::TypedProtoDecoder { public: AppWakelockInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AppWakelockInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -72173,7 +71739,7 @@ const char* BluetoothTracePacketType_Name(::perfetto::protos::pbzero::BluetoothT return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class BluetoothTraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BluetoothTraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BluetoothTraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BluetoothTraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -72436,7 +72002,7 @@ const char* AndroidCameraFrameEvent_CaptureResultStatus_Name(::perfetto::protos: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class AndroidCameraSessionStats_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidCameraSessionStats_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidCameraSessionStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidCameraSessionStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -72491,7 +72057,7 @@ class AndroidCameraSessionStats : public ::protozero::Message { }; -class AndroidCameraSessionStats_CameraGraph_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidCameraSessionStats_CameraGraph_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidCameraSessionStats_CameraGraph_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidCameraSessionStats_CameraGraph_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -72543,7 +72109,7 @@ class AndroidCameraSessionStats_CameraGraph : public ::protozero::Message { }; -class AndroidCameraSessionStats_CameraGraph_CameraEdge_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidCameraSessionStats_CameraGraph_CameraEdge_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidCameraSessionStats_CameraGraph_CameraEdge_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidCameraSessionStats_CameraGraph_CameraEdge_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -72691,7 +72257,7 @@ class AndroidCameraSessionStats_CameraGraph_CameraEdge : public ::protozero::Mes } }; -class AndroidCameraSessionStats_CameraGraph_CameraNode_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidCameraSessionStats_CameraGraph_CameraNode_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidCameraSessionStats_CameraGraph_CameraNode_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidCameraSessionStats_CameraGraph_CameraNode_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -72818,7 +72384,7 @@ class AndroidCameraSessionStats_CameraGraph_CameraNode : public ::protozero::Mes } }; -class AndroidCameraFrameEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidCameraFrameEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidCameraFrameEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidCameraFrameEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -73184,7 +72750,7 @@ class AndroidCameraFrameEvent : public ::protozero::Message { } }; -class AndroidCameraFrameEvent_CameraNodeProcessingDetails_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidCameraFrameEvent_CameraNodeProcessingDetails_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidCameraFrameEvent_CameraNodeProcessingDetails_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidCameraFrameEvent_CameraNodeProcessingDetails_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -73308,7 +72874,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CpuPerUidData_Decoder : public ::protozero::TypedProtoDecoder { +class CpuPerUidData_Decoder : public ::protozero::TypedProtoDecoder { public: CpuPerUidData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuPerUidData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -73442,14 +73008,13 @@ enum JankType : int32_t { JANK_DROPPED = 1024, JANK_NON_ANIMATING = 2048, JANK_APP_RESYNCED_JITTER = 4096, - JANK_DISPLAY_NOT_ON = 8192, }; } // namespace perfetto_pbzero_enum_FrameTimelineEvent using FrameTimelineEvent_JankType = perfetto_pbzero_enum_FrameTimelineEvent::JankType; constexpr FrameTimelineEvent_JankType FrameTimelineEvent_JankType_MIN = FrameTimelineEvent_JankType::JANK_UNSPECIFIED; -constexpr FrameTimelineEvent_JankType FrameTimelineEvent_JankType_MAX = FrameTimelineEvent_JankType::JANK_DISPLAY_NOT_ON; +constexpr FrameTimelineEvent_JankType FrameTimelineEvent_JankType_MAX = FrameTimelineEvent_JankType::JANK_APP_RESYNCED_JITTER; PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE @@ -73496,9 +73061,6 @@ const char* FrameTimelineEvent_JankType_Name(::perfetto::protos::pbzero::FrameTi case ::perfetto::protos::pbzero::FrameTimelineEvent_JankType::JANK_APP_RESYNCED_JITTER: return "JANK_APP_RESYNCED_JITTER"; - - case ::perfetto::protos::pbzero::FrameTimelineEvent_JankType::JANK_DISPLAY_NOT_ON: - return "JANK_DISPLAY_NOT_ON"; } return "PBZERO_UNKNOWN_ENUM_VALUE"; } @@ -73610,7 +73172,7 @@ const char* FrameTimelineEvent_PredictionType_Name(::perfetto::protos::pbzero::F return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class FrameTimelineEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FrameTimelineEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FrameTimelineEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrameTimelineEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -73678,7 +73240,6 @@ class FrameTimelineEvent : public ::protozero::Message { static inline const JankType JANK_DROPPED = JankType::JANK_DROPPED; static inline const JankType JANK_NON_ANIMATING = JankType::JANK_NON_ANIMATING; static inline const JankType JANK_APP_RESYNCED_JITTER = JankType::JANK_APP_RESYNCED_JITTER; - static inline const JankType JANK_DISPLAY_NOT_ON = JankType::JANK_DISPLAY_NOT_ON; static inline const JankSeverityType SEVERITY_UNKNOWN = JankSeverityType::SEVERITY_UNKNOWN; static inline const JankSeverityType SEVERITY_NONE = JankSeverityType::SEVERITY_NONE; static inline const JankSeverityType SEVERITY_PARTIAL = JankSeverityType::SEVERITY_PARTIAL; @@ -73765,7 +73326,7 @@ class FrameTimelineEvent : public ::protozero::Message { }; -class FrameTimelineEvent_FrameEnd_Decoder : public ::protozero::TypedProtoDecoder { +class FrameTimelineEvent_FrameEnd_Decoder : public ::protozero::TypedProtoDecoder { public: FrameTimelineEvent_FrameEnd_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrameTimelineEvent_FrameEnd_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -73802,7 +73363,7 @@ class FrameTimelineEvent_FrameEnd : public ::protozero::Message { } }; -class FrameTimelineEvent_ActualDisplayFrameStart_Decoder : public ::protozero::TypedProtoDecoder { +class FrameTimelineEvent_ActualDisplayFrameStart_Decoder : public ::protozero::TypedProtoDecoder { public: FrameTimelineEvent_ActualDisplayFrameStart_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrameTimelineEvent_ActualDisplayFrameStart_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -74091,7 +73652,7 @@ class FrameTimelineEvent_ActualDisplayFrameStart : public ::protozero::Message { } }; -class FrameTimelineEvent_ExpectedDisplayFrameStart_Decoder : public ::protozero::TypedProtoDecoder { +class FrameTimelineEvent_ExpectedDisplayFrameStart_Decoder : public ::protozero::TypedProtoDecoder { public: FrameTimelineEvent_ExpectedDisplayFrameStart_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrameTimelineEvent_ExpectedDisplayFrameStart_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -74170,7 +73731,7 @@ class FrameTimelineEvent_ExpectedDisplayFrameStart : public ::protozero::Message } }; -class FrameTimelineEvent_ActualSurfaceFrameStart_Decoder : public ::protozero::TypedProtoDecoder { +class FrameTimelineEvent_ActualSurfaceFrameStart_Decoder : public ::protozero::TypedProtoDecoder { public: FrameTimelineEvent_ActualSurfaceFrameStart_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrameTimelineEvent_ActualSurfaceFrameStart_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -74549,7 +74110,7 @@ class FrameTimelineEvent_ActualSurfaceFrameStart : public ::protozero::Message { } }; -class FrameTimelineEvent_ExpectedSurfaceFrameStart_Decoder : public ::protozero::TypedProtoDecoder { +class FrameTimelineEvent_ExpectedSurfaceFrameStart_Decoder : public ::protozero::TypedProtoDecoder { public: FrameTimelineEvent_ExpectedSurfaceFrameStart_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FrameTimelineEvent_ExpectedSurfaceFrameStart_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -74700,7 +74261,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GpuMemTotalEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GpuMemTotalEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GpuMemTotalEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuMemTotalEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -74887,7 +74448,7 @@ const char* GraphicsFrameEvent_BufferEventType_Name(::perfetto::protos::pbzero:: return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class GraphicsFrameEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GraphicsFrameEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GraphicsFrameEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GraphicsFrameEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -74940,7 +74501,7 @@ class GraphicsFrameEvent : public ::protozero::Message { }; -class GraphicsFrameEvent_BufferEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GraphicsFrameEvent_BufferEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GraphicsFrameEvent_BufferEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GraphicsFrameEvent_BufferEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75091,7 +74652,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InitialDisplayState_Decoder : public ::protozero::TypedProtoDecoder { +class InitialDisplayState_Decoder : public ::protozero::TypedProtoDecoder { public: InitialDisplayState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InitialDisplayState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75213,7 +74774,7 @@ const char* KernelWakelockData_Wakelock_Type_Name(::perfetto::protos::pbzero::Ke return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class KernelWakelockData_Decoder : public ::protozero::TypedProtoDecoder { +class KernelWakelockData_Decoder : public ::protozero::TypedProtoDecoder { public: KernelWakelockData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KernelWakelockData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75302,7 +74863,7 @@ class KernelWakelockData : public ::protozero::Message { } }; -class KernelWakelockData_Wakelock_Decoder : public ::protozero::TypedProtoDecoder { +class KernelWakelockData_Wakelock_Decoder : public ::protozero::TypedProtoDecoder { public: KernelWakelockData_Wakelock_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KernelWakelockData_Wakelock_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75452,7 +75013,7 @@ const char* TrafficDirection_Name(::perfetto::protos::pbzero::TrafficDirection v return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class NetworkPacketContext_Decoder : public ::protozero::TypedProtoDecoder { +class NetworkPacketContext_Decoder : public ::protozero::TypedProtoDecoder { public: NetworkPacketContext_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NetworkPacketContext_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75506,7 +75067,7 @@ class NetworkPacketContext : public ::protozero::Message { }; -class NetworkPacketBundle_Decoder : public ::protozero::TypedProtoDecoder { +class NetworkPacketBundle_Decoder : public ::protozero::TypedProtoDecoder { public: NetworkPacketBundle_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NetworkPacketBundle_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75657,7 +75218,7 @@ class NetworkPacketBundle : public ::protozero::Message { } }; -class NetworkPacketEvent_Decoder : public ::protozero::TypedProtoDecoder { +class NetworkPacketEvent_Decoder : public ::protozero::TypedProtoDecoder { public: NetworkPacketEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NetworkPacketEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -75941,7 +75502,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PackagesList_Decoder : public ::protozero::TypedProtoDecoder { +class PackagesList_Decoder : public ::protozero::TypedProtoDecoder { public: PackagesList_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PackagesList_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76017,7 +75578,7 @@ class PackagesList : public ::protozero::Message { } }; -class PackagesList_PackageInfo_Decoder : public ::protozero::TypedProtoDecoder { +class PackagesList_PackageInfo_Decoder : public ::protozero::TypedProtoDecoder { public: PackagesList_PackageInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PackagesList_PackageInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76168,7 +75729,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PixelModemTokenDatabase_Decoder : public ::protozero::TypedProtoDecoder { +class PixelModemTokenDatabase_Decoder : public ::protozero::TypedProtoDecoder { public: PixelModemTokenDatabase_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PixelModemTokenDatabase_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76211,7 +75772,7 @@ class PixelModemTokenDatabase : public ::protozero::Message { } }; -class PixelModemEvents_Decoder : public ::protozero::TypedProtoDecoder { +class PixelModemEvents_Decoder : public ::protozero::TypedProtoDecoder { public: PixelModemEvents_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PixelModemEvents_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76299,7 +75860,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeBenchmarkMetadata_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeBenchmarkMetadata_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeBenchmarkMetadata_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeBenchmarkMetadata_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76651,7 +76212,7 @@ const char* BackgroundTracingMetadata_TriggerRule_NamedRule_EventType_Name(::per return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class BackgroundTracingMetadata_Decoder : public ::protozero::TypedProtoDecoder { +class BackgroundTracingMetadata_Decoder : public ::protozero::TypedProtoDecoder { public: BackgroundTracingMetadata_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BackgroundTracingMetadata_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76723,7 +76284,7 @@ class BackgroundTracingMetadata : public ::protozero::Message { } }; -class BackgroundTracingMetadata_TriggerRule_Decoder : public ::protozero::TypedProtoDecoder { +class BackgroundTracingMetadata_TriggerRule_Decoder : public ::protozero::TypedProtoDecoder { public: BackgroundTracingMetadata_TriggerRule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BackgroundTracingMetadata_TriggerRule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76825,7 +76386,7 @@ class BackgroundTracingMetadata_TriggerRule : public ::protozero::Message { } }; -class BackgroundTracingMetadata_TriggerRule_NamedRule_Decoder : public ::protozero::TypedProtoDecoder { +class BackgroundTracingMetadata_TriggerRule_NamedRule_Decoder : public ::protozero::TypedProtoDecoder { public: BackgroundTracingMetadata_TriggerRule_NamedRule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BackgroundTracingMetadata_TriggerRule_NamedRule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76895,7 +76456,7 @@ class BackgroundTracingMetadata_TriggerRule_NamedRule : public ::protozero::Mess } }; -class BackgroundTracingMetadata_TriggerRule_HistogramRule_Decoder : public ::protozero::TypedProtoDecoder { +class BackgroundTracingMetadata_TriggerRule_HistogramRule_Decoder : public ::protozero::TypedProtoDecoder { public: BackgroundTracingMetadata_TriggerRule_HistogramRule_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BackgroundTracingMetadata_TriggerRule_HistogramRule_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -76974,7 +76535,7 @@ class BackgroundTracingMetadata_TriggerRule_HistogramRule : public ::protozero:: } }; -class ChromeMetadataPacket_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeMetadataPacket_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeMetadataPacket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeMetadataPacket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -77073,7 +76634,7 @@ class ChromeMetadataPacket : public ::protozero::Message { }; -class ChromeMetadataPacket_FinchHash_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeMetadataPacket_FinchHash_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeMetadataPacket_FinchHash_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeMetadataPacket_FinchHash_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -77225,7 +76786,7 @@ const char* ChromeTracedValue_NestedType_Name(::perfetto::protos::pbzero::Chrome return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeEventBundle_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeEventBundle_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeEventBundle_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeEventBundle_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -77336,7 +76897,7 @@ class ChromeEventBundle : public ::protozero::Message { }; -class ChromeLegacyJsonTrace_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeLegacyJsonTrace_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeLegacyJsonTrace_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeLegacyJsonTrace_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -77407,7 +76968,7 @@ class ChromeLegacyJsonTrace : public ::protozero::Message { } }; -class ChromeMetadata_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeMetadata_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeMetadata_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeMetadata_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -77546,7 +77107,7 @@ class ChromeMetadata : public ::protozero::Message { } }; -class ChromeTraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeTraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeTraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeTraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -77913,7 +77474,7 @@ class ChromeTraceEvent : public ::protozero::Message { } }; -class ChromeTraceEvent_Arg_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeTraceEvent_Arg_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeTraceEvent_Arg_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeTraceEvent_Arg_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -78153,7 +77714,7 @@ class ChromeTraceEvent_Arg : public ::protozero::Message { } }; -class ChromeStringTableEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeStringTableEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeStringTableEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeStringTableEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -78217,7 +77778,7 @@ class ChromeStringTableEntry : public ::protozero::Message { } }; -class ChromeTracedValue_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeTracedValue_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeTracedValue_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeTracedValue_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -78436,7 +77997,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeTrigger_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeTrigger_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeTrigger_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeTrigger_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -78874,7 +78435,7 @@ const char* InternedV8JsScript_Type_Name(::perfetto::protos::pbzero::InternedV8J return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class V8CodeDefaults_Decoder : public ::protozero::TypedProtoDecoder { +class V8CodeDefaults_Decoder : public ::protozero::TypedProtoDecoder { public: V8CodeDefaults_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8CodeDefaults_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -78911,7 +78472,7 @@ class V8CodeDefaults : public ::protozero::Message { } }; -class V8CodeMove_Decoder : public ::protozero::TypedProtoDecoder { +class V8CodeMove_Decoder : public ::protozero::TypedProtoDecoder { public: V8CodeMove_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8CodeMove_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -79086,7 +78647,7 @@ class V8CodeMove : public ::protozero::Message { } }; -class V8RegExpCode_Decoder : public ::protozero::TypedProtoDecoder { +class V8RegExpCode_Decoder : public ::protozero::TypedProtoDecoder { public: V8RegExpCode_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8RegExpCode_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -79230,7 +78791,7 @@ class V8RegExpCode : public ::protozero::Message { } }; -class V8WasmCode_Decoder : public ::protozero::TypedProtoDecoder { +class V8WasmCode_Decoder : public ::protozero::TypedProtoDecoder { public: V8WasmCode_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8WasmCode_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -79455,7 +79016,7 @@ class V8WasmCode : public ::protozero::Message { } }; -class V8InternalCode_Decoder : public ::protozero::TypedProtoDecoder { +class V8InternalCode_Decoder : public ::protozero::TypedProtoDecoder { public: V8InternalCode_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8InternalCode_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -79666,7 +79227,7 @@ class V8InternalCode : public ::protozero::Message { } }; -class V8JsCode_Decoder : public ::protozero::TypedProtoDecoder { +class V8JsCode_Decoder : public ::protozero::TypedProtoDecoder { public: V8JsCode_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8JsCode_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -79873,7 +79434,7 @@ class V8JsCode : public ::protozero::Message { } }; -class InternedV8Isolate_Decoder : public ::protozero::TypedProtoDecoder { +class InternedV8Isolate_Decoder : public ::protozero::TypedProtoDecoder { public: InternedV8Isolate_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedV8Isolate_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -80012,7 +79573,7 @@ class InternedV8Isolate : public ::protozero::Message { } }; -class InternedV8Isolate_CodeRange_Decoder : public ::protozero::TypedProtoDecoder { +class InternedV8Isolate_CodeRange_Decoder : public ::protozero::TypedProtoDecoder { public: InternedV8Isolate_CodeRange_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedV8Isolate_CodeRange_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -80112,7 +79673,7 @@ class InternedV8Isolate_CodeRange : public ::protozero::Message { } }; -class InternedV8JsFunction_Decoder : public ::protozero::TypedProtoDecoder { +class InternedV8JsFunction_Decoder : public ::protozero::TypedProtoDecoder { public: InternedV8JsFunction_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedV8JsFunction_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -80329,7 +79890,7 @@ class InternedV8JsFunction : public ::protozero::Message { } }; -class InternedV8WasmScript_Decoder : public ::protozero::TypedProtoDecoder { +class InternedV8WasmScript_Decoder : public ::protozero::TypedProtoDecoder { public: InternedV8WasmScript_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedV8WasmScript_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -80441,7 +80002,7 @@ class InternedV8WasmScript : public ::protozero::Message { } }; -class InternedV8JsScript_Decoder : public ::protozero::TypedProtoDecoder { +class InternedV8JsScript_Decoder : public ::protozero::TypedProtoDecoder { public: InternedV8JsScript_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedV8JsScript_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -80566,7 +80127,7 @@ class InternedV8JsScript : public ::protozero::Message { }; -class InternedV8String_Decoder : public ::protozero::TypedProtoDecoder { +class InternedV8String_Decoder : public ::protozero::TypedProtoDecoder { public: InternedV8String_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedV8String_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -80684,7 +80245,7 @@ class InternedV8String : public ::protozero::Message { } }; -class V8String_Decoder : public ::protozero::TypedProtoDecoder { +class V8String_Decoder : public ::protozero::TypedProtoDecoder { public: V8String_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V8String_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81136,7 +80697,7 @@ const char* CSwitchEtwEvent_OldThreadState_Name(::perfetto::protos::pbzero::CSwi return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class FileIoOpEndEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FileIoOpEndEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FileIoOpEndEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileIoOpEndEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81215,7 +80776,7 @@ class FileIoOpEndEtwEvent : public ::protozero::Message { } }; -class FileIoSimpleOpEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FileIoSimpleOpEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FileIoSimpleOpEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileIoSimpleOpEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81315,7 +80876,7 @@ class FileIoSimpleOpEtwEvent : public ::protozero::Message { } }; -class FileIoReadWriteEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FileIoReadWriteEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FileIoReadWriteEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileIoReadWriteEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81478,7 +81039,7 @@ class FileIoReadWriteEtwEvent : public ::protozero::Message { } }; -class FileIoInfoEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FileIoInfoEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FileIoInfoEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileIoInfoEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81620,7 +81181,7 @@ class FileIoInfoEtwEvent : public ::protozero::Message { } }; -class FileIoDirEnumEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FileIoDirEnumEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FileIoDirEnumEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileIoDirEnumEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81810,7 +81371,7 @@ class FileIoDirEnumEtwEvent : public ::protozero::Message { } }; -class FileIoCreateEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FileIoCreateEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FileIoCreateEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FileIoCreateEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -81979,7 +81540,7 @@ class FileIoCreateEtwEvent : public ::protozero::Message { } }; -class MemInfoEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MemInfoEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MemInfoEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MemInfoEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -82268,7 +81829,7 @@ class MemInfoEtwEvent : public ::protozero::Message { } }; -class ReadyThreadEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ReadyThreadEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ReadyThreadEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ReadyThreadEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -82427,7 +81988,7 @@ class ReadyThreadEtwEvent : public ::protozero::Message { } }; -class CSwitchEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CSwitchEtwEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CSwitchEtwEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CSwitchEtwEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -82818,7 +82379,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class EtwTraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class EtwTraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: EtwTraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EtwTraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -83081,7 +82642,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class EtwTraceEventBundle_Decoder : public ::protozero::TypedProtoDecoder { +class EtwTraceEventBundle_Decoder : public ::protozero::TypedProtoDecoder { public: EtwTraceEventBundle_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EtwTraceEventBundle_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -83199,7 +82760,7 @@ const char* InodeFileMap_Entry_Type_Name(::perfetto::protos::pbzero::InodeFileMa return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class InodeFileMap_Decoder : public ::protozero::TypedProtoDecoder { +class InodeFileMap_Decoder : public ::protozero::TypedProtoDecoder { public: InodeFileMap_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InodeFileMap_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -83281,7 +82842,7 @@ class InodeFileMap : public ::protozero::Message { }; -class InodeFileMap_Entry_Decoder : public ::protozero::TypedProtoDecoder { +class InodeFileMap_Entry_Decoder : public ::protozero::TypedProtoDecoder { public: InodeFileMap_Entry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InodeFileMap_Entry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -83657,7 +83218,6 @@ class FenceInitFtraceEvent; class FenceSignaledFtraceEvent; class FuncgraphEntryFtraceEvent; class FuncgraphExitFtraceEvent; -class FwtpPerfettoCounterFtraceEvent; class G2dTracingMarkWriteFtraceEvent; class GenericFtraceEvent; class GoogleIccEventFtraceEvent; @@ -83979,7 +83539,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -85138,8 +84698,6 @@ class FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder().as_bytes(); } bool has_drm_sched_job_unschedulable() const { return at<595>().valid(); } ::protozero::ConstBytes drm_sched_job_unschedulable() const { return at<595>().as_bytes(); } - bool has_fwtp_perfetto_counter() const { return at<596>().valid(); } - ::protozero::ConstBytes fwtp_perfetto_counter() const { return at<596>().as_bytes(); } }; class FtraceEvent : public ::protozero::Message { @@ -85723,7 +85281,6 @@ class FtraceEvent : public ::protozero::Message { kDrmSchedJobQueueFieldNumber = 593, kDrmSchedJobRunFieldNumber = 594, kDrmSchedJobUnschedulableFieldNumber = 595, - kFwtpPerfettoCounterFieldNumber = 596, }; static constexpr const char* GetName() { return ".perfetto.protos.FtraceEvent"; } @@ -93817,20 +93374,6 @@ class FtraceEvent : public ::protozero::Message { return BeginNestedMessage(595); } - - using FieldMetadata_FwtpPerfettoCounter = - ::protozero::proto_utils::FieldMetadata< - 596, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kMessage, - FwtpPerfettoCounterFtraceEvent, - FtraceEvent>; - - static constexpr FieldMetadata_FwtpPerfettoCounter kFwtpPerfettoCounter{}; - template T* set_fwtp_perfetto_counter() { - return BeginNestedMessage(596); - } - }; } // Namespace. @@ -93902,7 +93445,7 @@ const char* FtraceClock_Name(::perfetto::protos::pbzero::FtraceClock value) { return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class FtraceEventBundle_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceEventBundle_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceEventBundle_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceEventBundle_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -94163,15 +93706,13 @@ class FtraceEventBundle : public ::protozero::Message { } }; -class FtraceEventBundle_GenericEventDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceEventBundle_GenericEventDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceEventBundle_GenericEventDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceEventBundle_GenericEventDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} explicit FtraceEventBundle_GenericEventDescriptor_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {} bool has_field_id() const { return at<1>().valid(); } int32_t field_id() const { return at<1>().as_int32(); } - bool has_group_name() const { return at<3>().valid(); } - ::protozero::ConstChars group_name() const { return at<3>().as_string(); } bool has_event_descriptor() const { return at<2>().valid(); } ::protozero::ConstBytes event_descriptor() const { return at<2>().as_bytes(); } }; @@ -94181,7 +93722,6 @@ class FtraceEventBundle_GenericEventDescriptor : public ::protozero::Message { using Decoder = FtraceEventBundle_GenericEventDescriptor_Decoder; enum : int32_t { kFieldIdFieldNumber = 1, - kGroupNameFieldNumber = 3, kEventDescriptorFieldNumber = 2, }; static constexpr const char* GetName() { return ".perfetto.protos.FtraceEventBundle.GenericEventDescriptor"; } @@ -94205,30 +93745,6 @@ class FtraceEventBundle_GenericEventDescriptor : public ::protozero::Message { ::Append(*this, field_id, value); } - using FieldMetadata_GroupName = - ::protozero::proto_utils::FieldMetadata< - 3, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kString, - std::string, - FtraceEventBundle_GenericEventDescriptor>; - - static constexpr FieldMetadata_GroupName kGroupName{}; - void set_group_name(const char* data, size_t size) { - AppendBytes(FieldMetadata_GroupName::kFieldId, data, size); - } - void set_group_name(::protozero::ConstChars chars) { - AppendBytes(FieldMetadata_GroupName::kFieldId, chars.data, chars.size); - } - void set_group_name(std::string value) { - static constexpr uint32_t field_id = FieldMetadata_GroupName::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kString> - ::Append(*this, field_id, value); - } - using FieldMetadata_EventDescriptor = ::protozero::proto_utils::FieldMetadata< 2, @@ -94254,7 +93770,7 @@ class FtraceEventBundle_GenericEventDescriptor : public ::protozero::Message { } }; -class FtraceEventBundle_FtraceError_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceEventBundle_FtraceError_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceEventBundle_FtraceError_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceEventBundle_FtraceError_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -94312,7 +93828,7 @@ class FtraceEventBundle_FtraceError : public ::protozero::Message { } }; -class FtraceEventBundle_CompactSched_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceEventBundle_CompactSched_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceEventBundle_CompactSched_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceEventBundle_CompactSched_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -94693,7 +94209,7 @@ const char* FtraceStats_Phase_Name(::perfetto::protos::pbzero::FtraceStats_Phase return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class FtraceStats_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceStats_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95006,7 +94522,7 @@ class FtraceStats : public ::protozero::Message { } }; -class FtraceKprobeStats_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceKprobeStats_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceKprobeStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceKprobeStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95064,7 +94580,7 @@ class FtraceKprobeStats : public ::protozero::Message { } }; -class FtraceCpuStats_Decoder : public ::protozero::TypedProtoDecoder { +class FtraceCpuStats_Decoder : public ::protozero::TypedProtoDecoder { public: FtraceCpuStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FtraceCpuStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95300,7 +94816,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TestBundleWrapper_Decoder : public ::protozero::TypedProtoDecoder { +class TestBundleWrapper_Decoder : public ::protozero::TypedProtoDecoder { public: TestBundleWrapper_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TestBundleWrapper_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95455,7 +94971,7 @@ const char* KprobeEvent_KprobeType_Name(::perfetto::protos::pbzero::KprobeEvent_ return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class KprobeEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KprobeEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KprobeEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KprobeEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95528,7 +95044,7 @@ class KprobeEvent : public ::protozero::Message { } }; -class GenericFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GenericFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GenericFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95589,7 +95105,7 @@ class GenericFtraceEvent : public ::protozero::Message { }; -class GenericFtraceEvent_Field_Decoder : public ::protozero::TypedProtoDecoder { +class GenericFtraceEvent_Field_Decoder : public ::protozero::TypedProtoDecoder { public: GenericFtraceEvent_Field_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericFtraceEvent_Field_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95725,7 +95241,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidFsFsyncStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidFsFsyncStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidFsFsyncStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidFsFsyncStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95858,7 +95374,7 @@ class AndroidFsFsyncStartFtraceEvent : public ::protozero::Message { } }; -class AndroidFsFsyncEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidFsFsyncEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidFsFsyncEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidFsFsyncEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -95937,7 +95453,7 @@ class AndroidFsFsyncEndFtraceEvent : public ::protozero::Message { } }; -class AndroidFsDatawriteStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidFsDatawriteStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidFsDatawriteStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidFsDatawriteStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96112,7 +95628,7 @@ class AndroidFsDatawriteStartFtraceEvent : public ::protozero::Message { } }; -class AndroidFsDatawriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidFsDatawriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidFsDatawriteEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidFsDatawriteEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96191,7 +95707,7 @@ class AndroidFsDatawriteEndFtraceEvent : public ::protozero::Message { } }; -class AndroidFsDatareadStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidFsDatareadStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidFsDatareadStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidFsDatareadStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96366,7 +95882,7 @@ class AndroidFsDatareadStartFtraceEvent : public ::protozero::Message { } }; -class AndroidFsDatareadEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidFsDatareadEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidFsDatareadEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidFsDatareadEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96469,7 +95985,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class BclIrqTriggerFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BclIrqTriggerFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BclIrqTriggerFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BclIrqTriggerFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96698,7 +96214,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class BinderReturnFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderReturnFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderReturnFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderReturnFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96735,7 +96251,7 @@ class BinderReturnFtraceEvent : public ::protozero::Message { } }; -class BinderCommandFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderCommandFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderCommandFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderCommandFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96772,7 +96288,7 @@ class BinderCommandFtraceEvent : public ::protozero::Message { } }; -class BinderTransactionAllocBufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderTransactionAllocBufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderTransactionAllocBufFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderTransactionAllocBufFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96872,7 +96388,7 @@ class BinderTransactionAllocBufFtraceEvent : public ::protozero::Message { } }; -class BinderUnlockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderUnlockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderUnlockFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderUnlockFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96915,7 +96431,7 @@ class BinderUnlockFtraceEvent : public ::protozero::Message { } }; -class BinderLockedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderLockedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderLockedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderLockedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -96958,7 +96474,7 @@ class BinderLockedFtraceEvent : public ::protozero::Message { } }; -class BinderLockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderLockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderLockFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderLockFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97001,7 +96517,7 @@ class BinderLockFtraceEvent : public ::protozero::Message { } }; -class BinderSetPriorityFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderSetPriorityFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderSetPriorityFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderSetPriorityFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97122,7 +96638,7 @@ class BinderSetPriorityFtraceEvent : public ::protozero::Message { } }; -class BinderTransactionReceivedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderTransactionReceivedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderTransactionReceivedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderTransactionReceivedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97159,7 +96675,7 @@ class BinderTransactionReceivedFtraceEvent : public ::protozero::Message { } }; -class BinderTransactionFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BinderTransactionFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BinderTransactionFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BinderTransactionFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97346,7 +96862,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class BlockIoDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockIoDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockIoDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockIoDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97548,7 +97064,7 @@ class BlockIoDoneFtraceEvent : public ::protozero::Message { } }; -class BlockIoStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockIoStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockIoStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockIoStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97750,7 +97266,7 @@ class BlockIoStartFtraceEvent : public ::protozero::Message { } }; -class BlockUnplugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockUnplugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockUnplugFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockUnplugFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97814,7 +97330,7 @@ class BlockUnplugFtraceEvent : public ::protozero::Message { } }; -class BlockTouchBufferFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockTouchBufferFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockTouchBufferFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockTouchBufferFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -97893,7 +97409,7 @@ class BlockTouchBufferFtraceEvent : public ::protozero::Message { } }; -class BlockSplitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockSplitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockSplitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockSplitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98026,7 +97542,7 @@ class BlockSplitFtraceEvent : public ::protozero::Message { } }; -class BlockSleeprqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockSleeprqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockSleeprqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockSleeprqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98159,7 +97675,7 @@ class BlockSleeprqFtraceEvent : public ::protozero::Message { } }; -class BlockRqRequeueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockRqRequeueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockRqRequeueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockRqRequeueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98313,7 +97829,7 @@ class BlockRqRequeueFtraceEvent : public ::protozero::Message { } }; -class BlockRqRemapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockRqRemapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockRqRemapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockRqRemapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98482,7 +97998,7 @@ class BlockRqRemapFtraceEvent : public ::protozero::Message { } }; -class BlockRqInsertFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockRqInsertFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockRqInsertFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockRqInsertFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98663,7 +98179,7 @@ class BlockRqInsertFtraceEvent : public ::protozero::Message { } }; -class BlockRqCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockRqCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockRqCompleteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockRqCompleteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98838,7 +98354,7 @@ class BlockRqCompleteFtraceEvent : public ::protozero::Message { } }; -class BlockRqAbortFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockRqAbortFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockRqAbortFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockRqAbortFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -98992,7 +98508,7 @@ class BlockRqAbortFtraceEvent : public ::protozero::Message { } }; -class BlockPlugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockPlugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockPlugFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockPlugFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99035,7 +98551,7 @@ class BlockPlugFtraceEvent : public ::protozero::Message { } }; -class BlockGetrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockGetrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockGetrqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockGetrqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99168,7 +98684,7 @@ class BlockGetrqFtraceEvent : public ::protozero::Message { } }; -class BlockDirtyBufferFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockDirtyBufferFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockDirtyBufferFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockDirtyBufferFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99247,7 +98763,7 @@ class BlockDirtyBufferFtraceEvent : public ::protozero::Message { } }; -class BlockBioRemapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockBioRemapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockBioRemapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockBioRemapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99395,7 +98911,7 @@ class BlockBioRemapFtraceEvent : public ::protozero::Message { } }; -class BlockBioQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockBioQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockBioQueueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockBioQueueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99528,7 +99044,7 @@ class BlockBioQueueFtraceEvent : public ::protozero::Message { } }; -class BlockBioFrontmergeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockBioFrontmergeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockBioFrontmergeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockBioFrontmergeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99661,7 +99177,7 @@ class BlockBioFrontmergeFtraceEvent : public ::protozero::Message { } }; -class BlockBioCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockBioCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockBioCompleteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockBioCompleteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99788,7 +99304,7 @@ class BlockBioCompleteFtraceEvent : public ::protozero::Message { } }; -class BlockBioBounceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockBioBounceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockBioBounceFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockBioBounceFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -99921,7 +99437,7 @@ class BlockBioBounceFtraceEvent : public ::protozero::Message { } }; -class BlockBioBackmergeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockBioBackmergeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockBioBackmergeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockBioBackmergeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100054,7 +99570,7 @@ class BlockBioBackmergeFtraceEvent : public ::protozero::Message { } }; -class BlockRqIssueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class BlockRqIssueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: BlockRqIssueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BlockRqIssueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100259,7 +99775,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CgroupSetupRootFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupSetupRootFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupSetupRootFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupSetupRootFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100344,7 +99860,7 @@ class CgroupSetupRootFtraceEvent : public ::protozero::Message { } }; -class CgroupRenameFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupRenameFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupRenameFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupRenameFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100477,7 +99993,7 @@ class CgroupRenameFtraceEvent : public ::protozero::Message { } }; -class CgroupReleaseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupReleaseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupReleaseFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupReleaseFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100610,7 +100126,7 @@ class CgroupReleaseFtraceEvent : public ::protozero::Message { } }; -class CgroupDestroyRootFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupDestroyRootFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupDestroyRootFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupDestroyRootFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100695,7 +100211,7 @@ class CgroupDestroyRootFtraceEvent : public ::protozero::Message { } }; -class CgroupTransferTasksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupTransferTasksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupTransferTasksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupTransferTasksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -100876,7 +100392,7 @@ class CgroupTransferTasksFtraceEvent : public ::protozero::Message { } }; -class CgroupRmdirFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupRmdirFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupRmdirFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupRmdirFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101009,7 +100525,7 @@ class CgroupRmdirFtraceEvent : public ::protozero::Message { } }; -class CgroupRemountFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupRemountFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupRemountFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupRemountFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101094,7 +100610,7 @@ class CgroupRemountFtraceEvent : public ::protozero::Message { } }; -class CgroupMkdirFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupMkdirFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupMkdirFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupMkdirFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101227,7 +100743,7 @@ class CgroupMkdirFtraceEvent : public ::protozero::Message { } }; -class CgroupAttachTaskFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CgroupAttachTaskFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CgroupAttachTaskFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CgroupAttachTaskFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101432,7 +100948,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ClkSetRateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ClkSetRateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ClkSetRateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClkSetRateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101496,7 +101012,7 @@ class ClkSetRateFtraceEvent : public ::protozero::Message { } }; -class ClkDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ClkDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ClkDisableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClkDisableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101539,7 +101055,7 @@ class ClkDisableFtraceEvent : public ::protozero::Message { } }; -class ClkEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ClkEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ClkEnableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClkEnableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101606,7 +101122,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CmaAllocFinishFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CmaAllocFinishFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CmaAllocFinishFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CmaAllocFinishFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101754,7 +101270,7 @@ class CmaAllocFinishFtraceEvent : public ::protozero::Message { } }; -class CmaAllocInfoFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CmaAllocInfoFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CmaAllocInfoFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CmaAllocInfoFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -101986,7 +101502,7 @@ class CmaAllocInfoFtraceEvent : public ::protozero::Message { } }; -class CmaAllocStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CmaAllocStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CmaAllocStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CmaAllocStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102095,7 +101611,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class MmCompactionWakeupKcompactdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionWakeupKcompactdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionWakeupKcompactdFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionWakeupKcompactdFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102195,7 +101711,7 @@ class MmCompactionWakeupKcompactdFtraceEvent : public ::protozero::Message { } }; -class MmCompactionTryToCompactPagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionTryToCompactPagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionTryToCompactPagesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionTryToCompactPagesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102295,7 +101811,7 @@ class MmCompactionTryToCompactPagesFtraceEvent : public ::protozero::Message { } }; -class MmCompactionSuitableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionSuitableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionSuitableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionSuitableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102395,7 +101911,7 @@ class MmCompactionSuitableFtraceEvent : public ::protozero::Message { } }; -class MmCompactionMigratepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionMigratepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionMigratepagesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionMigratepagesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102453,7 +101969,7 @@ class MmCompactionMigratepagesFtraceEvent : public ::protozero::Message { } }; -class MmCompactionKcompactdWakeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionKcompactdWakeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionKcompactdWakeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionKcompactdWakeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102553,7 +102069,7 @@ class MmCompactionKcompactdWakeFtraceEvent : public ::protozero::Message { } }; -class MmCompactionKcompactdSleepFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionKcompactdSleepFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionKcompactdSleepFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionKcompactdSleepFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102590,7 +102106,7 @@ class MmCompactionKcompactdSleepFtraceEvent : public ::protozero::Message { } }; -class MmCompactionIsolateMigratepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionIsolateMigratepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionIsolateMigratepagesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionIsolateMigratepagesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102690,7 +102206,7 @@ class MmCompactionIsolateMigratepagesFtraceEvent : public ::protozero::Message { } }; -class MmCompactionIsolateFreepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionIsolateFreepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionIsolateFreepagesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionIsolateFreepagesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102790,7 +102306,7 @@ class MmCompactionIsolateFreepagesFtraceEvent : public ::protozero::Message { } }; -class MmCompactionFinishedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionFinishedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionFinishedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionFinishedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -102890,7 +102406,7 @@ class MmCompactionFinishedFtraceEvent : public ::protozero::Message { } }; -class MmCompactionEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103032,7 +102548,7 @@ class MmCompactionEndFtraceEvent : public ::protozero::Message { } }; -class MmCompactionDeferResetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionDeferResetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionDeferResetFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionDeferResetFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103174,7 +102690,7 @@ class MmCompactionDeferResetFtraceEvent : public ::protozero::Message { } }; -class MmCompactionDeferredFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionDeferredFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionDeferredFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionDeferredFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103316,7 +102832,7 @@ class MmCompactionDeferredFtraceEvent : public ::protozero::Message { } }; -class MmCompactionDeferCompactionFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionDeferCompactionFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionDeferCompactionFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionDeferCompactionFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103458,7 +102974,7 @@ class MmCompactionDeferCompactionFtraceEvent : public ::protozero::Message { } }; -class MmCompactionBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmCompactionBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmCompactionBeginFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmCompactionBeginFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103603,7 +103119,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ParamSetValueCpmFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ParamSetValueCpmFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ParamSetValueCpmFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ParamSetValueCpmFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103712,7 +103228,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CpuhpPauseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuhpPauseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuhpPauseFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuhpPauseFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103812,7 +103328,7 @@ class CpuhpPauseFtraceEvent : public ::protozero::Message { } }; -class CpuhpLatencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuhpLatencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuhpLatencyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuhpLatencyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -103912,7 +103428,7 @@ class CpuhpLatencyFtraceEvent : public ::protozero::Message { } }; -class CpuhpEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuhpEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuhpEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuhpEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104012,7 +103528,7 @@ class CpuhpEnterFtraceEvent : public ::protozero::Message { } }; -class CpuhpMultiEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuhpMultiEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuhpMultiEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuhpMultiEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104112,7 +103628,7 @@ class CpuhpMultiEnterFtraceEvent : public ::protozero::Message { } }; -class CpuhpExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuhpExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuhpExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuhpExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104236,7 +103752,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CrosEcSensorhubDataFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CrosEcSensorhubDataFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CrosEcSensorhubDataFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CrosEcSensorhubDataFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104402,7 +103918,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DcvshFreqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DcvshFreqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DcvshFreqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DcvshFreqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104484,7 +104000,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DevfreqFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DevfreqFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DevfreqFrequencyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DevfreqFrequencyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104635,7 +104151,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DmaFenceWaitEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaFenceWaitEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaFenceWaitEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaFenceWaitEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104747,7 +104263,7 @@ class DmaFenceWaitEndFtraceEvent : public ::protozero::Message { } }; -class DmaFenceWaitStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaFenceWaitStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaFenceWaitStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaFenceWaitStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104859,7 +104375,7 @@ class DmaFenceWaitStartFtraceEvent : public ::protozero::Message { } }; -class DmaFenceSignaledFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaFenceSignaledFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaFenceSignaledFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaFenceSignaledFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -104971,7 +104487,7 @@ class DmaFenceSignaledFtraceEvent : public ::protozero::Message { } }; -class DmaFenceEmitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaFenceEmitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaFenceEmitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaFenceEmitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105083,7 +104599,7 @@ class DmaFenceEmitFtraceEvent : public ::protozero::Message { } }; -class DmaFenceInitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaFenceInitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaFenceInitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaFenceInitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105219,7 +104735,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DmaHeapStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaHeapStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaHeapStatFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaHeapStatFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105322,7 +104838,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DpuDispVblankIrqEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DpuDispVblankIrqEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DpuDispVblankIrqEnableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DpuDispVblankIrqEnableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105401,7 +104917,7 @@ class DpuDispVblankIrqEnableFtraceEvent : public ::protozero::Message { } }; -class DpuDispDpuUnderrunFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DpuDispDpuUnderrunFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DpuDispDpuUnderrunFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DpuDispDpuUnderrunFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105480,7 +104996,7 @@ class DpuDispDpuUnderrunFtraceEvent : public ::protozero::Message { } }; -class DpuDsiTxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DpuDsiTxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DpuDsiTxFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DpuDsiTxFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105580,7 +105096,7 @@ class DpuDsiTxFtraceEvent : public ::protozero::Message { } }; -class DpuDsiRxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DpuDsiRxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DpuDsiRxFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DpuDsiRxFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105638,7 +105154,7 @@ class DpuDsiRxFtraceEvent : public ::protozero::Message { } }; -class DpuDsiCmdFifoStatusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DpuDsiCmdFifoStatusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DpuDsiCmdFifoStatusFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DpuDsiCmdFifoStatusFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105696,7 +105212,7 @@ class DpuDsiCmdFifoStatusFtraceEvent : public ::protozero::Message { } }; -class DpuTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DpuTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DpuTracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DpuTracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105874,7 +105390,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DrmVblankEventDeliveredFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmVblankEventDeliveredFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmVblankEventDeliveredFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmVblankEventDeliveredFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -105953,7 +105469,7 @@ class DrmVblankEventDeliveredFtraceEvent : public ::protozero::Message { } }; -class DrmVblankEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmVblankEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmVblankEventFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmVblankEventFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -106077,7 +105593,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class Dwc3WritelFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3WritelFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3WritelFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3WritelFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -106183,7 +105699,7 @@ class Dwc3WritelFtraceEvent : public ::protozero::Message { } }; -class Dwc3ReadlFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3ReadlFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3ReadlFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3ReadlFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -106289,7 +105805,7 @@ class Dwc3ReadlFtraceEvent : public ::protozero::Message { } }; -class Dwc3PrepareTrbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3PrepareTrbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3PrepareTrbFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3PrepareTrbFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -106542,7 +106058,7 @@ class Dwc3PrepareTrbFtraceEvent : public ::protozero::Message { } }; -class Dwc3GadgetGivebackFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3GadgetGivebackFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3GadgetGivebackFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3GadgetGivebackFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -106732,7 +106248,7 @@ class Dwc3GadgetGivebackFtraceEvent : public ::protozero::Message { } }; -class Dwc3GadgetGenericCmdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3GadgetGenericCmdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3GadgetGenericCmdFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3GadgetGenericCmdFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -106811,7 +106327,7 @@ class Dwc3GadgetGenericCmdFtraceEvent : public ::protozero::Message { } }; -class Dwc3GadgetEpEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3GadgetEpEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3GadgetEpEnableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3GadgetEpEnableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -107022,7 +106538,7 @@ class Dwc3GadgetEpEnableFtraceEvent : public ::protozero::Message { } }; -class Dwc3GadgetEpDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3GadgetEpDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3GadgetEpDisableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3GadgetEpDisableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -107233,7 +106749,7 @@ class Dwc3GadgetEpDisableFtraceEvent : public ::protozero::Message { } }; -class Dwc3GadgetEpCmdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3GadgetEpCmdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3GadgetEpCmdFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3GadgetEpCmdFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -107381,7 +106897,7 @@ class Dwc3GadgetEpCmdFtraceEvent : public ::protozero::Message { } }; -class Dwc3FreeRequestFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3FreeRequestFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3FreeRequestFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3FreeRequestFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -107571,7 +107087,7 @@ class Dwc3FreeRequestFtraceEvent : public ::protozero::Message { } }; -class Dwc3EventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3EventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3EventFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3EventFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -107656,7 +107172,7 @@ class Dwc3EventFtraceEvent : public ::protozero::Message { } }; -class Dwc3EpQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3EpQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3EpQueueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3EpQueueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -107846,7 +107362,7 @@ class Dwc3EpQueueFtraceEvent : public ::protozero::Message { } }; -class Dwc3EpDequeueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3EpDequeueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3EpDequeueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3EpDequeueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -108036,7 +107552,7 @@ class Dwc3EpDequeueFtraceEvent : public ::protozero::Message { } }; -class Dwc3CtrlReqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3CtrlReqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3CtrlReqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3CtrlReqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -108184,7 +107700,7 @@ class Dwc3CtrlReqFtraceEvent : public ::protozero::Message { } }; -class Dwc3CompleteTrbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3CompleteTrbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3CompleteTrbFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3CompleteTrbFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -108437,7 +107953,7 @@ class Dwc3CompleteTrbFtraceEvent : public ::protozero::Message { } }; -class Dwc3AllocRequestFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Dwc3AllocRequestFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Dwc3AllocRequestFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Dwc3AllocRequestFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -108651,7 +108167,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class Ext4ZeroRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ZeroRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ZeroRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ZeroRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -108772,7 +108288,7 @@ class Ext4ZeroRangeFtraceEvent : public ::protozero::Message { } }; -class Ext4WritepagesResultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4WritepagesResultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4WritepagesResultFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4WritepagesResultFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -108935,7 +108451,7 @@ class Ext4WritepagesResultFtraceEvent : public ::protozero::Message { } }; -class Ext4WritepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4WritepagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4WritepagesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4WritepagesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109161,7 +108677,7 @@ class Ext4WritepagesFtraceEvent : public ::protozero::Message { } }; -class Ext4WritepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4WritepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4WritepageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4WritepageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109240,7 +108756,7 @@ class Ext4WritepageFtraceEvent : public ::protozero::Message { } }; -class Ext4WriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4WriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4WriteEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4WriteEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109361,7 +108877,7 @@ class Ext4WriteEndFtraceEvent : public ::protozero::Message { } }; -class Ext4WriteBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4WriteBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4WriteBeginFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4WriteBeginFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109482,7 +108998,7 @@ class Ext4WriteBeginFtraceEvent : public ::protozero::Message { } }; -class Ext4UnlinkExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4UnlinkExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4UnlinkExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4UnlinkExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109561,7 +109077,7 @@ class Ext4UnlinkExitFtraceEvent : public ::protozero::Message { } }; -class Ext4UnlinkEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4UnlinkEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4UnlinkEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4UnlinkEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109661,7 +109177,7 @@ class Ext4UnlinkEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4TruncateExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4TruncateExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4TruncateExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4TruncateExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109740,7 +109256,7 @@ class Ext4TruncateExitFtraceEvent : public ::protozero::Message { } }; -class Ext4TruncateEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4TruncateEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4TruncateEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4TruncateEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109819,7 +109335,7 @@ class Ext4TruncateEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4TrimExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4TrimExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4TrimExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4TrimExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -109940,7 +109456,7 @@ class Ext4TrimExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4TrimAllFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4TrimAllFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4TrimAllFreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4TrimAllFreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110061,7 +109577,7 @@ class Ext4TrimAllFreeFtraceEvent : public ::protozero::Message { } }; -class Ext4SyncFsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4SyncFsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4SyncFsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4SyncFsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110119,7 +109635,7 @@ class Ext4SyncFsFtraceEvent : public ::protozero::Message { } }; -class Ext4RequestInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4RequestInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4RequestInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4RequestInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110198,7 +109714,7 @@ class Ext4RequestInodeFtraceEvent : public ::protozero::Message { } }; -class Ext4RequestBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4RequestBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4RequestBlocksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4RequestBlocksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110424,7 +109940,7 @@ class Ext4RequestBlocksFtraceEvent : public ::protozero::Message { } }; -class Ext4RemoveBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4RemoveBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4RemoveBlocksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4RemoveBlocksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110671,7 +110187,7 @@ class Ext4RemoveBlocksFtraceEvent : public ::protozero::Message { } }; -class Ext4ReleasepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ReleasepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ReleasepageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ReleasepageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110750,7 +110266,7 @@ class Ext4ReleasepageFtraceEvent : public ::protozero::Message { } }; -class Ext4ReadpageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ReadpageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ReadpageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ReadpageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110829,7 +110345,7 @@ class Ext4ReadpageFtraceEvent : public ::protozero::Message { } }; -class Ext4ReadBlockBitmapLoadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ReadBlockBitmapLoadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ReadBlockBitmapLoadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ReadBlockBitmapLoadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -110908,7 +110424,7 @@ class Ext4ReadBlockBitmapLoadFtraceEvent : public ::protozero::Message { } }; -class Ext4PunchHoleFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4PunchHoleFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4PunchHoleFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4PunchHoleFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -111029,7 +110545,7 @@ class Ext4PunchHoleFtraceEvent : public ::protozero::Message { } }; -class Ext4OtherInodeUpdateTimeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4OtherInodeUpdateTimeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4OtherInodeUpdateTimeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4OtherInodeUpdateTimeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -111171,7 +110687,7 @@ class Ext4OtherInodeUpdateTimeFtraceEvent : public ::protozero::Message { } }; -class Ext4MballocPreallocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MballocPreallocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MballocPreallocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MballocPreallocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -111397,7 +110913,7 @@ class Ext4MballocPreallocFtraceEvent : public ::protozero::Message { } }; -class Ext4MballocFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MballocFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MballocFreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MballocFreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -111518,7 +111034,7 @@ class Ext4MballocFreeFtraceEvent : public ::protozero::Message { } }; -class Ext4MballocDiscardFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MballocDiscardFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MballocDiscardFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MballocDiscardFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -111639,7 +111155,7 @@ class Ext4MballocDiscardFtraceEvent : public ::protozero::Message { } }; -class Ext4MballocAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MballocAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MballocAllocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MballocAllocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112075,7 +111591,7 @@ class Ext4MballocAllocFtraceEvent : public ::protozero::Message { } }; -class Ext4MbReleaseInodePaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbReleaseInodePaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbReleaseInodePaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbReleaseInodePaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112175,7 +111691,7 @@ class Ext4MbReleaseInodePaFtraceEvent : public ::protozero::Message { } }; -class Ext4MbReleaseGroupPaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbReleaseGroupPaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbReleaseGroupPaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbReleaseGroupPaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112254,7 +111770,7 @@ class Ext4MbReleaseGroupPaFtraceEvent : public ::protozero::Message { } }; -class Ext4MbNewInodePaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbNewInodePaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbNewInodePaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbNewInodePaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112375,7 +111891,7 @@ class Ext4MbNewInodePaFtraceEvent : public ::protozero::Message { } }; -class Ext4MbNewGroupPaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbNewGroupPaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbNewGroupPaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbNewGroupPaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112496,7 +112012,7 @@ class Ext4MbNewGroupPaFtraceEvent : public ::protozero::Message { } }; -class Ext4MbDiscardPreallocationsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbDiscardPreallocationsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbDiscardPreallocationsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbDiscardPreallocationsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112554,7 +112070,7 @@ class Ext4MbDiscardPreallocationsFtraceEvent : public ::protozero::Message { } }; -class Ext4MbBuddyBitmapLoadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbBuddyBitmapLoadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbBuddyBitmapLoadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbBuddyBitmapLoadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112612,7 +112128,7 @@ class Ext4MbBuddyBitmapLoadFtraceEvent : public ::protozero::Message { } }; -class Ext4MbBitmapLoadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MbBitmapLoadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MbBitmapLoadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MbBitmapLoadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112670,7 +112186,7 @@ class Ext4MbBitmapLoadFtraceEvent : public ::protozero::Message { } }; -class Ext4MarkInodeDirtyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4MarkInodeDirtyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4MarkInodeDirtyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4MarkInodeDirtyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112749,7 +112265,7 @@ class Ext4MarkInodeDirtyFtraceEvent : public ::protozero::Message { } }; -class Ext4LoadInodeBitmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4LoadInodeBitmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4LoadInodeBitmapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4LoadInodeBitmapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112807,7 +112323,7 @@ class Ext4LoadInodeBitmapFtraceEvent : public ::protozero::Message { } }; -class Ext4LoadInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4LoadInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4LoadInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4LoadInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112865,7 +112381,7 @@ class Ext4LoadInodeFtraceEvent : public ::protozero::Message { } }; -class Ext4JournalledWriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4JournalledWriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4JournalledWriteEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4JournalledWriteEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -112986,7 +112502,7 @@ class Ext4JournalledWriteEndFtraceEvent : public ::protozero::Message { } }; -class Ext4JournalledInvalidatepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4JournalledInvalidatepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4JournalledInvalidatepageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4JournalledInvalidatepageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113107,7 +112623,7 @@ class Ext4JournalledInvalidatepageFtraceEvent : public ::protozero::Message { } }; -class Ext4JournalStartReservedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4JournalStartReservedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4JournalStartReservedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4JournalStartReservedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113186,7 +112702,7 @@ class Ext4JournalStartReservedFtraceEvent : public ::protozero::Message { } }; -class Ext4JournalStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4JournalStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4JournalStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4JournalStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113328,7 +112844,7 @@ class Ext4JournalStartFtraceEvent : public ::protozero::Message { } }; -class Ext4InvalidatepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4InvalidatepageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4InvalidatepageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4InvalidatepageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113449,7 +112965,7 @@ class Ext4InvalidatepageFtraceEvent : public ::protozero::Message { } }; -class Ext4InsertRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4InsertRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4InsertRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4InsertRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113549,7 +113065,7 @@ class Ext4InsertRangeFtraceEvent : public ::protozero::Message { } }; -class Ext4IndMapBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4IndMapBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4IndMapBlocksExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4IndMapBlocksExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113733,7 +113249,7 @@ class Ext4IndMapBlocksExitFtraceEvent : public ::protozero::Message { } }; -class Ext4IndMapBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4IndMapBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4IndMapBlocksEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4IndMapBlocksEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113854,7 +113370,7 @@ class Ext4IndMapBlocksEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4GetReservedClusterAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4GetReservedClusterAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4GetReservedClusterAllocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4GetReservedClusterAllocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -113954,7 +113470,7 @@ class Ext4GetReservedClusterAllocFtraceEvent : public ::protozero::Message { } }; -class Ext4GetImpliedClusterAllocExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4GetImpliedClusterAllocExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4GetImpliedClusterAllocExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4GetImpliedClusterAllocExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114096,7 +113612,7 @@ class Ext4GetImpliedClusterAllocExitFtraceEvent : public ::protozero::Message { } }; -class Ext4FreeInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4FreeInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4FreeInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4FreeInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114238,7 +113754,7 @@ class Ext4FreeInodeFtraceEvent : public ::protozero::Message { } }; -class Ext4FreeBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4FreeBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4FreeBlocksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4FreeBlocksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114380,7 +113896,7 @@ class Ext4FreeBlocksFtraceEvent : public ::protozero::Message { } }; -class Ext4ForgetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ForgetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ForgetFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ForgetFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114501,7 +114017,7 @@ class Ext4ForgetFtraceEvent : public ::protozero::Message { } }; -class Ext4FindDelallocRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4FindDelallocRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4FindDelallocRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4FindDelallocRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114664,7 +114180,7 @@ class Ext4FindDelallocRangeFtraceEvent : public ::protozero::Message { } }; -class Ext4FallocateExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4FallocateExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4FallocateExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4FallocateExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114785,7 +114301,7 @@ class Ext4FallocateExitFtraceEvent : public ::protozero::Message { } }; -class Ext4FallocateEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4FallocateEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4FallocateEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4FallocateEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -114927,7 +114443,7 @@ class Ext4FallocateEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtShowExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtShowExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtShowExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtShowExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -115048,7 +114564,7 @@ class Ext4ExtShowExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtRmLeafFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtRmLeafFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtRmLeafFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtRmLeafFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -115274,7 +114790,7 @@ class Ext4ExtRmLeafFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtRmIdxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtRmIdxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtRmIdxFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtRmIdxFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -115353,7 +114869,7 @@ class Ext4ExtRmIdxFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtRemoveSpaceDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtRemoveSpaceDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtRemoveSpaceDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtRemoveSpaceDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -115579,7 +115095,7 @@ class Ext4ExtRemoveSpaceDoneFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtRemoveSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtRemoveSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtRemoveSpaceFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtRemoveSpaceFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -115700,7 +115216,7 @@ class Ext4ExtRemoveSpaceFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtPutInCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtPutInCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtPutInCacheFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtPutInCacheFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -115821,7 +115337,7 @@ class Ext4ExtPutInCacheFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtMapBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtMapBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtMapBlocksExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtMapBlocksExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116005,7 +115521,7 @@ class Ext4ExtMapBlocksExitFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtMapBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtMapBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtMapBlocksEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtMapBlocksEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116126,7 +115642,7 @@ class Ext4ExtMapBlocksEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtLoadExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtLoadExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtLoadExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtLoadExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116226,7 +115742,7 @@ class Ext4ExtLoadExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtInCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtInCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtInCacheFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtInCacheFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116326,7 +115842,7 @@ class Ext4ExtInCacheFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtHandleUnwrittenExtentsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtHandleUnwrittenExtentsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtHandleUnwrittenExtentsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtHandleUnwrittenExtentsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116510,7 +116026,7 @@ class Ext4ExtHandleUnwrittenExtentsFtraceEvent : public ::protozero::Message { } }; -class Ext4ExtConvertToInitializedFastpathFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtConvertToInitializedFastpathFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtConvertToInitializedFastpathFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtConvertToInitializedFastpathFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116736,7 +116252,7 @@ class Ext4ExtConvertToInitializedFastpathFtraceEvent : public ::protozero::Messa } }; -class Ext4ExtConvertToInitializedEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4ExtConvertToInitializedEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4ExtConvertToInitializedEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4ExtConvertToInitializedEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116899,7 +116415,7 @@ class Ext4ExtConvertToInitializedEnterFtraceEvent : public ::protozero::Message } }; -class Ext4EvictInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EvictInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EvictInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EvictInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -116978,7 +116494,7 @@ class Ext4EvictInodeFtraceEvent : public ::protozero::Message { } }; -class Ext4EsShrinkScanExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsShrinkScanExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsShrinkScanExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsShrinkScanExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117057,7 +116573,7 @@ class Ext4EsShrinkScanExitFtraceEvent : public ::protozero::Message { } }; -class Ext4EsShrinkScanEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsShrinkScanEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsShrinkScanEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsShrinkScanEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117136,7 +116652,7 @@ class Ext4EsShrinkScanEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4EsShrinkCountFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsShrinkCountFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsShrinkCountFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsShrinkCountFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117215,7 +116731,7 @@ class Ext4EsShrinkCountFtraceEvent : public ::protozero::Message { } }; -class Ext4EsShrinkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsShrinkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsShrinkFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsShrinkFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117336,7 +116852,7 @@ class Ext4EsShrinkFtraceEvent : public ::protozero::Message { } }; -class Ext4EsRemoveExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsRemoveExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsRemoveExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsRemoveExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117436,7 +116952,7 @@ class Ext4EsRemoveExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4EsLookupExtentExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsLookupExtentExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsLookupExtentExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsLookupExtentExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117599,7 +117115,7 @@ class Ext4EsLookupExtentExitFtraceEvent : public ::protozero::Message { } }; -class Ext4EsLookupExtentEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsLookupExtentEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsLookupExtentEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsLookupExtentEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117678,7 +117194,7 @@ class Ext4EsLookupExtentEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4EsInsertExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsInsertExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsInsertExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsInsertExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117820,7 +117336,7 @@ class Ext4EsInsertExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4EsFindDelayedExtentRangeExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsFindDelayedExtentRangeExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsFindDelayedExtentRangeExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsFindDelayedExtentRangeExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -117962,7 +117478,7 @@ class Ext4EsFindDelayedExtentRangeExitFtraceEvent : public ::protozero::Message } }; -class Ext4EsFindDelayedExtentRangeEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsFindDelayedExtentRangeEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsFindDelayedExtentRangeEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsFindDelayedExtentRangeEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118041,7 +117557,7 @@ class Ext4EsFindDelayedExtentRangeEnterFtraceEvent : public ::protozero::Message } }; -class Ext4EsCacheExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4EsCacheExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4EsCacheExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4EsCacheExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118183,7 +117699,7 @@ class Ext4EsCacheExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4DropInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DropInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DropInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DropInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118262,7 +117778,7 @@ class Ext4DropInodeFtraceEvent : public ::protozero::Message { } }; -class Ext4DiscardPreallocationsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DiscardPreallocationsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DiscardPreallocationsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DiscardPreallocationsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118362,7 +117878,7 @@ class Ext4DiscardPreallocationsFtraceEvent : public ::protozero::Message { } }; -class Ext4DiscardBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DiscardBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DiscardBlocksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DiscardBlocksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118441,7 +117957,7 @@ class Ext4DiscardBlocksFtraceEvent : public ::protozero::Message { } }; -class Ext4DirectIOExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DirectIOExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DirectIOExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DirectIOExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118583,7 +118099,7 @@ class Ext4DirectIOExitFtraceEvent : public ::protozero::Message { } }; -class Ext4DirectIOEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DirectIOEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DirectIOEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DirectIOEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118704,7 +118220,7 @@ class Ext4DirectIOEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4DaWritePagesExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaWritePagesExtentFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaWritePagesExtentFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaWritePagesExtentFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -118825,7 +118341,7 @@ class Ext4DaWritePagesExtentFtraceEvent : public ::protozero::Message { } }; -class Ext4DaWritePagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaWritePagesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaWritePagesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaWritePagesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119051,7 +118567,7 @@ class Ext4DaWritePagesFtraceEvent : public ::protozero::Message { } }; -class Ext4DaUpdateReserveSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaUpdateReserveSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaUpdateReserveSpaceFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaUpdateReserveSpaceFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119256,7 +118772,7 @@ class Ext4DaUpdateReserveSpaceFtraceEvent : public ::protozero::Message { } }; -class Ext4DaReserveSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaReserveSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaReserveSpaceFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaReserveSpaceFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119419,7 +118935,7 @@ class Ext4DaReserveSpaceFtraceEvent : public ::protozero::Message { } }; -class Ext4DaReleaseSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaReleaseSpaceFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaReleaseSpaceFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaReleaseSpaceFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119603,7 +119119,7 @@ class Ext4DaReleaseSpaceFtraceEvent : public ::protozero::Message { } }; -class Ext4CollapseRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4CollapseRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4CollapseRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4CollapseRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119703,7 +119219,7 @@ class Ext4CollapseRangeFtraceEvent : public ::protozero::Message { } }; -class Ext4BeginOrderedTruncateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4BeginOrderedTruncateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4BeginOrderedTruncateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4BeginOrderedTruncateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119782,7 +119298,7 @@ class Ext4BeginOrderedTruncateFtraceEvent : public ::protozero::Message { } }; -class Ext4AllocateInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4AllocateInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4AllocateInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4AllocateInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -119882,7 +119398,7 @@ class Ext4AllocateInodeFtraceEvent : public ::protozero::Message { } }; -class Ext4AllocateBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4AllocateBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4AllocateBlocksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4AllocateBlocksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120129,7 +119645,7 @@ class Ext4AllocateBlocksFtraceEvent : public ::protozero::Message { } }; -class Ext4AllocDaBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4AllocDaBlocksFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4AllocDaBlocksFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4AllocDaBlocksFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120229,7 +119745,7 @@ class Ext4AllocDaBlocksFtraceEvent : public ::protozero::Message { } }; -class Ext4SyncFileExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4SyncFileExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4SyncFileExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4SyncFileExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120308,7 +119824,7 @@ class Ext4SyncFileExitFtraceEvent : public ::protozero::Message { } }; -class Ext4SyncFileEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4SyncFileEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4SyncFileEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4SyncFileEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120408,7 +119924,7 @@ class Ext4SyncFileEnterFtraceEvent : public ::protozero::Message { } }; -class Ext4DaWriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaWriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaWriteEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaWriteEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120529,7 +120045,7 @@ class Ext4DaWriteEndFtraceEvent : public ::protozero::Message { } }; -class Ext4DaWriteBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Ext4DaWriteBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Ext4DaWriteBeginFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Ext4DaWriteBeginFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120674,7 +120190,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class F2fsGcEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsGcEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsGcEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsGcEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -120921,7 +120437,7 @@ class F2fsGcEndFtraceEvent : public ::protozero::Message { } }; -class F2fsGcBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsGcBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsGcBeginFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsGcBeginFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -121210,7 +120726,7 @@ class F2fsGcBeginFtraceEvent : public ::protozero::Message { } }; -class F2fsBackgroundGcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsBackgroundGcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsBackgroundGcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsBackgroundGcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -121310,7 +120826,7 @@ class F2fsBackgroundGcFtraceEvent : public ::protozero::Message { } }; -class F2fsIostatLatencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsIostatLatencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsIostatLatencyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsIostatLatencyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -121914,7 +121430,7 @@ class F2fsIostatLatencyFtraceEvent : public ::protozero::Message { } }; -class F2fsIostatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsIostatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsIostatFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsIostatFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -122413,7 +121929,7 @@ class F2fsIostatFtraceEvent : public ::protozero::Message { } }; -class F2fsWriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsWriteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsWriteEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsWriteEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -122534,7 +122050,7 @@ class F2fsWriteEndFtraceEvent : public ::protozero::Message { } }; -class F2fsWriteCheckpointFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsWriteCheckpointFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsWriteCheckpointFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsWriteCheckpointFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -122640,7 +122156,7 @@ class F2fsWriteCheckpointFtraceEvent : public ::protozero::Message { } }; -class F2fsWriteBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsWriteBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsWriteBeginFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsWriteBeginFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -122761,7 +122277,7 @@ class F2fsWriteBeginFtraceEvent : public ::protozero::Message { } }; -class F2fsVmPageMkwriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsVmPageMkwriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsVmPageMkwriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsVmPageMkwriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -122924,7 +122440,7 @@ class F2fsVmPageMkwriteFtraceEvent : public ::protozero::Message { } }; -class F2fsUnlinkExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsUnlinkExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsUnlinkExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsUnlinkExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123003,7 +122519,7 @@ class F2fsUnlinkExitFtraceEvent : public ::protozero::Message { } }; -class F2fsUnlinkEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsUnlinkEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsUnlinkEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsUnlinkEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123130,7 +122646,7 @@ class F2fsUnlinkEnterFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncatePartialNodesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncatePartialNodesFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncatePartialNodesFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncatePartialNodesFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123251,7 +122767,7 @@ class F2fsTruncatePartialNodesFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateNodesExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateNodesExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateNodesExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateNodesExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123330,7 +122846,7 @@ class F2fsTruncateNodesExitFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateNodesEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateNodesEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateNodesEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateNodesEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123430,7 +122946,7 @@ class F2fsTruncateNodesEnterFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateNodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateNodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateNodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateNodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123530,7 +123046,7 @@ class F2fsTruncateNodeFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateInodeBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateInodeBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateInodeBlocksExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateInodeBlocksExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123609,7 +123125,7 @@ class F2fsTruncateInodeBlocksExitFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateInodeBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateInodeBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateInodeBlocksEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateInodeBlocksEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123730,7 +123246,7 @@ class F2fsTruncateInodeBlocksEnterFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateDataBlocksRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateDataBlocksRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateDataBlocksRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateDataBlocksRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123851,7 +123367,7 @@ class F2fsTruncateDataBlocksRangeFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateBlocksExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateBlocksExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateBlocksExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -123930,7 +123446,7 @@ class F2fsTruncateBlocksExitFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateBlocksEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateBlocksEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateBlocksEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124051,7 +123567,7 @@ class F2fsTruncateBlocksEnterFtraceEvent : public ::protozero::Message { } }; -class F2fsTruncateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsTruncateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsTruncateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsTruncateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124235,7 +123751,7 @@ class F2fsTruncateFtraceEvent : public ::protozero::Message { } }; -class F2fsSyncFsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsSyncFsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsSyncFsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsSyncFsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124314,7 +123830,7 @@ class F2fsSyncFsFtraceEvent : public ::protozero::Message { } }; -class F2fsSyncFileExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsSyncFileExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsSyncFileExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsSyncFileExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124456,7 +123972,7 @@ class F2fsSyncFileExitFtraceEvent : public ::protozero::Message { } }; -class F2fsSyncFileEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsSyncFileEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsSyncFileEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsSyncFileEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124640,7 +124156,7 @@ class F2fsSyncFileEnterFtraceEvent : public ::protozero::Message { } }; -class F2fsSubmitWritePageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsSubmitWritePageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsSubmitWritePageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsSubmitWritePageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124761,7 +124277,7 @@ class F2fsSubmitWritePageFtraceEvent : public ::protozero::Message { } }; -class F2fsSetPageDirtyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsSetPageDirtyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsSetPageDirtyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsSetPageDirtyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -124924,7 +124440,7 @@ class F2fsSetPageDirtyFtraceEvent : public ::protozero::Message { } }; -class F2fsReserveNewBlockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsReserveNewBlockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsReserveNewBlockFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsReserveNewBlockFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125003,7 +124519,7 @@ class F2fsReserveNewBlockFtraceEvent : public ::protozero::Message { } }; -class F2fsReadpageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsReadpageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsReadpageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsReadpageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125187,7 +124703,7 @@ class F2fsReadpageFtraceEvent : public ::protozero::Message { } }; -class F2fsNewInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsNewInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsNewInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsNewInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125266,7 +124782,7 @@ class F2fsNewInodeFtraceEvent : public ::protozero::Message { } }; -class F2fsIgetExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsIgetExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsIgetExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsIgetExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125345,7 +124861,7 @@ class F2fsIgetExitFtraceEvent : public ::protozero::Message { } }; -class F2fsIgetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsIgetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsIgetFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsIgetFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125529,7 +125045,7 @@ class F2fsIgetFtraceEvent : public ::protozero::Message { } }; -class F2fsGetVictimFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsGetVictimFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsGetVictimFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsGetVictimFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125776,7 +125292,7 @@ class F2fsGetVictimFtraceEvent : public ::protozero::Message { } }; -class F2fsGetDataBlockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsGetDataBlockFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsGetDataBlockFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsGetDataBlockFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -125918,7 +125434,7 @@ class F2fsGetDataBlockFtraceEvent : public ::protozero::Message { } }; -class F2fsFallocateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsFallocateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsFallocateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsFallocateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126102,7 +125618,7 @@ class F2fsFallocateFtraceEvent : public ::protozero::Message { } }; -class F2fsEvictInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsEvictInodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsEvictInodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsEvictInodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126286,7 +125802,7 @@ class F2fsEvictInodeFtraceEvent : public ::protozero::Message { } }; -class F2fsDoSubmitBioFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class F2fsDoSubmitBioFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: F2fsDoSubmitBioFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit F2fsDoSubmitBioFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126431,7 +125947,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class FastrpcDmaMapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FastrpcDmaMapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FastrpcDmaMapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FastrpcDmaMapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126594,7 +126110,7 @@ class FastrpcDmaMapFtraceEvent : public ::protozero::Message { } }; -class FastrpcDmaUnmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FastrpcDmaUnmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FastrpcDmaUnmapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FastrpcDmaUnmapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126673,7 +126189,7 @@ class FastrpcDmaUnmapFtraceEvent : public ::protozero::Message { } }; -class FastrpcDmaAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FastrpcDmaAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FastrpcDmaAllocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FastrpcDmaAllocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126794,7 +126310,7 @@ class FastrpcDmaAllocFtraceEvent : public ::protozero::Message { } }; -class FastrpcDmaFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FastrpcDmaFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FastrpcDmaFreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FastrpcDmaFreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126873,7 +126389,7 @@ class FastrpcDmaFreeFtraceEvent : public ::protozero::Message { } }; -class FastrpcDmaStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FastrpcDmaStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FastrpcDmaStatFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FastrpcDmaStatFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -126976,7 +126492,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class FenceSignaledFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FenceSignaledFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FenceSignaledFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FenceSignaledFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127088,7 +126604,7 @@ class FenceSignaledFtraceEvent : public ::protozero::Message { } }; -class FenceEnableSignalFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FenceEnableSignalFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FenceEnableSignalFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FenceEnableSignalFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127200,7 +126716,7 @@ class FenceEnableSignalFtraceEvent : public ::protozero::Message { } }; -class FenceDestroyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FenceDestroyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FenceDestroyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FenceDestroyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127312,7 +126828,7 @@ class FenceDestroyFtraceEvent : public ::protozero::Message { } }; -class FenceInitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FenceInitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FenceInitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FenceInitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127448,7 +126964,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class MmFilemapDeleteFromPageCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmFilemapDeleteFromPageCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmFilemapDeleteFromPageCacheFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmFilemapDeleteFromPageCacheFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127569,7 +127085,7 @@ class MmFilemapDeleteFromPageCacheFtraceEvent : public ::protozero::Message { } }; -class MmFilemapAddToPageCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmFilemapAddToPageCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmFilemapAddToPageCacheFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmFilemapAddToPageCacheFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127714,7 +127230,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class OpenExecFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class OpenExecFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: OpenExecFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit OpenExecFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127757,7 +127273,7 @@ class OpenExecFtraceEvent : public ::protozero::Message { } }; -class DoSysOpenFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DoSysOpenFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DoSysOpenFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DoSysOpenFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127866,7 +127382,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class FuncgraphExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FuncgraphExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FuncgraphExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FuncgraphExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -127987,7 +127503,7 @@ class FuncgraphExitFtraceEvent : public ::protozero::Message { } }; -class FuncgraphEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class FuncgraphEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: FuncgraphEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit FuncgraphEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128045,7 +127561,7 @@ class FuncgraphEntryFtraceEvent : public ::protozero::Message { } }; -class PrintFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PrintFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PrintFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PrintFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128109,163 +127625,6 @@ class PrintFtraceEvent : public ::protozero::Message { } }; -} // Namespace. -} // Namespace. -} // Namespace. -#endif // Include guard. -// gen_amalgamated begin header: gen/protos/perfetto/trace/ftrace/fwtp_ftrace.pbzero.h -// Autogenerated by the ProtoZero compiler plugin. DO NOT EDIT. - -#ifndef PERFETTO_PROTOS_PROTOS_PERFETTO_TRACE_FTRACE_FWTP_FTRACE_PROTO_H_ -#define PERFETTO_PROTOS_PROTOS_PERFETTO_TRACE_FTRACE_FWTP_FTRACE_PROTO_H_ - -#include -#include - -// gen_amalgamated expanded: #include "perfetto/protozero/field_writer.h" -// gen_amalgamated expanded: #include "perfetto/protozero/message.h" -// gen_amalgamated expanded: #include "perfetto/protozero/packed_repeated_fields.h" -// gen_amalgamated expanded: #include "perfetto/protozero/proto_decoder.h" -// gen_amalgamated expanded: #include "perfetto/protozero/proto_utils.h" - - -namespace perfetto { -namespace protos { -namespace pbzero { - -class FwtpPerfettoCounterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { - public: - FwtpPerfettoCounterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} - explicit FwtpPerfettoCounterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} - explicit FwtpPerfettoCounterFtraceEvent_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {} - bool has_timestamp() const { return at<1>().valid(); } - uint64_t timestamp() const { return at<1>().as_uint64(); } - bool has_track_id() const { return at<2>().valid(); } - uint32_t track_id() const { return at<2>().as_uint32(); } - bool has_category() const { return at<3>().valid(); } - ::protozero::ConstChars category() const { return at<3>().as_string(); } - bool has_name() const { return at<4>().valid(); } - ::protozero::ConstChars name() const { return at<4>().as_string(); } - bool has_value() const { return at<5>().valid(); } - uint32_t value() const { return at<5>().as_uint32(); } -}; - -class FwtpPerfettoCounterFtraceEvent : public ::protozero::Message { - public: - using Decoder = FwtpPerfettoCounterFtraceEvent_Decoder; - enum : int32_t { - kTimestampFieldNumber = 1, - kTrackIdFieldNumber = 2, - kCategoryFieldNumber = 3, - kNameFieldNumber = 4, - kValueFieldNumber = 5, - }; - static constexpr const char* GetName() { return ".perfetto.protos.FwtpPerfettoCounterFtraceEvent"; } - - - using FieldMetadata_Timestamp = - ::protozero::proto_utils::FieldMetadata< - 1, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint64, - uint64_t, - FwtpPerfettoCounterFtraceEvent>; - - static constexpr FieldMetadata_Timestamp kTimestamp{}; - void set_timestamp(uint64_t value) { - static constexpr uint32_t field_id = FieldMetadata_Timestamp::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint64> - ::Append(*this, field_id, value); - } - - using FieldMetadata_TrackId = - ::protozero::proto_utils::FieldMetadata< - 2, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint32, - uint32_t, - FwtpPerfettoCounterFtraceEvent>; - - static constexpr FieldMetadata_TrackId kTrackId{}; - void set_track_id(uint32_t value) { - static constexpr uint32_t field_id = FieldMetadata_TrackId::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint32> - ::Append(*this, field_id, value); - } - - using FieldMetadata_Category = - ::protozero::proto_utils::FieldMetadata< - 3, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kString, - std::string, - FwtpPerfettoCounterFtraceEvent>; - - static constexpr FieldMetadata_Category kCategory{}; - void set_category(const char* data, size_t size) { - AppendBytes(FieldMetadata_Category::kFieldId, data, size); - } - void set_category(::protozero::ConstChars chars) { - AppendBytes(FieldMetadata_Category::kFieldId, chars.data, chars.size); - } - void set_category(std::string value) { - static constexpr uint32_t field_id = FieldMetadata_Category::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kString> - ::Append(*this, field_id, value); - } - - using FieldMetadata_Name = - ::protozero::proto_utils::FieldMetadata< - 4, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kString, - std::string, - FwtpPerfettoCounterFtraceEvent>; - - static constexpr FieldMetadata_Name kName{}; - void set_name(const char* data, size_t size) { - AppendBytes(FieldMetadata_Name::kFieldId, data, size); - } - void set_name(::protozero::ConstChars chars) { - AppendBytes(FieldMetadata_Name::kFieldId, chars.data, chars.size); - } - void set_name(std::string value) { - static constexpr uint32_t field_id = FieldMetadata_Name::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kString> - ::Append(*this, field_id, value); - } - - using FieldMetadata_Value = - ::protozero::proto_utils::FieldMetadata< - 5, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint32, - uint32_t, - FwtpPerfettoCounterFtraceEvent>; - - static constexpr FieldMetadata_Value kValue{}; - void set_value(uint32_t value) { - static constexpr uint32_t field_id = FieldMetadata_Value::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint32> - ::Append(*this, field_id, value); - } -}; - } // Namespace. } // Namespace. } // Namespace. @@ -128290,7 +127649,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class G2dTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class G2dTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: G2dTracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit G2dTracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128420,7 +127779,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GoogleIccEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GoogleIccEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GoogleIccEventFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GoogleIccEventFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128508,7 +127867,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GoogleIrmEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GoogleIrmEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GoogleIrmEventFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GoogleIrmEventFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128596,7 +127955,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GpuMemTotalFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GpuMemTotalFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GpuMemTotalFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuMemTotalFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128699,7 +128058,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DrmSchedJobUnschedulableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedJobUnschedulableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedJobUnschedulableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedJobUnschedulableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128799,7 +128158,7 @@ class DrmSchedJobUnschedulableFtraceEvent : public ::protozero::Message { } }; -class DrmSchedJobRunFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedJobRunFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedJobRunFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedJobRunFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -128974,7 +128333,7 @@ class DrmSchedJobRunFtraceEvent : public ::protozero::Message { } }; -class DrmSchedJobQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedJobQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedJobQueueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedJobQueueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129149,7 +128508,7 @@ class DrmSchedJobQueueFtraceEvent : public ::protozero::Message { } }; -class DrmSchedJobDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedJobDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedJobDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedJobDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129207,7 +128566,7 @@ class DrmSchedJobDoneFtraceEvent : public ::protozero::Message { } }; -class DrmSchedJobAddDepFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedJobAddDepFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedJobAddDepFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedJobAddDepFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129307,7 +128666,7 @@ class DrmSchedJobAddDepFtraceEvent : public ::protozero::Message { } }; -class DrmSchedProcessJobFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedProcessJobFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedProcessJobFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedProcessJobFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129344,7 +128703,7 @@ class DrmSchedProcessJobFtraceEvent : public ::protozero::Message { } }; -class DrmRunJobFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmRunJobFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmRunJobFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmRunJobFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129492,7 +128851,7 @@ class DrmRunJobFtraceEvent : public ::protozero::Message { } }; -class DrmSchedJobFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DrmSchedJobFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DrmSchedJobFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DrmSchedJobFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129664,7 +129023,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PsciMemProtectFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PsciMemProtectFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PsciMemProtectFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PsciMemProtectFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129722,7 +129081,7 @@ class PsciMemProtectFtraceEvent : public ::protozero::Message { } }; -class IommuIdmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IommuIdmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IommuIdmapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IommuIdmapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129801,7 +129160,7 @@ class IommuIdmapFtraceEvent : public ::protozero::Message { } }; -class HostFfaCallFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HostFfaCallFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HostFfaCallFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HostFfaCallFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -129964,7 +129323,7 @@ class HostFfaCallFtraceEvent : public ::protozero::Message { } }; -class HostMemAbortFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HostMemAbortFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HostMemAbortFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HostMemAbortFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130022,7 +129381,7 @@ class HostMemAbortFtraceEvent : public ::protozero::Message { } }; -class HostSmcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HostSmcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HostSmcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HostSmcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130080,7 +129439,7 @@ class HostSmcFtraceEvent : public ::protozero::Message { } }; -class HostHcallFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HostHcallFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HostHcallFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HostHcallFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130138,7 +129497,7 @@ class HostHcallFtraceEvent : public ::protozero::Message { } }; -class HypExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130152,7 +129511,7 @@ class HypExitFtraceEvent : public ::protozero::Message { }; -class HypEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130190,7 +129549,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class HypervisorVcpuIllegalTrapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorVcpuIllegalTrapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorVcpuIllegalTrapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorVcpuIllegalTrapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130227,7 +129586,7 @@ class HypervisorVcpuIllegalTrapFtraceEvent : public ::protozero::Message { } }; -class HypervisorIommuIdmapCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorIommuIdmapCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorIommuIdmapCompleteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorIommuIdmapCompleteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130264,7 +129623,7 @@ class HypervisorIommuIdmapCompleteFtraceEvent : public ::protozero::Message { } }; -class HypervisorHypEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorHypEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorHypEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorHypEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130278,7 +129637,7 @@ class HypervisorHypEnterFtraceEvent : public ::protozero::Message { }; -class HypervisorHostMemAbortFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorHostMemAbortFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorHostMemAbortFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorHostMemAbortFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130336,7 +129695,7 @@ class HypervisorHostMemAbortFtraceEvent : public ::protozero::Message { } }; -class HypervisorPsciMemProtectFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorPsciMemProtectFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorPsciMemProtectFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorPsciMemProtectFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130394,7 +129753,7 @@ class HypervisorPsciMemProtectFtraceEvent : public ::protozero::Message { } }; -class HypervisorIommuIdmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorIommuIdmapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorIommuIdmapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorIommuIdmapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130473,7 +129832,7 @@ class HypervisorIommuIdmapFtraceEvent : public ::protozero::Message { } }; -class HypervisorHypExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorHypExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorHypExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorHypExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130487,7 +129846,7 @@ class HypervisorHypExitFtraceEvent : public ::protozero::Message { }; -class HypervisorHostSmcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorHostSmcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorHostSmcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorHostSmcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130545,7 +129904,7 @@ class HypervisorHostSmcFtraceEvent : public ::protozero::Message { } }; -class HypervisorHostHcallFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HypervisorHostHcallFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HypervisorHostHcallFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HypervisorHostHcallFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130627,7 +129986,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SmbusReplyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SmbusReplyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SmbusReplyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SmbusReplyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130769,7 +130128,7 @@ class SmbusReplyFtraceEvent : public ::protozero::Message { } }; -class SmbusResultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SmbusResultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SmbusResultFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SmbusResultFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -130932,7 +130291,7 @@ class SmbusResultFtraceEvent : public ::protozero::Message { } }; -class SmbusWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SmbusWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SmbusWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SmbusWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131074,7 +130433,7 @@ class SmbusWriteFtraceEvent : public ::protozero::Message { } }; -class SmbusReadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SmbusReadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SmbusReadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SmbusReadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131195,7 +130554,7 @@ class SmbusReadFtraceEvent : public ::protozero::Message { } }; -class I2cReplyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class I2cReplyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: I2cReplyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit I2cReplyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131337,7 +130696,7 @@ class I2cReplyFtraceEvent : public ::protozero::Message { } }; -class I2cResultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class I2cResultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: I2cResultFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit I2cResultFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131416,7 +130775,7 @@ class I2cResultFtraceEvent : public ::protozero::Message { } }; -class I2cWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class I2cWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: I2cWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit I2cWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131558,7 +130917,7 @@ class I2cWriteFtraceEvent : public ::protozero::Message { } }; -class I2cReadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class I2cReadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: I2cReadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit I2cReadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131703,7 +131062,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class IonStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonStatFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonStatFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131806,7 +131165,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class IpiRaiseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IpiRaiseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IpiRaiseFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IpiRaiseFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131870,7 +131229,7 @@ class IpiRaiseFtraceEvent : public ::protozero::Message { } }; -class IpiExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IpiExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IpiExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IpiExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131913,7 +131272,7 @@ class IpiExitFtraceEvent : public ::protozero::Message { } }; -class IpiEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IpiEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IpiEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IpiEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -131980,7 +131339,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class IrqHandlerExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IrqHandlerExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IrqHandlerExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IrqHandlerExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132038,7 +131397,7 @@ class IrqHandlerExitFtraceEvent : public ::protozero::Message { } }; -class IrqHandlerEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IrqHandlerEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IrqHandlerEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IrqHandlerEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132123,7 +131482,7 @@ class IrqHandlerEntryFtraceEvent : public ::protozero::Message { } }; -class SoftirqRaiseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SoftirqRaiseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SoftirqRaiseFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SoftirqRaiseFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132160,7 +131519,7 @@ class SoftirqRaiseFtraceEvent : public ::protozero::Message { } }; -class SoftirqExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SoftirqExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SoftirqExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SoftirqExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132197,7 +131556,7 @@ class SoftirqExitFtraceEvent : public ::protozero::Message { } }; -class SoftirqEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SoftirqEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SoftirqEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SoftirqEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132258,7 +131617,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class LocalTimerExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class LocalTimerExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: LocalTimerExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LocalTimerExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132295,7 +131654,7 @@ class LocalTimerExitFtraceEvent : public ::protozero::Message { } }; -class LocalTimerEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class LocalTimerEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: LocalTimerEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LocalTimerEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132356,7 +131715,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class KgslAdrenoCmdbatchRetiredFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KgslAdrenoCmdbatchRetiredFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KgslAdrenoCmdbatchRetiredFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KgslAdrenoCmdbatchRetiredFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132729,7 +132088,7 @@ class KgslAdrenoCmdbatchRetiredFtraceEvent : public ::protozero::Message { } }; -class KgslAdrenoCmdbatchSyncFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KgslAdrenoCmdbatchSyncFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KgslAdrenoCmdbatchSyncFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KgslAdrenoCmdbatchSyncFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -132829,7 +132188,7 @@ class KgslAdrenoCmdbatchSyncFtraceEvent : public ::protozero::Message { } }; -class KgslAdrenoCmdbatchSubmittedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KgslAdrenoCmdbatchSubmittedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KgslAdrenoCmdbatchSubmittedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KgslAdrenoCmdbatchSubmittedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133118,7 +132477,7 @@ class KgslAdrenoCmdbatchSubmittedFtraceEvent : public ::protozero::Message { } }; -class KgslAdrenoCmdbatchQueuedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KgslAdrenoCmdbatchQueuedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KgslAdrenoCmdbatchQueuedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KgslAdrenoCmdbatchQueuedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133239,7 +132598,7 @@ class KgslAdrenoCmdbatchQueuedFtraceEvent : public ::protozero::Message { } }; -class KgslGpuFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KgslGpuFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KgslGpuFrequencyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KgslGpuFrequencyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133321,7 +132680,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DmabufRssStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmabufRssStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmabufRssStatFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmabufRssStatFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133400,7 +132759,7 @@ class DmabufRssStatFtraceEvent : public ::protozero::Message { } }; -class MmAllocContigMigrateRangeInfoFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmAllocContigMigrateRangeInfoFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmAllocContigMigrateRangeInfoFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmAllocContigMigrateRangeInfoFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133542,7 +132901,7 @@ class MmAllocContigMigrateRangeInfoFtraceEvent : public ::protozero::Message { } }; -class IonBufferDestroyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonBufferDestroyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonBufferDestroyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonBufferDestroyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133600,7 +132959,7 @@ class IonBufferDestroyFtraceEvent : public ::protozero::Message { } }; -class IonBufferCreateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonBufferCreateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonBufferCreateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonBufferCreateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133658,7 +133017,7 @@ class IonBufferCreateFtraceEvent : public ::protozero::Message { } }; -class IonHeapGrowFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonHeapGrowFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonHeapGrowFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonHeapGrowFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133743,7 +133102,7 @@ class IonHeapGrowFtraceEvent : public ::protozero::Message { } }; -class IonHeapShrinkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonHeapShrinkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonHeapShrinkFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonHeapShrinkFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133828,7 +133187,7 @@ class IonHeapShrinkFtraceEvent : public ::protozero::Message { } }; -class RssStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RssStatFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RssStatFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RssStatFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -133928,7 +133287,7 @@ class RssStatFtraceEvent : public ::protozero::Message { } }; -class MmPagePcpuDrainFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmPagePcpuDrainFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmPagePcpuDrainFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmPagePcpuDrainFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134028,7 +133387,7 @@ class MmPagePcpuDrainFtraceEvent : public ::protozero::Message { } }; -class MmPageFreeBatchedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmPageFreeBatchedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmPageFreeBatchedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmPageFreeBatchedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134107,7 +133466,7 @@ class MmPageFreeBatchedFtraceEvent : public ::protozero::Message { } }; -class MmPageFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmPageFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmPageFreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmPageFreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134186,7 +133545,7 @@ class MmPageFreeFtraceEvent : public ::protozero::Message { } }; -class MmPageAllocZoneLockedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmPageAllocZoneLockedFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmPageAllocZoneLockedFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmPageAllocZoneLockedFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134286,7 +133645,7 @@ class MmPageAllocZoneLockedFtraceEvent : public ::protozero::Message { } }; -class MmPageAllocExtfragFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmPageAllocExtfragFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmPageAllocExtfragFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmPageAllocExtfragFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134449,7 +133808,7 @@ class MmPageAllocExtfragFtraceEvent : public ::protozero::Message { } }; -class MmPageAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmPageAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmPageAllocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmPageAllocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134570,7 +133929,7 @@ class MmPageAllocFtraceEvent : public ::protozero::Message { } }; -class MigrateRetryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MigrateRetryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MigrateRetryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MigrateRetryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134607,7 +133966,7 @@ class MigrateRetryFtraceEvent : public ::protozero::Message { } }; -class MigratePagesStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MigratePagesStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MigratePagesStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MigratePagesStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134644,7 +134003,7 @@ class MigratePagesStartFtraceEvent : public ::protozero::Message { } }; -class MigratePagesEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MigratePagesEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MigratePagesEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MigratePagesEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134681,7 +134040,7 @@ class MigratePagesEndFtraceEvent : public ::protozero::Message { } }; -class KmemCacheFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KmemCacheFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KmemCacheFreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KmemCacheFreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134739,7 +134098,7 @@ class KmemCacheFreeFtraceEvent : public ::protozero::Message { } }; -class KmemCacheAllocNodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KmemCacheAllocNodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KmemCacheAllocNodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KmemCacheAllocNodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -134881,7 +134240,7 @@ class KmemCacheAllocNodeFtraceEvent : public ::protozero::Message { } }; -class KmemCacheAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KmemCacheAllocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KmemCacheAllocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KmemCacheAllocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135002,7 +134361,7 @@ class KmemCacheAllocFtraceEvent : public ::protozero::Message { } }; -class KmallocNodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KmallocNodeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KmallocNodeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KmallocNodeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135144,7 +134503,7 @@ class KmallocNodeFtraceEvent : public ::protozero::Message { } }; -class KmallocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KmallocFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KmallocFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KmallocFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135265,7 +134624,7 @@ class KmallocFtraceEvent : public ::protozero::Message { } }; -class KfreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KfreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KfreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KfreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135323,7 +134682,7 @@ class KfreeFtraceEvent : public ::protozero::Message { } }; -class IonSecureCmaShrinkPoolStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonSecureCmaShrinkPoolStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonSecureCmaShrinkPoolStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonSecureCmaShrinkPoolStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135381,7 +134740,7 @@ class IonSecureCmaShrinkPoolStartFtraceEvent : public ::protozero::Message { } }; -class IonSecureCmaShrinkPoolEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonSecureCmaShrinkPoolEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonSecureCmaShrinkPoolEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonSecureCmaShrinkPoolEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135439,7 +134798,7 @@ class IonSecureCmaShrinkPoolEndFtraceEvent : public ::protozero::Message { } }; -class IonSecureCmaAllocateStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonSecureCmaAllocateStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonSecureCmaAllocateStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonSecureCmaAllocateStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135545,7 +134904,7 @@ class IonSecureCmaAllocateStartFtraceEvent : public ::protozero::Message { } }; -class IonSecureCmaAllocateEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonSecureCmaAllocateEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonSecureCmaAllocateEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonSecureCmaAllocateEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135651,7 +135010,7 @@ class IonSecureCmaAllocateEndFtraceEvent : public ::protozero::Message { } }; -class IonSecureCmaAddToPoolStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonSecureCmaAddToPoolStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonSecureCmaAddToPoolStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonSecureCmaAddToPoolStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135730,7 +135089,7 @@ class IonSecureCmaAddToPoolStartFtraceEvent : public ::protozero::Message { } }; -class IonSecureCmaAddToPoolEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonSecureCmaAddToPoolEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonSecureCmaAddToPoolEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonSecureCmaAddToPoolEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135809,7 +135168,7 @@ class IonSecureCmaAddToPoolEndFtraceEvent : public ::protozero::Message { } }; -class IonPrefetchingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonPrefetchingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonPrefetchingFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonPrefetchingFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135846,7 +135205,7 @@ class IonPrefetchingFtraceEvent : public ::protozero::Message { } }; -class IonCpSecureBufferStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonCpSecureBufferStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonCpSecureBufferStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonCpSecureBufferStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -135952,7 +135311,7 @@ class IonCpSecureBufferStartFtraceEvent : public ::protozero::Message { } }; -class IonCpSecureBufferEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonCpSecureBufferEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonCpSecureBufferEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonCpSecureBufferEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136058,7 +135417,7 @@ class IonCpSecureBufferEndFtraceEvent : public ::protozero::Message { } }; -class IonCpAllocRetryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonCpAllocRetryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonCpAllocRetryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonCpAllocRetryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136095,7 +135454,7 @@ class IonCpAllocRetryFtraceEvent : public ::protozero::Message { } }; -class IonAllocBufferStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonAllocBufferStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonAllocBufferStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonAllocBufferStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136228,7 +135587,7 @@ class IonAllocBufferStartFtraceEvent : public ::protozero::Message { } }; -class IonAllocBufferFallbackFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonAllocBufferFallbackFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonAllocBufferFallbackFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonAllocBufferFallbackFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136382,7 +135741,7 @@ class IonAllocBufferFallbackFtraceEvent : public ::protozero::Message { } }; -class IonAllocBufferFailFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonAllocBufferFailFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonAllocBufferFailFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonAllocBufferFailFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136536,7 +135895,7 @@ class IonAllocBufferFailFtraceEvent : public ::protozero::Message { } }; -class IonAllocBufferEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IonAllocBufferEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IonAllocBufferEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IonAllocBufferEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136669,7 +136028,7 @@ class IonAllocBufferEndFtraceEvent : public ::protozero::Message { } }; -class IommuSecPtblMapRangeStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IommuSecPtblMapRangeStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IommuSecPtblMapRangeStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IommuSecPtblMapRangeStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136790,7 +136149,7 @@ class IommuSecPtblMapRangeStartFtraceEvent : public ::protozero::Message { } }; -class IommuSecPtblMapRangeEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IommuSecPtblMapRangeEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IommuSecPtblMapRangeEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IommuSecPtblMapRangeEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -136911,7 +136270,7 @@ class IommuSecPtblMapRangeEndFtraceEvent : public ::protozero::Message { } }; -class IommuMapRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class IommuMapRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: IommuMapRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit IommuMapRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137011,7 +136370,7 @@ class IommuMapRangeFtraceEvent : public ::protozero::Message { } }; -class DmaAllocContiguousRetryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DmaAllocContiguousRetryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DmaAllocContiguousRetryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DmaAllocContiguousRetryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137048,7 +136407,7 @@ class DmaAllocContiguousRetryFtraceEvent : public ::protozero::Message { } }; -class AllocPagesSysStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AllocPagesSysStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AllocPagesSysStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AllocPagesSysStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137106,7 +136465,7 @@ class AllocPagesSysStartFtraceEvent : public ::protozero::Message { } }; -class AllocPagesSysFailFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AllocPagesSysFailFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AllocPagesSysFailFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AllocPagesSysFailFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137164,7 +136523,7 @@ class AllocPagesSysFailFtraceEvent : public ::protozero::Message { } }; -class AllocPagesSysEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AllocPagesSysEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AllocPagesSysEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AllocPagesSysEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137222,7 +136581,7 @@ class AllocPagesSysEndFtraceEvent : public ::protozero::Message { } }; -class AllocPagesIommuStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AllocPagesIommuStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AllocPagesIommuStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AllocPagesIommuStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137280,7 +136639,7 @@ class AllocPagesIommuStartFtraceEvent : public ::protozero::Message { } }; -class AllocPagesIommuFailFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AllocPagesIommuFailFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AllocPagesIommuFailFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AllocPagesIommuFailFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137338,7 +136697,7 @@ class AllocPagesIommuFailFtraceEvent : public ::protozero::Message { } }; -class AllocPagesIommuEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class AllocPagesIommuEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: AllocPagesIommuEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AllocPagesIommuEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137420,7 +136779,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class VgicUpdateIrqPendingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VgicUpdateIrqPendingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VgicUpdateIrqPendingFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VgicUpdateIrqPendingFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137499,7 +136858,7 @@ class VgicUpdateIrqPendingFtraceEvent : public ::protozero::Message { } }; -class TrapRegFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrapRegFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrapRegFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrapRegFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137605,7 +136964,7 @@ class TrapRegFtraceEvent : public ::protozero::Message { } }; -class KvmWfxArm64FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmWfxArm64FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmWfxArm64FtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmWfxArm64FtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137663,7 +137022,7 @@ class KvmWfxArm64FtraceEvent : public ::protozero::Message { } }; -class KvmVcpuWakeupFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmVcpuWakeupFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmVcpuWakeupFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmVcpuWakeupFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137742,7 +137101,7 @@ class KvmVcpuWakeupFtraceEvent : public ::protozero::Message { } }; -class KvmUserspaceExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmUserspaceExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmUserspaceExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmUserspaceExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137779,7 +137138,7 @@ class KvmUserspaceExitFtraceEvent : public ::protozero::Message { } }; -class KvmUnmapHvaRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmUnmapHvaRangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmUnmapHvaRangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmUnmapHvaRangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137837,7 +137196,7 @@ class KvmUnmapHvaRangeFtraceEvent : public ::protozero::Message { } }; -class KvmToggleCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmToggleCacheFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmToggleCacheFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmToggleCacheFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137916,7 +137275,7 @@ class KvmToggleCacheFtraceEvent : public ::protozero::Message { } }; -class KvmTimerUpdateIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmTimerUpdateIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmTimerUpdateIrqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmTimerUpdateIrqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -137995,7 +137354,7 @@ class KvmTimerUpdateIrqFtraceEvent : public ::protozero::Message { } }; -class KvmTimerSaveStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmTimerSaveStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmTimerSaveStateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmTimerSaveStateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138074,7 +137433,7 @@ class KvmTimerSaveStateFtraceEvent : public ::protozero::Message { } }; -class KvmTimerRestoreStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmTimerRestoreStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmTimerRestoreStateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmTimerRestoreStateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138153,7 +137512,7 @@ class KvmTimerRestoreStateFtraceEvent : public ::protozero::Message { } }; -class KvmTimerHrtimerExpireFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmTimerHrtimerExpireFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmTimerHrtimerExpireFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmTimerHrtimerExpireFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138190,7 +137549,7 @@ class KvmTimerHrtimerExpireFtraceEvent : public ::protozero::Message { } }; -class KvmTimerEmulateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmTimerEmulateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmTimerEmulateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmTimerEmulateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138248,7 +137607,7 @@ class KvmTimerEmulateFtraceEvent : public ::protozero::Message { } }; -class KvmTestAgeHvaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmTestAgeHvaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmTestAgeHvaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmTestAgeHvaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138285,7 +137644,7 @@ class KvmTestAgeHvaFtraceEvent : public ::protozero::Message { } }; -class KvmSysAccessFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmSysAccessFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmSysAccessFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmSysAccessFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138475,7 +137834,7 @@ class KvmSysAccessFtraceEvent : public ::protozero::Message { } }; -class KvmSetWayFlushFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmSetWayFlushFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmSetWayFlushFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmSetWayFlushFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138533,7 +137892,7 @@ class KvmSetWayFlushFtraceEvent : public ::protozero::Message { } }; -class KvmSetSpteHvaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmSetSpteHvaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmSetSpteHvaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmSetSpteHvaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138570,7 +137929,7 @@ class KvmSetSpteHvaFtraceEvent : public ::protozero::Message { } }; -class KvmSetIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmSetIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmSetIrqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmSetIrqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138649,7 +138008,7 @@ class KvmSetIrqFtraceEvent : public ::protozero::Message { } }; -class KvmSetGuestDebugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmSetGuestDebugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmSetGuestDebugFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmSetGuestDebugFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138707,7 +138066,7 @@ class KvmSetGuestDebugFtraceEvent : public ::protozero::Message { } }; -class KvmMmioEmulateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmMmioEmulateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmMmioEmulateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmMmioEmulateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138786,7 +138145,7 @@ class KvmMmioEmulateFtraceEvent : public ::protozero::Message { } }; -class KvmMmioFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmMmioFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmMmioFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmMmioFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138886,7 +138245,7 @@ class KvmMmioFtraceEvent : public ::protozero::Message { } }; -class KvmIrqLineFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmIrqLineFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmIrqLineFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmIrqLineFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -138986,7 +138345,7 @@ class KvmIrqLineFtraceEvent : public ::protozero::Message { } }; -class KvmHvcArm64FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmHvcArm64FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmHvcArm64FtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmHvcArm64FtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139065,7 +138424,7 @@ class KvmHvcArm64FtraceEvent : public ::protozero::Message { } }; -class KvmHandleSysRegFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmHandleSysRegFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmHandleSysRegFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmHandleSysRegFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139102,7 +138461,7 @@ class KvmHandleSysRegFtraceEvent : public ::protozero::Message { } }; -class KvmGuestFaultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmGuestFaultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmGuestFaultFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmGuestFaultFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139202,7 +138561,7 @@ class KvmGuestFaultFtraceEvent : public ::protozero::Message { } }; -class KvmGetTimerMapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmGetTimerMapFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmGetTimerMapFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmGetTimerMapFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139302,7 +138661,7 @@ class KvmGetTimerMapFtraceEvent : public ::protozero::Message { } }; -class KvmFpuFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmFpuFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmFpuFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmFpuFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139339,7 +138698,7 @@ class KvmFpuFtraceEvent : public ::protozero::Message { } }; -class KvmExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139418,7 +138777,7 @@ class KvmExitFtraceEvent : public ::protozero::Message { } }; -class KvmEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139455,7 +138814,7 @@ class KvmEntryFtraceEvent : public ::protozero::Message { } }; -class KvmArmSetupDebugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmArmSetupDebugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmArmSetupDebugFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmArmSetupDebugFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139513,7 +138872,7 @@ class KvmArmSetupDebugFtraceEvent : public ::protozero::Message { } }; -class KvmArmSetRegsetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmArmSetRegsetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmArmSetRegsetFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmArmSetRegsetFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139577,7 +138936,7 @@ class KvmArmSetRegsetFtraceEvent : public ::protozero::Message { } }; -class KvmArmSetDreg32FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmArmSetDreg32FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmArmSetDreg32FtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmArmSetDreg32FtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139641,7 +139000,7 @@ class KvmArmSetDreg32FtraceEvent : public ::protozero::Message { } }; -class KvmArmClearDebugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmArmClearDebugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmArmClearDebugFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmArmClearDebugFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139678,7 +139037,7 @@ class KvmArmClearDebugFtraceEvent : public ::protozero::Message { } }; -class KvmAgePageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmAgePageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmAgePageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmAgePageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139778,7 +139137,7 @@ class KvmAgePageFtraceEvent : public ::protozero::Message { } }; -class KvmAgeHvaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmAgeHvaFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmAgeHvaFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmAgeHvaFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139836,7 +139195,7 @@ class KvmAgeHvaFtraceEvent : public ::protozero::Message { } }; -class KvmAckIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmAckIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmAckIrqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmAckIrqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139894,7 +139253,7 @@ class KvmAckIrqFtraceEvent : public ::protozero::Message { } }; -class KvmAccessFaultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KvmAccessFaultFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KvmAccessFaultFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KvmAccessFaultFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -139955,7 +139314,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class LowmemoryKillFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class LowmemoryKillFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: LowmemoryKillFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LowmemoryKillFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140106,7 +139465,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class LwisTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class LwisTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: LwisTracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LwisTracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140263,7 +139622,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class MaliGpuPowerStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliGpuPowerStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliGpuPowerStateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliGpuPowerStateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140342,7 +139701,7 @@ class MaliGpuPowerStateFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCURESETWAITFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCURESETWAITFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCURESETWAITFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCURESETWAITFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140421,7 +139780,7 @@ class MaliMaliPMMCURESETWAITFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUPOWERDOWNFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUPOWERDOWNFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUPOWERDOWNFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUPOWERDOWNFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140500,7 +139859,7 @@ class MaliMaliPMMCUPOWERDOWNFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUPENDONRELOADFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUPENDONRELOADFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUPENDONRELOADFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUPENDONRELOADFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140579,7 +139938,7 @@ class MaliMaliPMMCUPENDONRELOADFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUPENDOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUPENDOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUPENDOFFFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUPENDOFFFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140658,7 +140017,7 @@ class MaliMaliPMMCUPENDOFFFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONSLEEPINITIATEFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONSLEEPINITIATEFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONSLEEPINITIATEFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONSLEEPINITIATEFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140737,7 +140096,7 @@ class MaliMaliPMMCUONSLEEPINITIATEFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONPENDSLEEPFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONPENDSLEEPFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONPENDSLEEPFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONPENDSLEEPFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140816,7 +140175,7 @@ class MaliMaliPMMCUONPENDSLEEPFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONPENDHALTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONPENDHALTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONPENDHALTFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONPENDHALTFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140895,7 +140254,7 @@ class MaliMaliPMMCUONPENDHALTFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONHWCNTENABLEFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONHWCNTENABLEFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONHWCNTENABLEFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONHWCNTENABLEFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -140974,7 +140333,7 @@ class MaliMaliPMMCUONHWCNTENABLEFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONHWCNTDISABLEFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONHWCNTDISABLEFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONHWCNTDISABLEFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONHWCNTDISABLEFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141053,7 +140412,7 @@ class MaliMaliPMMCUONHWCNTDISABLEFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONHALTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONHALTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONHALTFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONHALTFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141132,7 +140491,7 @@ class MaliMaliPMMCUONHALTFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONGLBREINITPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONGLBREINITPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONGLBREINITPENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONGLBREINITPENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141211,7 +140570,7 @@ class MaliMaliPMMCUONGLBREINITPENDFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUONCOREATTRUPDATEPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONCOREATTRUPDATEPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONCOREATTRUPDATEPENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONCOREATTRUPDATEPENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141290,7 +140649,7 @@ class MaliMaliPMMCUONCOREATTRUPDATEPENDFtraceEvent : public ::protozero::Message } }; -class MaliMaliPMMCUONFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUONFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUONFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUONFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141369,7 +140728,7 @@ class MaliMaliPMMCUONFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUOFFFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUOFFFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141448,7 +140807,7 @@ class MaliMaliPMMCUOFFFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUINSLEEPFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUINSLEEPFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUINSLEEPFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUINSLEEPFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141527,7 +140886,7 @@ class MaliMaliPMMCUINSLEEPFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUHCTLSHADERSREADYOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLSHADERSREADYOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLSHADERSREADYOFFFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLSHADERSREADYOFFFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141606,7 +140965,7 @@ class MaliMaliPMMCUHCTLSHADERSREADYOFFFtraceEvent : public ::protozero::Message } }; -class MaliMaliPMMCUHCTLSHADERSPENDONFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLSHADERSPENDONFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLSHADERSPENDONFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLSHADERSPENDONFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141685,7 +141044,7 @@ class MaliMaliPMMCUHCTLSHADERSPENDONFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUHCTLSHADERSPENDOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLSHADERSPENDOFFFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLSHADERSPENDOFFFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLSHADERSPENDOFFFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141764,7 +141123,7 @@ class MaliMaliPMMCUHCTLSHADERSPENDOFFFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUHCTLSHADERSCOREOFFPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLSHADERSCOREOFFPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLSHADERSCOREOFFPENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLSHADERSCOREOFFPENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141843,7 +141202,7 @@ class MaliMaliPMMCUHCTLSHADERSCOREOFFPENDFtraceEvent : public ::protozero::Messa } }; -class MaliMaliPMMCUHCTLMCUONRECHECKFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLMCUONRECHECKFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLMCUONRECHECKFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLMCUONRECHECKFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -141922,7 +141281,7 @@ class MaliMaliPMMCUHCTLMCUONRECHECKFtraceEvent : public ::protozero::Message { } }; -class MaliMaliPMMCUHCTLCOREINACTIVEPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLCOREINACTIVEPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLCOREINACTIVEPENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLCOREINACTIVEPENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142001,7 +141360,7 @@ class MaliMaliPMMCUHCTLCOREINACTIVEPENDFtraceEvent : public ::protozero::Message } }; -class MaliMaliPMMCUHCTLCORESNOTIFYPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLCORESNOTIFYPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLCORESNOTIFYPENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLCORESNOTIFYPENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142080,7 +141439,7 @@ class MaliMaliPMMCUHCTLCORESNOTIFYPENDFtraceEvent : public ::protozero::Message } }; -class MaliMaliPMMCUHCTLCORESDOWNSCALENOTIFYPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliPMMCUHCTLCORESDOWNSCALENOTIFYPENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliPMMCUHCTLCORESDOWNSCALENOTIFYPENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliPMMCUHCTLCORESDOWNSCALENOTIFYPENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142159,7 +141518,7 @@ class MaliMaliPMMCUHCTLCORESDOWNSCALENOTIFYPENDFtraceEvent : public ::protozero: } }; -class MaliMaliCSFINTERRUPTENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliCSFINTERRUPTENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliCSFINTERRUPTENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliCSFINTERRUPTENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142238,7 +141597,7 @@ class MaliMaliCSFINTERRUPTENDFtraceEvent : public ::protozero::Message { } }; -class MaliMaliCSFINTERRUPTSTARTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliCSFINTERRUPTSTARTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliCSFINTERRUPTSTARTFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliCSFINTERRUPTSTARTFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142317,7 +141676,7 @@ class MaliMaliCSFINTERRUPTSTARTFtraceEvent : public ::protozero::Message { } }; -class MaliMaliKCPUFENCEWAITENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliKCPUFENCEWAITENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliKCPUFENCEWAITENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliKCPUFENCEWAITENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142438,7 +141797,7 @@ class MaliMaliKCPUFENCEWAITENDFtraceEvent : public ::protozero::Message { } }; -class MaliMaliKCPUFENCEWAITSTARTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliKCPUFENCEWAITSTARTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliKCPUFENCEWAITSTARTFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliKCPUFENCEWAITSTARTFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142559,7 +141918,7 @@ class MaliMaliKCPUFENCEWAITSTARTFtraceEvent : public ::protozero::Message { } }; -class MaliMaliKCPUFENCESIGNALFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliKCPUFENCESIGNALFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliKCPUFENCESIGNALFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliKCPUFENCESIGNALFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142680,7 +142039,7 @@ class MaliMaliKCPUFENCESIGNALFtraceEvent : public ::protozero::Message { } }; -class MaliMaliKCPUCQSWAITENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliKCPUCQSWAITENDFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliKCPUCQSWAITENDFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliKCPUCQSWAITENDFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142801,7 +142160,7 @@ class MaliMaliKCPUCQSWAITENDFtraceEvent : public ::protozero::Message { } }; -class MaliMaliKCPUCQSWAITSTARTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliKCPUCQSWAITSTARTFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliKCPUCQSWAITSTARTFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliKCPUCQSWAITSTARTFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -142922,7 +142281,7 @@ class MaliMaliKCPUCQSWAITSTARTFtraceEvent : public ::protozero::Message { } }; -class MaliMaliKCPUCQSSETFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliMaliKCPUCQSSETFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliMaliKCPUCQSSETFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliMaliKCPUCQSSETFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143043,7 +142402,7 @@ class MaliMaliKCPUCQSSETFtraceEvent : public ::protozero::Message { } }; -class MaliTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MaliTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MaliTracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MaliTracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143173,7 +142532,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class RotatorBwAoAsContextFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RotatorBwAoAsContextFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RotatorBwAoAsContextFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RotatorBwAoAsContextFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143210,7 +142569,7 @@ class RotatorBwAoAsContextFtraceEvent : public ::protozero::Message { } }; -class MdpPerfUpdateBusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpPerfUpdateBusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpPerfUpdateBusFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpPerfUpdateBusFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143289,7 +142648,7 @@ class MdpPerfUpdateBusFtraceEvent : public ::protozero::Message { } }; -class MdpPerfPrefillCalcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpPerfPrefillCalcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpPerfPrefillCalcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpPerfPrefillCalcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143515,7 +142874,7 @@ class MdpPerfPrefillCalcFtraceEvent : public ::protozero::Message { } }; -class MdpCmdWaitPingpongFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCmdWaitPingpongFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCmdWaitPingpongFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCmdWaitPingpongFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143573,7 +142932,7 @@ class MdpCmdWaitPingpongFtraceEvent : public ::protozero::Message { } }; -class MdpVideoUnderrunDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpVideoUnderrunDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpVideoUnderrunDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpVideoUnderrunDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143631,7 +142990,7 @@ class MdpVideoUnderrunDoneFtraceEvent : public ::protozero::Message { } }; -class MdpPerfSetWmLevelsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpPerfSetWmLevelsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpPerfSetWmLevelsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpPerfSetWmLevelsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143815,7 +143174,7 @@ class MdpPerfSetWmLevelsFtraceEvent : public ::protozero::Message { } }; -class MdpMixerUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpMixerUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpMixerUpdateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpMixerUpdateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143852,7 +143211,7 @@ class MdpMixerUpdateFtraceEvent : public ::protozero::Message { } }; -class MdpCmdReleaseBwFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCmdReleaseBwFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCmdReleaseBwFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCmdReleaseBwFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143889,7 +143248,7 @@ class MdpCmdReleaseBwFtraceEvent : public ::protozero::Message { } }; -class MdpTraceCounterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpTraceCounterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpTraceCounterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpTraceCounterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -143974,7 +143333,7 @@ class MdpTraceCounterFtraceEvent : public ::protozero::Message { } }; -class MdpPerfSetQosLutsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpPerfSetQosLutsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpPerfSetQosLutsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpPerfSetQosLutsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -144137,7 +143496,7 @@ class MdpPerfSetQosLutsFtraceEvent : public ::protozero::Message { } }; -class MdpMisrCrcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpMisrCrcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpMisrCrcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpMisrCrcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -144216,7 +143575,7 @@ class MdpMisrCrcFtraceEvent : public ::protozero::Message { } }; -class MdpCmdReadptrDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCmdReadptrDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCmdReadptrDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCmdReadptrDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -144274,7 +143633,7 @@ class MdpCmdReadptrDoneFtraceEvent : public ::protozero::Message { } }; -class MdpSsppSetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpSsppSetFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpSsppSetFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpSsppSetFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -144626,7 +143985,7 @@ class MdpSsppSetFtraceEvent : public ::protozero::Message { } }; -class MdpPerfSetPanicLutsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpPerfSetPanicLutsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpPerfSetPanicLutsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpPerfSetPanicLutsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -144747,7 +144106,7 @@ class MdpPerfSetPanicLutsFtraceEvent : public ::protozero::Message { } }; -class MdpCompareBwFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCompareBwFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCompareBwFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCompareBwFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -144931,7 +144290,7 @@ class MdpCompareBwFtraceEvent : public ::protozero::Message { } }; -class MdpCmdPingpongDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCmdPingpongDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCmdPingpongDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCmdPingpongDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145031,7 +144390,7 @@ class MdpCmdPingpongDoneFtraceEvent : public ::protozero::Message { } }; -class TracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145116,7 +144475,7 @@ class TracingMarkWriteFtraceEvent : public ::protozero::Message { } }; -class MdpSsppChangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpSsppChangeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpSsppChangeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpSsppChangeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145468,7 +144827,7 @@ class MdpSsppChangeFtraceEvent : public ::protozero::Message { } }; -class MdpPerfSetOtFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpPerfSetOtFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpPerfSetOtFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpPerfSetOtFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145568,7 +144927,7 @@ class MdpPerfSetOtFtraceEvent : public ::protozero::Message { } }; -class MdpCommitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCommitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCommitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCommitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145668,7 +145027,7 @@ class MdpCommitFtraceEvent : public ::protozero::Message { } }; -class MdpCmdKickoffFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MdpCmdKickoffFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MdpCmdKickoffFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MdpCmdKickoffFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145750,7 +145109,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class MmEventRecordFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmEventRecordFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmEventRecordFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmEventRecordFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145874,7 +145233,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class NapiGroReceiveExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class NapiGroReceiveExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: NapiGroReceiveExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NapiGroReceiveExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -145911,7 +145270,7 @@ class NapiGroReceiveExitFtraceEvent : public ::protozero::Message { } }; -class NapiGroReceiveEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class NapiGroReceiveEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: NapiGroReceiveEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NapiGroReceiveEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146332,7 +145691,7 @@ class NapiGroReceiveEntryFtraceEvent : public ::protozero::Message { } }; -class NetDevXmitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class NetDevXmitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: NetDevXmitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NetDevXmitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146438,7 +145797,7 @@ class NetDevXmitFtraceEvent : public ::protozero::Message { } }; -class NetifReceiveSkbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class NetifReceiveSkbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: NetifReceiveSkbFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit NetifReceiveSkbFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146547,7 +145906,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class MarkVictimFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MarkVictimFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MarkVictimFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MarkVictimFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146584,7 +145943,7 @@ class MarkVictimFtraceEvent : public ::protozero::Message { } }; -class OomScoreAdjUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class OomScoreAdjUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: OomScoreAdjUpdateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit OomScoreAdjUpdateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146693,7 +146052,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PanelWriteGenericFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PanelWriteGenericFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PanelWriteGenericFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PanelWriteGenericFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146847,7 +146206,7 @@ class PanelWriteGenericFtraceEvent : public ::protozero::Message { } }; -class DsiTxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DsiTxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DsiTxFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DsiTxFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146926,7 +146285,7 @@ class DsiTxFtraceEvent : public ::protozero::Message { } }; -class DsiRxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DsiRxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DsiRxFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DsiRxFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -146984,7 +146343,7 @@ class DsiRxFtraceEvent : public ::protozero::Message { } }; -class DsiCmdFifoStatusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DsiCmdFifoStatusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DsiCmdFifoStatusFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DsiCmdFifoStatusFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -147066,7 +146425,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SchedSwitchWithCtrsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedSwitchWithCtrsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedSwitchWithCtrsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedSwitchWithCtrsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -147601,7 +146960,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PixelMmKswapdDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PixelMmKswapdDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PixelMmKswapdDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PixelMmKswapdDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -147610,10 +146969,6 @@ class PixelMmKswapdDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecod uint64_t delta_nr_scanned() const { return at<1>().as_uint64(); } bool has_delta_nr_reclaimed() const { return at<2>().valid(); } uint64_t delta_nr_reclaimed() const { return at<2>().as_uint64(); } - bool has_delta_nr_allocated() const { return at<3>().valid(); } - uint64_t delta_nr_allocated() const { return at<3>().as_uint64(); } - bool has_duration_ns() const { return at<4>().valid(); } - uint64_t duration_ns() const { return at<4>().as_uint64(); } }; class PixelMmKswapdDoneFtraceEvent : public ::protozero::Message { @@ -147622,8 +146977,6 @@ class PixelMmKswapdDoneFtraceEvent : public ::protozero::Message { enum : int32_t { kDeltaNrScannedFieldNumber = 1, kDeltaNrReclaimedFieldNumber = 2, - kDeltaNrAllocatedFieldNumber = 3, - kDurationNsFieldNumber = 4, }; static constexpr const char* GetName() { return ".perfetto.protos.PixelMmKswapdDoneFtraceEvent"; } @@ -147663,45 +147016,9 @@ class PixelMmKswapdDoneFtraceEvent : public ::protozero::Message { ::protozero::proto_utils::ProtoSchemaType::kUint64> ::Append(*this, field_id, value); } - - using FieldMetadata_DeltaNrAllocated = - ::protozero::proto_utils::FieldMetadata< - 3, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint64, - uint64_t, - PixelMmKswapdDoneFtraceEvent>; - - static constexpr FieldMetadata_DeltaNrAllocated kDeltaNrAllocated{}; - void set_delta_nr_allocated(uint64_t value) { - static constexpr uint32_t field_id = FieldMetadata_DeltaNrAllocated::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint64> - ::Append(*this, field_id, value); - } - - using FieldMetadata_DurationNs = - ::protozero::proto_utils::FieldMetadata< - 4, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint64, - uint64_t, - PixelMmKswapdDoneFtraceEvent>; - - static constexpr FieldMetadata_DurationNs kDurationNs{}; - void set_duration_ns(uint64_t value) { - static constexpr uint32_t field_id = FieldMetadata_DurationNs::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint64> - ::Append(*this, field_id, value); - } }; -class PixelMmKswapdWakeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PixelMmKswapdWakeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PixelMmKswapdWakeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PixelMmKswapdWakeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -147762,7 +147079,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DevicePmCallbackEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DevicePmCallbackEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DevicePmCallbackEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DevicePmCallbackEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -147853,7 +147170,7 @@ class DevicePmCallbackEndFtraceEvent : public ::protozero::Message { } }; -class DevicePmCallbackStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class DevicePmCallbackStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: DevicePmCallbackStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DevicePmCallbackStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -147998,7 +147315,7 @@ class DevicePmCallbackStartFtraceEvent : public ::protozero::Message { } }; -class GpuWorkPeriodFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GpuWorkPeriodFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GpuWorkPeriodFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuWorkPeriodFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148119,7 +147436,7 @@ class GpuWorkPeriodFtraceEvent : public ::protozero::Message { } }; -class WakeupSourceDeactivateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class WakeupSourceDeactivateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: WakeupSourceDeactivateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WakeupSourceDeactivateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148183,7 +147500,7 @@ class WakeupSourceDeactivateFtraceEvent : public ::protozero::Message { } }; -class WakeupSourceActivateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class WakeupSourceActivateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: WakeupSourceActivateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WakeupSourceActivateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148247,7 +147564,7 @@ class WakeupSourceActivateFtraceEvent : public ::protozero::Message { } }; -class GpuFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GpuFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GpuFrequencyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuFrequencyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148305,7 +147622,7 @@ class GpuFrequencyFtraceEvent : public ::protozero::Message { } }; -class SuspendResumeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SuspendResumeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SuspendResumeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SuspendResumeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148390,7 +147707,7 @@ class SuspendResumeFtraceEvent : public ::protozero::Message { } }; -class ClockSetRateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ClockSetRateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ClockSetRateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClockSetRateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148475,7 +147792,7 @@ class ClockSetRateFtraceEvent : public ::protozero::Message { } }; -class ClockDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ClockDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ClockDisableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClockDisableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148560,7 +147877,7 @@ class ClockDisableFtraceEvent : public ::protozero::Message { } }; -class ClockEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ClockEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ClockEnableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ClockEnableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148645,7 +147962,7 @@ class ClockEnableFtraceEvent : public ::protozero::Message { } }; -class CpuIdleFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuIdleFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuIdleFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuIdleFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148703,7 +148020,7 @@ class CpuIdleFtraceEvent : public ::protozero::Message { } }; -class CpuFrequencyLimitsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuFrequencyLimitsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuFrequencyLimitsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuFrequencyLimitsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148782,7 +148099,7 @@ class CpuFrequencyLimitsFtraceEvent : public ::protozero::Message { } }; -class CpuFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CpuFrequencyFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CpuFrequencyFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuFrequencyFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148864,7 +148181,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ConsoleFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ConsoleFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ConsoleFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ConsoleFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148931,7 +148248,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SysExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SysExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SysExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -148989,7 +148306,7 @@ class SysExitFtraceEvent : public ::protozero::Message { } }; -class SysEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SysEnterFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SysEnterFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysEnterFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149071,7 +148388,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class RegulatorSetVoltageCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorSetVoltageCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorSetVoltageCompleteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorSetVoltageCompleteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149135,7 +148452,7 @@ class RegulatorSetVoltageCompleteFtraceEvent : public ::protozero::Message { } }; -class RegulatorSetVoltageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorSetVoltageFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorSetVoltageFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorSetVoltageFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149220,7 +148537,7 @@ class RegulatorSetVoltageFtraceEvent : public ::protozero::Message { } }; -class RegulatorEnableDelayFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorEnableDelayFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorEnableDelayFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorEnableDelayFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149263,7 +148580,7 @@ class RegulatorEnableDelayFtraceEvent : public ::protozero::Message { } }; -class RegulatorEnableCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorEnableCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorEnableCompleteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorEnableCompleteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149306,7 +148623,7 @@ class RegulatorEnableCompleteFtraceEvent : public ::protozero::Message { } }; -class RegulatorEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorEnableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorEnableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorEnableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149349,7 +148666,7 @@ class RegulatorEnableFtraceEvent : public ::protozero::Message { } }; -class RegulatorDisableCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorDisableCompleteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorDisableCompleteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorDisableCompleteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149392,7 +148709,7 @@ class RegulatorDisableCompleteFtraceEvent : public ::protozero::Message { } }; -class RegulatorDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RegulatorDisableFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RegulatorDisableFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RegulatorDisableFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149459,7 +148776,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class RpmStatusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RpmStatusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RpmStatusFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RpmStatusFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149547,7 +148864,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SamsungTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SamsungTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SamsungTracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SamsungTracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149698,7 +149015,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SchedWakeupTaskAttrFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedWakeupTaskAttrFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedWakeupTaskAttrFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedWakeupTaskAttrFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149819,7 +149136,7 @@ class SchedWakeupTaskAttrFtraceEvent : public ::protozero::Message { } }; -class SchedMigrateTaskFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedMigrateTaskFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedMigrateTaskFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedMigrateTaskFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -149988,7 +149305,7 @@ class SchedMigrateTaskFtraceEvent : public ::protozero::Message { } }; -class SchedCpuUtilCfsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedCpuUtilCfsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedCpuUtilCfsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedCpuUtilCfsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150319,7 +149636,7 @@ class SchedCpuUtilCfsFtraceEvent : public ::protozero::Message { } }; -class SchedPiSetprioFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedPiSetprioFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedPiSetprioFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedPiSetprioFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150425,7 +149742,7 @@ class SchedPiSetprioFtraceEvent : public ::protozero::Message { } }; -class SchedProcessWaitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedProcessWaitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedProcessWaitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedProcessWaitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150510,7 +149827,7 @@ class SchedProcessWaitFtraceEvent : public ::protozero::Message { } }; -class SchedProcessHangFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedProcessHangFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedProcessHangFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedProcessHangFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150574,7 +149891,7 @@ class SchedProcessHangFtraceEvent : public ::protozero::Message { } }; -class SchedProcessFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedProcessFreeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedProcessFreeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedProcessFreeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150659,7 +149976,7 @@ class SchedProcessFreeFtraceEvent : public ::protozero::Message { } }; -class SchedProcessForkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedProcessForkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedProcessForkFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedProcessForkFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150771,7 +150088,7 @@ class SchedProcessForkFtraceEvent : public ::protozero::Message { } }; -class SchedProcessExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedProcessExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedProcessExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedProcessExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150877,7 +150194,7 @@ class SchedProcessExitFtraceEvent : public ::protozero::Message { } }; -class SchedProcessExecFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedProcessExecFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedProcessExecFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedProcessExecFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -150962,7 +150279,7 @@ class SchedProcessExecFtraceEvent : public ::protozero::Message { } }; -class SchedWakeupNewFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedWakeupNewFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedWakeupNewFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedWakeupNewFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151089,7 +150406,7 @@ class SchedWakeupNewFtraceEvent : public ::protozero::Message { } }; -class SchedWakingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedWakingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedWakingFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedWakingFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151216,7 +150533,7 @@ class SchedWakingFtraceEvent : public ::protozero::Message { } }; -class SchedCpuHotplugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedCpuHotplugFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedCpuHotplugFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedCpuHotplugFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151295,7 +150612,7 @@ class SchedCpuHotplugFtraceEvent : public ::protozero::Message { } }; -class SchedBlockedReasonFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedBlockedReasonFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedBlockedReasonFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedBlockedReasonFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151374,7 +150691,7 @@ class SchedBlockedReasonFtraceEvent : public ::protozero::Message { } }; -class SchedWakeupFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedWakeupFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedWakeupFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedWakeupFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151501,7 +150818,7 @@ class SchedWakeupFtraceEvent : public ::protozero::Message { } }; -class SchedSwitchFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SchedSwitchFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SchedSwitchFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SchedSwitchFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151700,7 +151017,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ScmCallEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ScmCallEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ScmCallEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ScmCallEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151714,7 +151031,7 @@ class ScmCallEndFtraceEvent : public ::protozero::Message { }; -class ScmCallStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ScmCallStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ScmCallStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ScmCallStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151817,7 +151134,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SdeSdePerfUpdateBusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SdeSdePerfUpdateBusFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SdeSdePerfUpdateBusFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SdeSdePerfUpdateBusFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -151917,7 +151234,7 @@ class SdeSdePerfUpdateBusFtraceEvent : public ::protozero::Message { } }; -class SdeSdePerfSetQosLutsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SdeSdePerfSetQosLutsFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SdeSdePerfSetQosLutsFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SdeSdePerfSetQosLutsFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152059,7 +151376,7 @@ class SdeSdePerfSetQosLutsFtraceEvent : public ::protozero::Message { } }; -class SdeSdePerfCrtcUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SdeSdePerfCrtcUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SdeSdePerfCrtcUpdateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SdeSdePerfCrtcUpdateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152327,7 +151644,7 @@ class SdeSdePerfCrtcUpdateFtraceEvent : public ::protozero::Message { } }; -class SdeSdePerfCalcCrtcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SdeSdePerfCalcCrtcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SdeSdePerfCalcCrtcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SdeSdePerfCalcCrtcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152511,7 +151828,7 @@ class SdeSdePerfCalcCrtcFtraceEvent : public ::protozero::Message { } }; -class SdeSdeEvtlogFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SdeSdeEvtlogFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SdeSdeEvtlogFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SdeSdeEvtlogFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152596,7 +151913,7 @@ class SdeSdeEvtlogFtraceEvent : public ::protozero::Message { } }; -class SdeTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SdeTracingMarkWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SdeTracingMarkWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SdeTracingMarkWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152747,7 +152064,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SignalGenerateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SignalGenerateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SignalGenerateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SignalGenerateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152895,7 +152212,7 @@ class SignalGenerateFtraceEvent : public ::protozero::Message { } }; -class SignalDeliverFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SignalDeliverFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SignalDeliverFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SignalDeliverFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -152998,7 +152315,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class KfreeSkbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class KfreeSkbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: KfreeSkbFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit KfreeSkbFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153101,7 +152418,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class InetSockSetStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class InetSockSetStateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: InetSockSetStateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InetSockSetStateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153330,7 +152647,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SyncWaitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SyncWaitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SyncWaitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SyncWaitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153415,7 +152732,7 @@ class SyncWaitFtraceEvent : public ::protozero::Message { } }; -class SyncTimelineFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SyncTimelineFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SyncTimelineFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SyncTimelineFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153485,7 +152802,7 @@ class SyncTimelineFtraceEvent : public ::protozero::Message { } }; -class SyncPtFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SyncPtFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SyncPtFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SyncPtFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153579,7 +152896,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SuspendResumeMinimalFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class SuspendResumeMinimalFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: SuspendResumeMinimalFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SuspendResumeMinimalFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153616,7 +152933,7 @@ class SuspendResumeMinimalFtraceEvent : public ::protozero::Message { } }; -class RssStatThrottledFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class RssStatThrottledFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: RssStatThrottledFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RssStatThrottledFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153740,7 +153057,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ZeroFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ZeroFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ZeroFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ZeroFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153870,7 +153187,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TaskRenameFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TaskRenameFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TaskRenameFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TaskRenameFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -153982,7 +153299,7 @@ class TaskRenameFtraceEvent : public ::protozero::Message { } }; -class TaskNewtaskFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TaskNewtaskFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TaskNewtaskFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TaskNewtaskFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154112,7 +153429,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TcpRetransmitSkbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TcpRetransmitSkbFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TcpRetransmitSkbFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TcpRetransmitSkbFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154299,7 +153616,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CdevUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class CdevUpdateFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: CdevUpdateFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CdevUpdateFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154363,7 +153680,7 @@ class CdevUpdateFtraceEvent : public ::protozero::Message { } }; -class ThermalTemperatureFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ThermalTemperatureFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ThermalTemperatureFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ThermalTemperatureFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154493,7 +153810,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ThermalExynosAcpmHighOverheadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ThermalExynosAcpmHighOverheadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ThermalExynosAcpmHighOverheadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ThermalExynosAcpmHighOverheadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154656,7 +153973,7 @@ class ThermalExynosAcpmHighOverheadFtraceEvent : public ::protozero::Message { } }; -class ThermalExynosAcpmBulkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ThermalExynosAcpmBulkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ThermalExynosAcpmBulkFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ThermalExynosAcpmBulkFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154927,7 +154244,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TimerExpireExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TimerExpireExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TimerExpireExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TimerExpireExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -154964,7 +154281,7 @@ class TimerExpireExitFtraceEvent : public ::protozero::Message { } }; -class TimerExpireEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TimerExpireEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TimerExpireEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TimerExpireEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155064,7 +154381,7 @@ class TimerExpireEntryFtraceEvent : public ::protozero::Message { } }; -class TimerCancelFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TimerCancelFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TimerCancelFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TimerCancelFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155101,7 +154418,7 @@ class TimerCancelFtraceEvent : public ::protozero::Message { } }; -class TimerStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TimerStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TimerStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TimerStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155264,7 +154581,7 @@ class TimerStartFtraceEvent : public ::protozero::Message { } }; -class HrtimerExpireExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HrtimerExpireExitFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HrtimerExpireExitFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HrtimerExpireExitFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155301,7 +154618,7 @@ class HrtimerExpireExitFtraceEvent : public ::protozero::Message { } }; -class HrtimerExpireEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HrtimerExpireEntryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HrtimerExpireEntryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HrtimerExpireEntryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155380,7 +154697,7 @@ class HrtimerExpireEntryFtraceEvent : public ::protozero::Message { } }; -class HrtimerCancelFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HrtimerCancelFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HrtimerCancelFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HrtimerCancelFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155417,7 +154734,7 @@ class HrtimerCancelFtraceEvent : public ::protozero::Message { } }; -class HrtimerStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class HrtimerStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: HrtimerStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HrtimerStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155562,7 +154879,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TrustyEnqueueNopFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyEnqueueNopFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyEnqueueNopFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyEnqueueNopFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155641,7 +154958,7 @@ class TrustyEnqueueNopFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcRxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcRxFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcRxFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcRxFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155726,7 +155043,7 @@ class TrustyIpcRxFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcReadEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcReadEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcReadEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcReadEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155853,7 +155170,7 @@ class TrustyIpcReadEndFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcReadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcReadFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcReadFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcReadFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -155917,7 +155234,7 @@ class TrustyIpcReadFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcPollFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcPollFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcPollFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcPollFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156002,7 +155319,7 @@ class TrustyIpcPollFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcWriteFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcWriteFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcWriteFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156150,7 +155467,7 @@ class TrustyIpcWriteFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcConnectEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcConnectEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcConnectEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcConnectEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156229,7 +155546,7 @@ class TrustyIpcConnectEndFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcConnectFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcConnectFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcConnectFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcConnectFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156314,7 +155631,7 @@ class TrustyIpcConnectFtraceEvent : public ::protozero::Message { } }; -class TrustyIpcHandleEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIpcHandleEventFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIpcHandleEventFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIpcHandleEventFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156399,7 +155716,7 @@ class TrustyIpcHandleEventFtraceEvent : public ::protozero::Message { } }; -class TrustyIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyIrqFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyIrqFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyIrqFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156436,7 +155753,7 @@ class TrustyIrqFtraceEvent : public ::protozero::Message { } }; -class TrustyReclaimMemoryDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyReclaimMemoryDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyReclaimMemoryDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyReclaimMemoryDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156494,7 +155811,7 @@ class TrustyReclaimMemoryDoneFtraceEvent : public ::protozero::Message { } }; -class TrustyReclaimMemoryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyReclaimMemoryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyReclaimMemoryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyReclaimMemoryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156531,7 +155848,7 @@ class TrustyReclaimMemoryFtraceEvent : public ::protozero::Message { } }; -class TrustyShareMemoryDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyShareMemoryDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyShareMemoryDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyShareMemoryDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156652,7 +155969,7 @@ class TrustyShareMemoryDoneFtraceEvent : public ::protozero::Message { } }; -class TrustyShareMemoryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyShareMemoryFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyShareMemoryFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyShareMemoryFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156731,7 +156048,7 @@ class TrustyShareMemoryFtraceEvent : public ::protozero::Message { } }; -class TrustyStdCall32DoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyStdCall32DoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyStdCall32DoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyStdCall32DoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156768,7 +156085,7 @@ class TrustyStdCall32DoneFtraceEvent : public ::protozero::Message { } }; -class TrustyStdCall32FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustyStdCall32FtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustyStdCall32FtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustyStdCall32FtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156868,7 +156185,7 @@ class TrustyStdCall32FtraceEvent : public ::protozero::Message { } }; -class TrustySmcDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustySmcDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustySmcDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustySmcDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -156905,7 +156222,7 @@ class TrustySmcDoneFtraceEvent : public ::protozero::Message { } }; -class TrustySmcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TrustySmcFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TrustySmcFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrustySmcFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -157029,7 +156346,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class UfshcdClkGatingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class UfshcdClkGatingFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: UfshcdClkGatingFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UfshcdClkGatingFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -157093,7 +156410,7 @@ class UfshcdClkGatingFtraceEvent : public ::protozero::Message { } }; -class UfshcdCommandFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class UfshcdCommandFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: UfshcdCommandFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UfshcdCommandFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -157355,7 +156672,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class Vb2V4l2DqbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Vb2V4l2DqbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Vb2V4l2DqbufFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Vb2V4l2DqbufFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -157686,7 +157003,7 @@ class Vb2V4l2DqbufFtraceEvent : public ::protozero::Message { } }; -class Vb2V4l2QbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Vb2V4l2QbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Vb2V4l2QbufFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Vb2V4l2QbufFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -158017,7 +157334,7 @@ class Vb2V4l2QbufFtraceEvent : public ::protozero::Message { } }; -class Vb2V4l2BufDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Vb2V4l2BufDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Vb2V4l2BufDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Vb2V4l2BufDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -158348,7 +157665,7 @@ class Vb2V4l2BufDoneFtraceEvent : public ::protozero::Message { } }; -class Vb2V4l2BufQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class Vb2V4l2BufQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: Vb2V4l2BufQueueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Vb2V4l2BufQueueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -158679,7 +157996,7 @@ class Vb2V4l2BufQueueFtraceEvent : public ::protozero::Message { } }; -class V4l2DqbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class V4l2DqbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: V4l2DqbufFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V4l2DqbufFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -159073,7 +158390,7 @@ class V4l2DqbufFtraceEvent : public ::protozero::Message { } }; -class V4l2QbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class V4l2QbufFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: V4l2QbufFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit V4l2QbufFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -159491,7 +158808,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class VirtioGpuCmdResponseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VirtioGpuCmdResponseFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VirtioGpuCmdResponseFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VirtioGpuCmdResponseFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -159702,7 +159019,7 @@ class VirtioGpuCmdResponseFtraceEvent : public ::protozero::Message { } }; -class VirtioGpuCmdQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VirtioGpuCmdQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VirtioGpuCmdQueueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VirtioGpuCmdQueueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -159937,7 +159254,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class VirtioVideoResourceQueueDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VirtioVideoResourceQueueDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VirtioVideoResourceQueueDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VirtioVideoResourceQueueDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160121,7 +159438,7 @@ class VirtioVideoResourceQueueDoneFtraceEvent : public ::protozero::Message { } }; -class VirtioVideoResourceQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VirtioVideoResourceQueueFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VirtioVideoResourceQueueFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VirtioVideoResourceQueueFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160305,7 +159622,7 @@ class VirtioVideoResourceQueueFtraceEvent : public ::protozero::Message { } }; -class VirtioVideoCmdDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VirtioVideoCmdDoneFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VirtioVideoCmdDoneFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VirtioVideoCmdDoneFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160363,7 +159680,7 @@ class VirtioVideoCmdDoneFtraceEvent : public ::protozero::Message { } }; -class VirtioVideoCmdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VirtioVideoCmdFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VirtioVideoCmdFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VirtioVideoCmdFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160445,7 +159762,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class MmShrinkSlabEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmShrinkSlabEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmShrinkSlabEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmShrinkSlabEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160608,7 +159925,7 @@ class MmShrinkSlabEndFtraceEvent : public ::protozero::Message { } }; -class MmShrinkSlabStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmShrinkSlabStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmShrinkSlabStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmShrinkSlabStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160855,7 +160172,7 @@ class MmShrinkSlabStartFtraceEvent : public ::protozero::Message { } }; -class MmVmscanKswapdSleepFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmVmscanKswapdSleepFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmVmscanKswapdSleepFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmVmscanKswapdSleepFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160892,7 +160209,7 @@ class MmVmscanKswapdSleepFtraceEvent : public ::protozero::Message { } }; -class MmVmscanKswapdWakeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmVmscanKswapdWakeFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmVmscanKswapdWakeFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmVmscanKswapdWakeFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -160971,7 +160288,7 @@ class MmVmscanKswapdWakeFtraceEvent : public ::protozero::Message { } }; -class MmVmscanDirectReclaimEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmVmscanDirectReclaimEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmVmscanDirectReclaimEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmVmscanDirectReclaimEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161008,7 +160325,7 @@ class MmVmscanDirectReclaimEndFtraceEvent : public ::protozero::Message { } }; -class MmVmscanDirectReclaimBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class MmVmscanDirectReclaimBeginFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: MmVmscanDirectReclaimBeginFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MmVmscanDirectReclaimBeginFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161111,7 +160428,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class WorkqueueQueueWorkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class WorkqueueQueueWorkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: WorkqueueQueueWorkFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WorkqueueQueueWorkFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161232,7 +160549,7 @@ class WorkqueueQueueWorkFtraceEvent : public ::protozero::Message { } }; -class WorkqueueExecuteStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class WorkqueueExecuteStartFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: WorkqueueExecuteStartFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WorkqueueExecuteStartFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161290,7 +160607,7 @@ class WorkqueueExecuteStartFtraceEvent : public ::protozero::Message { } }; -class WorkqueueExecuteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class WorkqueueExecuteEndFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: WorkqueueExecuteEndFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WorkqueueExecuteEndFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161348,7 +160665,7 @@ class WorkqueueExecuteEndFtraceEvent : public ::protozero::Message { } }; -class WorkqueueActivateWorkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class WorkqueueActivateWorkFtraceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: WorkqueueActivateWorkFtraceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit WorkqueueActivateWorkFtraceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161409,7 +160726,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GenericKernelCpuFrequencyEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GenericKernelCpuFrequencyEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GenericKernelCpuFrequencyEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericKernelCpuFrequencyEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161556,7 +160873,7 @@ const char* GenericKernelTaskStateEvent_TaskStateEnum_Name(::perfetto::protos::p return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class GenericKernelProcessTree_Decoder : public ::protozero::TypedProtoDecoder { +class GenericKernelProcessTree_Decoder : public ::protozero::TypedProtoDecoder { public: GenericKernelProcessTree_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericKernelProcessTree_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161608,7 +160925,7 @@ class GenericKernelProcessTree : public ::protozero::Message { }; -class GenericKernelProcessTree_Process_Decoder : public ::protozero::TypedProtoDecoder { +class GenericKernelProcessTree_Process_Decoder : public ::protozero::TypedProtoDecoder { public: GenericKernelProcessTree_Process_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericKernelProcessTree_Process_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161693,7 +161010,7 @@ class GenericKernelProcessTree_Process : public ::protozero::Message { } }; -class GenericKernelProcessTree_Thread_Decoder : public ::protozero::TypedProtoDecoder { +class GenericKernelProcessTree_Thread_Decoder : public ::protozero::TypedProtoDecoder { public: GenericKernelProcessTree_Thread_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericKernelProcessTree_Thread_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161799,7 +161116,7 @@ class GenericKernelProcessTree_Thread : public ::protozero::Message { } }; -class GenericKernelTaskRenameEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GenericKernelTaskRenameEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GenericKernelTaskRenameEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericKernelTaskRenameEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -161863,7 +161180,7 @@ class GenericKernelTaskRenameEvent : public ::protozero::Message { } }; -class GenericKernelTaskStateEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GenericKernelTaskStateEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GenericKernelTaskStateEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GenericKernelTaskStateEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -162036,7 +161353,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class GpuCounterEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GpuCounterEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GpuCounterEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuCounterEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -162108,7 +161425,7 @@ class GpuCounterEvent : public ::protozero::Message { } }; -class GpuCounterEvent_GpuCounter_Decoder : public ::protozero::TypedProtoDecoder { +class GpuCounterEvent_GpuCounter_Decoder : public ::protozero::TypedProtoDecoder { public: GpuCounterEvent_GpuCounter_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuCounterEvent_GpuCounter_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -162262,7 +161579,7 @@ const char* GpuLog_Severity_Name(::perfetto::protos::pbzero::GpuLog_Severity val return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class GpuLog_Decoder : public ::protozero::TypedProtoDecoder { +class GpuLog_Decoder : public ::protozero::TypedProtoDecoder { public: GpuLog_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuLog_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -162468,7 +161785,7 @@ const char* InternedGraphicsContext_Api_Name(::perfetto::protos::pbzero::Interne return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class InternedGpuRenderStageSpecification_Decoder : public ::protozero::TypedProtoDecoder { +class InternedGpuRenderStageSpecification_Decoder : public ::protozero::TypedProtoDecoder { public: InternedGpuRenderStageSpecification_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedGpuRenderStageSpecification_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -162588,7 +161905,7 @@ class InternedGpuRenderStageSpecification : public ::protozero::Message { } }; -class InternedGraphicsContext_Decoder : public ::protozero::TypedProtoDecoder { +class InternedGraphicsContext_Decoder : public ::protozero::TypedProtoDecoder { public: InternedGraphicsContext_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedGraphicsContext_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -162676,7 +161993,7 @@ class InternedGraphicsContext : public ::protozero::Message { } }; -class GpuRenderStageEvent_Decoder : public ::protozero::TypedProtoDecoder { +class GpuRenderStageEvent_Decoder : public ::protozero::TypedProtoDecoder { public: GpuRenderStageEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuRenderStageEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163022,7 +162339,7 @@ class GpuRenderStageEvent : public ::protozero::Message { } }; -class GpuRenderStageEvent_Specifications_Decoder : public ::protozero::TypedProtoDecoder { +class GpuRenderStageEvent_Specifications_Decoder : public ::protozero::TypedProtoDecoder { public: GpuRenderStageEvent_Specifications_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuRenderStageEvent_Specifications_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163091,7 +162408,7 @@ class GpuRenderStageEvent_Specifications : public ::protozero::Message { }; -class GpuRenderStageEvent_Specifications_Description_Decoder : public ::protozero::TypedProtoDecoder { +class GpuRenderStageEvent_Specifications_Description_Decoder : public ::protozero::TypedProtoDecoder { public: GpuRenderStageEvent_Specifications_Description_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuRenderStageEvent_Specifications_Description_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163161,7 +162478,7 @@ class GpuRenderStageEvent_Specifications_Description : public ::protozero::Messa } }; -class GpuRenderStageEvent_Specifications_ContextSpec_Decoder : public ::protozero::TypedProtoDecoder { +class GpuRenderStageEvent_Specifications_ContextSpec_Decoder : public ::protozero::TypedProtoDecoder { public: GpuRenderStageEvent_Specifications_ContextSpec_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuRenderStageEvent_Specifications_ContextSpec_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163219,7 +162536,7 @@ class GpuRenderStageEvent_Specifications_ContextSpec : public ::protozero::Messa } }; -class GpuRenderStageEvent_ExtraData_Decoder : public ::protozero::TypedProtoDecoder { +class GpuRenderStageEvent_ExtraData_Decoder : public ::protozero::TypedProtoDecoder { public: GpuRenderStageEvent_ExtraData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit GpuRenderStageEvent_ExtraData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163321,7 +162638,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class VulkanApiEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VulkanApiEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VulkanApiEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VulkanApiEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163373,7 +162690,7 @@ class VulkanApiEvent : public ::protozero::Message { }; -class VulkanApiEvent_VkQueueSubmit_Decoder : public ::protozero::TypedProtoDecoder { +class VulkanApiEvent_VkQueueSubmit_Decoder : public ::protozero::TypedProtoDecoder { public: VulkanApiEvent_VkQueueSubmit_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VulkanApiEvent_VkQueueSubmit_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163515,7 +162832,7 @@ class VulkanApiEvent_VkQueueSubmit : public ::protozero::Message { } }; -class VulkanApiEvent_VkDebugUtilsObjectName_Decoder : public ::protozero::TypedProtoDecoder { +class VulkanApiEvent_VkDebugUtilsObjectName_Decoder : public ::protozero::TypedProtoDecoder { public: VulkanApiEvent_VkDebugUtilsObjectName_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VulkanApiEvent_VkDebugUtilsObjectName_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -163808,7 +163125,7 @@ const char* VulkanMemoryEvent_AllocationScope_Name(::perfetto::protos::pbzero::V return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class VulkanMemoryEvent_Decoder : public ::protozero::TypedProtoDecoder { +class VulkanMemoryEvent_Decoder : public ::protozero::TypedProtoDecoder { public: VulkanMemoryEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VulkanMemoryEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -164147,7 +163464,7 @@ class VulkanMemoryEvent : public ::protozero::Message { } }; -class VulkanMemoryEventAnnotation_Decoder : public ::protozero::TypedProtoDecoder { +class VulkanMemoryEventAnnotation_Decoder : public ::protozero::TypedProtoDecoder { public: VulkanMemoryEventAnnotation_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit VulkanMemoryEventAnnotation_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -164279,7 +163596,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class DeobfuscationMapping_Decoder : public ::protozero::TypedProtoDecoder { +class DeobfuscationMapping_Decoder : public ::protozero::TypedProtoDecoder { public: DeobfuscationMapping_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit DeobfuscationMapping_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -164360,7 +163677,7 @@ class DeobfuscationMapping : public ::protozero::Message { }; -class ObfuscatedClass_Decoder : public ::protozero::TypedProtoDecoder { +class ObfuscatedClass_Decoder : public ::protozero::TypedProtoDecoder { public: ObfuscatedClass_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ObfuscatedClass_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -164464,7 +163781,7 @@ class ObfuscatedClass : public ::protozero::Message { }; -class ObfuscatedMember_Decoder : public ::protozero::TypedProtoDecoder { +class ObfuscatedMember_Decoder : public ::protozero::TypedProtoDecoder { public: ObfuscatedMember_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ObfuscatedMember_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -164756,7 +164073,7 @@ const char* HeapGraphRoot_Type_Name(::perfetto::protos::pbzero::HeapGraphRoot_Ty return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class HeapGraph_Decoder : public ::protozero::TypedProtoDecoder { +class HeapGraph_Decoder : public ::protozero::TypedProtoDecoder { public: HeapGraph_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HeapGraph_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -164920,7 +164237,7 @@ class HeapGraph : public ::protozero::Message { } }; -class HeapGraphObject_Decoder : public ::protozero::TypedProtoDecoder { +class HeapGraphObject_Decoder : public ::protozero::TypedProtoDecoder { public: HeapGraphObject_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HeapGraphObject_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165143,7 +164460,7 @@ class HeapGraphObject : public ::protozero::Message { } }; -class HeapGraphType_Decoder : public ::protozero::TypedProtoDecoder { +class HeapGraphType_Decoder : public ::protozero::TypedProtoDecoder { public: HeapGraphType_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HeapGraphType_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165346,7 +164663,7 @@ class HeapGraphType : public ::protozero::Message { } }; -class HeapGraphRoot_Decoder : public ::protozero::TypedProtoDecoder { +class HeapGraphRoot_Decoder : public ::protozero::TypedProtoDecoder { public: HeapGraphRoot_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HeapGraphRoot_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165452,7 +164769,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class Callstack_Decoder : public ::protozero::TypedProtoDecoder { +class Callstack_Decoder : public ::protozero::TypedProtoDecoder { public: Callstack_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Callstack_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165510,7 +164827,7 @@ class Callstack : public ::protozero::Message { } }; -class Frame_Decoder : public ::protozero::TypedProtoDecoder { +class Frame_Decoder : public ::protozero::TypedProtoDecoder { public: Frame_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Frame_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165523,10 +164840,6 @@ class Frame_Decoder : public ::protozero::TypedProtoDecoder uint64_t mapping_id() const { return at<3>().as_uint64(); } bool has_rel_pc() const { return at<4>().valid(); } uint64_t rel_pc() const { return at<4>().as_uint64(); } - bool has_source_path_iid() const { return at<5>().valid(); } - uint64_t source_path_iid() const { return at<5>().as_uint64(); } - bool has_line_number() const { return at<6>().valid(); } - uint32_t line_number() const { return at<6>().as_uint32(); } }; class Frame : public ::protozero::Message { @@ -165537,8 +164850,6 @@ class Frame : public ::protozero::Message { kFunctionNameIdFieldNumber = 2, kMappingIdFieldNumber = 3, kRelPcFieldNumber = 4, - kSourcePathIidFieldNumber = 5, - kLineNumberFieldNumber = 6, }; static constexpr const char* GetName() { return ".perfetto.protos.Frame"; } @@ -165614,45 +164925,9 @@ class Frame : public ::protozero::Message { ::protozero::proto_utils::ProtoSchemaType::kUint64> ::Append(*this, field_id, value); } - - using FieldMetadata_SourcePathIid = - ::protozero::proto_utils::FieldMetadata< - 5, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint64, - uint64_t, - Frame>; - - static constexpr FieldMetadata_SourcePathIid kSourcePathIid{}; - void set_source_path_iid(uint64_t value) { - static constexpr uint32_t field_id = FieldMetadata_SourcePathIid::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint64> - ::Append(*this, field_id, value); - } - - using FieldMetadata_LineNumber = - ::protozero::proto_utils::FieldMetadata< - 6, - ::protozero::proto_utils::RepetitionType::kNotRepeated, - ::protozero::proto_utils::ProtoSchemaType::kUint32, - uint32_t, - Frame>; - - static constexpr FieldMetadata_LineNumber kLineNumber{}; - void set_line_number(uint32_t value) { - static constexpr uint32_t field_id = FieldMetadata_LineNumber::kFieldId; - // Call the appropriate protozero::Message::Append(field_id, ...) - // method based on the type of the field. - ::protozero::internal::FieldWriter< - ::protozero::proto_utils::ProtoSchemaType::kUint32> - ::Append(*this, field_id, value); - } }; -class Mapping_Decoder : public ::protozero::TypedProtoDecoder { +class Mapping_Decoder : public ::protozero::TypedProtoDecoder { public: Mapping_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Mapping_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165836,7 +165111,7 @@ class Mapping : public ::protozero::Message { } }; -class ModuleSymbols_Decoder : public ::protozero::TypedProtoDecoder { +class ModuleSymbols_Decoder : public ::protozero::TypedProtoDecoder { public: ModuleSymbols_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ModuleSymbols_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165923,7 +165198,7 @@ class ModuleSymbols : public ::protozero::Message { }; -class AddressSymbols_Decoder : public ::protozero::TypedProtoDecoder { +class AddressSymbols_Decoder : public ::protozero::TypedProtoDecoder { public: AddressSymbols_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AddressSymbols_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -165977,7 +165252,7 @@ class AddressSymbols : public ::protozero::Message { }; -class Line_Decoder : public ::protozero::TypedProtoDecoder { +class Line_Decoder : public ::protozero::TypedProtoDecoder { public: Line_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Line_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166068,7 +165343,7 @@ class Line : public ::protozero::Message { } }; -class InternedString_Decoder : public ::protozero::TypedProtoDecoder { +class InternedString_Decoder : public ::protozero::TypedProtoDecoder { public: InternedString_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit InternedString_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166407,7 +165682,7 @@ const char* ProfilePacket_ProcessHeapSamples_ClientError_Name(::perfetto::protos return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class PerfSampleDefaults_Decoder : public ::protozero::TypedProtoDecoder { +class PerfSampleDefaults_Decoder : public ::protozero::TypedProtoDecoder { public: PerfSampleDefaults_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfSampleDefaults_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166499,7 +165774,7 @@ class PerfSampleDefaults : public ::protozero::Message { } }; -class PerfSample_Decoder : public ::protozero::TypedProtoDecoder { +class PerfSample_Decoder : public ::protozero::TypedProtoDecoder { public: PerfSample_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfSample_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166753,7 +166028,7 @@ class PerfSample : public ::protozero::Message { }; -class PerfSample_ProducerEvent_Decoder : public ::protozero::TypedProtoDecoder { +class PerfSample_ProducerEvent_Decoder : public ::protozero::TypedProtoDecoder { public: PerfSample_ProducerEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfSample_ProducerEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166797,7 +166072,7 @@ class PerfSample_ProducerEvent : public ::protozero::Message { } }; -class Profiling_Decoder : public ::protozero::TypedProtoDecoder { +class Profiling_Decoder : public ::protozero::TypedProtoDecoder { public: Profiling_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Profiling_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166843,7 +166118,7 @@ class Profiling : public ::protozero::Message { static inline const StackUnwindError UNWIND_ERROR_PTRACE_CALL = StackUnwindError::UNWIND_ERROR_PTRACE_CALL; }; -class StreamingProfilePacket_Decoder : public ::protozero::TypedProtoDecoder { +class StreamingProfilePacket_Decoder : public ::protozero::TypedProtoDecoder { public: StreamingProfilePacket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StreamingProfilePacket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -166922,7 +166197,7 @@ class StreamingProfilePacket : public ::protozero::Message { } }; -class StreamingFree_Decoder : public ::protozero::TypedProtoDecoder { +class StreamingFree_Decoder : public ::protozero::TypedProtoDecoder { public: StreamingFree_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StreamingFree_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167001,7 +166276,7 @@ class StreamingFree : public ::protozero::Message { } }; -class StreamingAllocation_Decoder : public ::protozero::TypedProtoDecoder { +class StreamingAllocation_Decoder : public ::protozero::TypedProtoDecoder { public: StreamingAllocation_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StreamingAllocation_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167143,7 +166418,7 @@ class StreamingAllocation : public ::protozero::Message { } }; -class ProfilePacket_Decoder : public ::protozero::TypedProtoDecoder { +class ProfilePacket_Decoder : public ::protozero::TypedProtoDecoder { public: ProfilePacket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProfilePacket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167290,7 +166565,7 @@ class ProfilePacket : public ::protozero::Message { } }; -class ProfilePacket_ProcessHeapSamples_Decoder : public ::protozero::TypedProtoDecoder { +class ProfilePacket_ProcessHeapSamples_Decoder : public ::protozero::TypedProtoDecoder { public: ProfilePacket_ProcessHeapSamples_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProfilePacket_ProcessHeapSamples_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167606,7 +166881,7 @@ class ProfilePacket_ProcessHeapSamples : public ::protozero::Message { }; -class ProfilePacket_ProcessStats_Decoder : public ::protozero::TypedProtoDecoder { +class ProfilePacket_ProcessStats_Decoder : public ::protozero::TypedProtoDecoder { public: ProfilePacket_ProcessStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProfilePacket_ProcessStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167744,7 +167019,7 @@ class ProfilePacket_ProcessStats : public ::protozero::Message { } }; -class ProfilePacket_Histogram_Decoder : public ::protozero::TypedProtoDecoder { +class ProfilePacket_Histogram_Decoder : public ::protozero::TypedProtoDecoder { public: ProfilePacket_Histogram_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProfilePacket_Histogram_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167778,7 +167053,7 @@ class ProfilePacket_Histogram : public ::protozero::Message { }; -class ProfilePacket_Histogram_Bucket_Decoder : public ::protozero::TypedProtoDecoder { +class ProfilePacket_Histogram_Bucket_Decoder : public ::protozero::TypedProtoDecoder { public: ProfilePacket_Histogram_Bucket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProfilePacket_Histogram_Bucket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -167857,7 +167132,7 @@ class ProfilePacket_Histogram_Bucket : public ::protozero::Message { } }; -class ProfilePacket_HeapSample_Decoder : public ::protozero::TypedProtoDecoder { +class ProfilePacket_HeapSample_Decoder : public ::protozero::TypedProtoDecoder { public: ProfilePacket_HeapSample_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProfilePacket_HeapSample_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -168072,7 +167347,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SmapsPacket_Decoder : public ::protozero::TypedProtoDecoder { +class SmapsPacket_Decoder : public ::protozero::TypedProtoDecoder { public: SmapsPacket_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SmapsPacket_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -168126,7 +167401,7 @@ class SmapsPacket : public ::protozero::Message { }; -class SmapsEntry_Decoder : public ::protozero::TypedProtoDecoder { +class SmapsEntry_Decoder : public ::protozero::TypedProtoDecoder { public: SmapsEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SmapsEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -168505,7 +167780,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeActiveProcesses_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeActiveProcesses_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeActiveProcesses_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeActiveProcesses_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -168613,7 +167888,7 @@ const char* ChromeApplicationStateInfo_ChromeApplicationState_Name(::perfetto::p return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeApplicationStateInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeApplicationStateInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeApplicationStateInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeApplicationStateInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169111,7 +168386,7 @@ const char* ChromeCompositorSchedulerState_BeginImplFrameDeadlineMode_Name(::per return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class CompositorTimingHistory_Decoder : public ::protozero::TypedProtoDecoder { +class CompositorTimingHistory_Decoder : public ::protozero::TypedProtoDecoder { public: CompositorTimingHistory_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CompositorTimingHistory_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169274,7 +168549,7 @@ class CompositorTimingHistory : public ::protozero::Message { } }; -class BeginFrameSourceState_Decoder : public ::protozero::TypedProtoDecoder { +class BeginFrameSourceState_Decoder : public ::protozero::TypedProtoDecoder { public: BeginFrameSourceState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BeginFrameSourceState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169370,7 +168645,7 @@ class BeginFrameSourceState : public ::protozero::Message { }; -class BeginFrameObserverState_Decoder : public ::protozero::TypedProtoDecoder { +class BeginFrameObserverState_Decoder : public ::protozero::TypedProtoDecoder { public: BeginFrameObserverState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BeginFrameObserverState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169424,7 +168699,7 @@ class BeginFrameObserverState : public ::protozero::Message { }; -class BeginImplFrameArgs_Decoder : public ::protozero::TypedProtoDecoder { +class BeginImplFrameArgs_Decoder : public ::protozero::TypedProtoDecoder { public: BeginImplFrameArgs_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BeginImplFrameArgs_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169562,7 +168837,7 @@ class BeginImplFrameArgs : public ::protozero::Message { }; -class BeginImplFrameArgs_TimestampsInUs_Decoder : public ::protozero::TypedProtoDecoder { +class BeginImplFrameArgs_TimestampsInUs_Decoder : public ::protozero::TypedProtoDecoder { public: BeginImplFrameArgs_TimestampsInUs_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BeginImplFrameArgs_TimestampsInUs_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169725,7 +169000,7 @@ class BeginImplFrameArgs_TimestampsInUs : public ::protozero::Message { } }; -class BeginFrameArgs_Decoder : public ::protozero::TypedProtoDecoder { +class BeginFrameArgs_Decoder : public ::protozero::TypedProtoDecoder { public: BeginFrameArgs_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BeginFrameArgs_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -169977,7 +169252,7 @@ class BeginFrameArgs : public ::protozero::Message { } }; -class ChromeCompositorStateMachine_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeCompositorStateMachine_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeCompositorStateMachine_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeCompositorStateMachine_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -170029,7 +169304,7 @@ class ChromeCompositorStateMachine : public ::protozero::Message { }; -class ChromeCompositorStateMachine_MinorState_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeCompositorStateMachine_MinorState_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeCompositorStateMachine_MinorState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeCompositorStateMachine_MinorState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -171007,7 +170282,7 @@ class ChromeCompositorStateMachine_MinorState : public ::protozero::Message { } }; -class ChromeCompositorStateMachine_MajorState_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeCompositorStateMachine_MajorState_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeCompositorStateMachine_MajorState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeCompositorStateMachine_MajorState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -171167,7 +170442,7 @@ class ChromeCompositorStateMachine_MajorState : public ::protozero::Message { } }; -class ChromeCompositorSchedulerState_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeCompositorSchedulerState_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeCompositorSchedulerState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeCompositorSchedulerState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -171534,7 +170809,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeContentSettingsEventInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeContentSettingsEventInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeContentSettingsEventInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeContentSettingsEventInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -171745,7 +171020,7 @@ const char* ChromeFrameReporter_FrameType_Name(::perfetto::protos::pbzero::Chrom return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeFrameReporter_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeFrameReporter_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeFrameReporter_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeFrameReporter_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -172204,7 +171479,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeHistogramSample_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeHistogramSample_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeHistogramSample_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeHistogramSample_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -172310,7 +171585,7 @@ class ChromeHistogramSample : public ::protozero::Message { } }; -class HistogramName_Decoder : public ::protozero::TypedProtoDecoder { +class HistogramName_Decoder : public ::protozero::TypedProtoDecoder { public: HistogramName_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit HistogramName_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -172398,7 +171673,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeKeyedService_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeKeyedService_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeKeyedService_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeKeyedService_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -172671,7 +171946,7 @@ const char* ChromeLatencyInfo_InputType_Name(::perfetto::protos::pbzero::ChromeL return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeLatencyInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeLatencyInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeLatencyInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeLatencyInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -172901,7 +172176,7 @@ class ChromeLatencyInfo : public ::protozero::Message { } }; -class ChromeLatencyInfo_ComponentInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeLatencyInfo_ComponentInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeLatencyInfo_ComponentInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeLatencyInfo_ComponentInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173162,7 +172437,7 @@ const char* ChromeLegacyIpc_MessageClass_Name(::perfetto::protos::pbzero::Chrome return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeLegacyIpc_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeLegacyIpc_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeLegacyIpc_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeLegacyIpc_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173287,7 +172562,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeMessagePump_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeMessagePump_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeMessagePump_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeMessagePump_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173369,7 +172644,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeMojoEventInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeMojoEventInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeMojoEventInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeMojoEventInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173568,7 +172843,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeProcessDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeProcessDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeProcessDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeProcessDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173759,7 +173034,7 @@ const char* ChromeRAILMode_Name(::perfetto::protos::pbzero::ChromeRAILMode value return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class ChromeRendererSchedulerState_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeRendererSchedulerState_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeRendererSchedulerState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeRendererSchedulerState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173862,7 +173137,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeThreadDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeThreadDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeThreadDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeThreadDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -173965,7 +173240,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeUserEvent_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeUserEvent_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeUserEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeUserEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174053,7 +173328,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeWindowHandleEventInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeWindowHandleEventInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeWindowHandleEventInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeWindowHandleEventInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174215,7 +173490,7 @@ const char* LogMessage_Priority_Name(::perfetto::protos::pbzero::LogMessage_Prio return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class LogMessageBody_Decoder : public ::protozero::TypedProtoDecoder { +class LogMessageBody_Decoder : public ::protozero::TypedProtoDecoder { public: LogMessageBody_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LogMessageBody_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174279,7 +173554,7 @@ class LogMessageBody : public ::protozero::Message { } }; -class LogMessage_Decoder : public ::protozero::TypedProtoDecoder { +class LogMessage_Decoder : public ::protozero::TypedProtoDecoder { public: LogMessage_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit LogMessage_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174395,7 +173670,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TrackEventRangeOfInterest_Decoder : public ::protozero::TypedProtoDecoder { +class TrackEventRangeOfInterest_Decoder : public ::protozero::TypedProtoDecoder { public: TrackEventRangeOfInterest_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TrackEventRangeOfInterest_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174456,13 +173731,17 @@ namespace perfetto { namespace protos { namespace pbzero { -class Screenshot_Decoder : public ::protozero::TypedProtoDecoder { +class Screenshot_Decoder : public ::protozero::TypedProtoDecoder { public: Screenshot_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Screenshot_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} explicit Screenshot_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {} bool has_jpg_image() const { return at<1>().valid(); } ::protozero::ConstBytes jpg_image() const { return at<1>().as_bytes(); } + bool has_pam_image() const { return at<2>().valid(); } + ::protozero::ConstBytes pam_image() const { return at<2>().as_bytes(); } + bool has_ppm_image() const { return at<3>().valid(); } + ::protozero::ConstBytes ppm_image() const { return at<3>().as_bytes(); } }; class Screenshot : public ::protozero::Message { @@ -174470,6 +173749,8 @@ class Screenshot : public ::protozero::Message { using Decoder = Screenshot_Decoder; enum : int32_t { kJpgImageFieldNumber = 1, + kPamImageFieldNumber = 2, + kPpmImageFieldNumber = 3, }; static constexpr const char* GetName() { return ".perfetto.protos.Screenshot"; } @@ -174497,6 +173778,54 @@ class Screenshot : public ::protozero::Message { ::protozero::proto_utils::ProtoSchemaType::kBytes> ::Append(*this, field_id, value); } + + using FieldMetadata_PamImage = + ::protozero::proto_utils::FieldMetadata< + 2, + ::protozero::proto_utils::RepetitionType::kNotRepeated, + ::protozero::proto_utils::ProtoSchemaType::kBytes, + std::string, + Screenshot>; + + static constexpr FieldMetadata_PamImage kPamImage{}; + void set_pam_image(const uint8_t* data, size_t size) { + AppendBytes(FieldMetadata_PamImage::kFieldId, data, size); + } + void set_pam_image(::protozero::ConstBytes bytes) { + AppendBytes(FieldMetadata_PamImage::kFieldId, bytes.data, bytes.size); + } + void set_pam_image(std::string value) { + static constexpr uint32_t field_id = FieldMetadata_PamImage::kFieldId; + // Call the appropriate protozero::Message::Append(field_id, ...) + // method based on the type of the field. + ::protozero::internal::FieldWriter< + ::protozero::proto_utils::ProtoSchemaType::kBytes> + ::Append(*this, field_id, value); + } + + using FieldMetadata_PpmImage = + ::protozero::proto_utils::FieldMetadata< + 3, + ::protozero::proto_utils::RepetitionType::kNotRepeated, + ::protozero::proto_utils::ProtoSchemaType::kBytes, + std::string, + Screenshot>; + + static constexpr FieldMetadata_PpmImage kPpmImage{}; + void set_ppm_image(const uint8_t* data, size_t size) { + AppendBytes(FieldMetadata_PpmImage::kFieldId, data, size); + } + void set_ppm_image(::protozero::ConstBytes bytes) { + AppendBytes(FieldMetadata_PpmImage::kFieldId, bytes.data, bytes.size); + } + void set_ppm_image(std::string value) { + static constexpr uint32_t field_id = FieldMetadata_PpmImage::kFieldId; + // Call the appropriate protozero::Message::Append(field_id, ...) + // method based on the type of the field. + ::protozero::internal::FieldWriter< + ::protozero::proto_utils::ProtoSchemaType::kBytes> + ::Append(*this, field_id, value); + } }; } // Namespace. @@ -174523,7 +173852,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class SourceLocation_Decoder : public ::protozero::TypedProtoDecoder { +class SourceLocation_Decoder : public ::protozero::TypedProtoDecoder { public: SourceLocation_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SourceLocation_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174635,7 +173964,7 @@ class SourceLocation : public ::protozero::Message { } }; -class UnsymbolizedSourceLocation_Decoder : public ::protozero::TypedProtoDecoder { +class UnsymbolizedSourceLocation_Decoder : public ::protozero::TypedProtoDecoder { public: UnsymbolizedSourceLocation_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UnsymbolizedSourceLocation_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174738,7 +174067,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TaskExecution_Decoder : public ::protozero::TypedProtoDecoder { +class TaskExecution_Decoder : public ::protozero::TypedProtoDecoder { public: TaskExecution_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TaskExecution_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -174807,7 +174136,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PerfettoMetatrace_Decoder : public ::protozero::TypedProtoDecoder { +class PerfettoMetatrace_Decoder : public ::protozero::TypedProtoDecoder { public: PerfettoMetatrace_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfettoMetatrace_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175060,7 +174389,7 @@ class PerfettoMetatrace : public ::protozero::Message { }; -class PerfettoMetatrace_InternedString_Decoder : public ::protozero::TypedProtoDecoder { +class PerfettoMetatrace_InternedString_Decoder : public ::protozero::TypedProtoDecoder { public: PerfettoMetatrace_InternedString_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfettoMetatrace_InternedString_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175124,7 +174453,7 @@ class PerfettoMetatrace_InternedString : public ::protozero::Message { } }; -class PerfettoMetatrace_Arg_Decoder : public ::protozero::TypedProtoDecoder { +class PerfettoMetatrace_Arg_Decoder : public ::protozero::TypedProtoDecoder { public: PerfettoMetatrace_Arg_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PerfettoMetatrace_Arg_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175268,7 +174597,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TracingServiceEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175508,7 +174837,7 @@ class TracingServiceEvent : public ::protozero::Message { } }; -class TracingServiceEvent_DataSources_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceEvent_DataSources_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceEvent_DataSources_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceEvent_DataSources_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175542,7 +174871,7 @@ class TracingServiceEvent_DataSources : public ::protozero::Message { }; -class TracingServiceEvent_DataSources_DataSource_Decoder : public ::protozero::TypedProtoDecoder { +class TracingServiceEvent_DataSources_DataSource_Decoder : public ::protozero::TypedProtoDecoder { public: TracingServiceEvent_DataSources_DataSource_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracingServiceEvent_DataSources_DataSource_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175644,7 +174973,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class AndroidEnergyEstimationBreakdown_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidEnergyEstimationBreakdown_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidEnergyEstimationBreakdown_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidEnergyEstimationBreakdown_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175737,7 +175066,7 @@ class AndroidEnergyEstimationBreakdown : public ::protozero::Message { }; -class AndroidEnergyEstimationBreakdown_EnergyUidBreakdown_Decoder : public ::protozero::TypedProtoDecoder { +class AndroidEnergyEstimationBreakdown_EnergyUidBreakdown_Decoder : public ::protozero::TypedProtoDecoder { public: AndroidEnergyEstimationBreakdown_EnergyUidBreakdown_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit AndroidEnergyEstimationBreakdown_EnergyUidBreakdown_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175827,7 +175156,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class EntityStateResidency_Decoder : public ::protozero::TypedProtoDecoder { +class EntityStateResidency_Decoder : public ::protozero::TypedProtoDecoder { public: EntityStateResidency_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EntityStateResidency_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -175879,7 +175208,7 @@ class EntityStateResidency : public ::protozero::Message { }; -class EntityStateResidency_StateResidency_Decoder : public ::protozero::TypedProtoDecoder { +class EntityStateResidency_StateResidency_Decoder : public ::protozero::TypedProtoDecoder { public: EntityStateResidency_StateResidency_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EntityStateResidency_StateResidency_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176000,7 +175329,7 @@ class EntityStateResidency_StateResidency : public ::protozero::Message { } }; -class EntityStateResidency_PowerEntityState_Decoder : public ::protozero::TypedProtoDecoder { +class EntityStateResidency_PowerEntityState_Decoder : public ::protozero::TypedProtoDecoder { public: EntityStateResidency_PowerEntityState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EntityStateResidency_PowerEntityState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176136,7 +175465,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class BatteryCounters_Decoder : public ::protozero::TypedProtoDecoder { +class BatteryCounters_Decoder : public ::protozero::TypedProtoDecoder { public: BatteryCounters_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit BatteryCounters_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176337,7 +175666,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class PowerRails_Decoder : public ::protozero::TypedProtoDecoder { +class PowerRails_Decoder : public ::protozero::TypedProtoDecoder { public: PowerRails_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PowerRails_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176410,7 +175739,7 @@ class PowerRails : public ::protozero::Message { } }; -class PowerRails_EnergyData_Decoder : public ::protozero::TypedProtoDecoder { +class PowerRails_EnergyData_Decoder : public ::protozero::TypedProtoDecoder { public: PowerRails_EnergyData_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PowerRails_EnergyData_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176489,7 +175818,7 @@ class PowerRails_EnergyData : public ::protozero::Message { } }; -class PowerRails_RailDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class PowerRails_RailDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: PowerRails_RailDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit PowerRails_RailDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176634,7 +175963,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ProcessStats_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessStats_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -176691,7 +176020,7 @@ class ProcessStats : public ::protozero::Message { } }; -class ProcessStats_Process_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessStats_Process_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessStats_Process_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessStats_Process_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177203,7 +176532,7 @@ class ProcessStats_Process : public ::protozero::Message { } }; -class ProcessStats_FDInfo_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessStats_FDInfo_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessStats_FDInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessStats_FDInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177267,7 +176596,7 @@ class ProcessStats_FDInfo : public ::protozero::Message { } }; -class ProcessStats_Thread_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessStats_Thread_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessStats_Thread_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessStats_Thread_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177336,7 +176665,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ProcessTree_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessTree_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessTree_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessTree_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177409,7 +176738,7 @@ class ProcessTree : public ::protozero::Message { } }; -class ProcessTree_Process_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessTree_Process_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessTree_Process_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessTree_Process_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177599,7 +176928,7 @@ class ProcessTree_Process : public ::protozero::Message { } }; -class ProcessTree_Thread_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessTree_Thread_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessTree_Thread_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessTree_Thread_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177736,7 +177065,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class StatsdAtom_Decoder : public ::protozero::TypedProtoDecoder { +class StatsdAtom_Decoder : public ::protozero::TypedProtoDecoder { public: StatsdAtom_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit StatsdAtom_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177790,7 +177119,7 @@ class StatsdAtom : public ::protozero::Message { } }; -class Atom_Decoder : public ::protozero::TypedProtoDecoder { +class Atom_Decoder : public ::protozero::TypedProtoDecoder { public: Atom_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Atom_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -177896,7 +177225,7 @@ const char* SysStats_PsiSample_PsiResource_Name(::perfetto::protos::pbzero::SysS return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class SysStats_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178236,7 +177565,7 @@ class SysStats : public ::protozero::Message { } }; -class SysStats_CpuIdleState_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_CpuIdleState_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_CpuIdleState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_CpuIdleState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178290,7 +177619,7 @@ class SysStats_CpuIdleState : public ::protozero::Message { }; -class SysStats_CpuIdleStateEntry_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_CpuIdleStateEntry_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_CpuIdleStateEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_CpuIdleStateEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178354,7 +177683,7 @@ class SysStats_CpuIdleStateEntry : public ::protozero::Message { } }; -class SysStats_ThermalZone_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_ThermalZone_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_ThermalZone_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_ThermalZone_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178445,7 +177774,7 @@ class SysStats_ThermalZone : public ::protozero::Message { } }; -class SysStats_PsiSample_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_PsiSample_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_PsiSample_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_PsiSample_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178515,7 +177844,7 @@ class SysStats_PsiSample : public ::protozero::Message { } }; -class SysStats_DiskStat_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_DiskStat_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_DiskStat_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_DiskStat_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178726,7 +178055,7 @@ class SysStats_DiskStat : public ::protozero::Message { } }; -class SysStats_BuddyInfo_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_BuddyInfo_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_BuddyInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_BuddyInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178817,7 +178146,7 @@ class SysStats_BuddyInfo : public ::protozero::Message { } }; -class SysStats_DevfreqValue_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_DevfreqValue_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_DevfreqValue_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_DevfreqValue_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178881,7 +178210,7 @@ class SysStats_DevfreqValue : public ::protozero::Message { } }; -class SysStats_InterruptCount_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_InterruptCount_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_InterruptCount_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_InterruptCount_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -178939,7 +178268,7 @@ class SysStats_InterruptCount : public ::protozero::Message { } }; -class SysStats_CpuTimes_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_CpuTimes_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_CpuTimes_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_CpuTimes_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179144,7 +178473,7 @@ class SysStats_CpuTimes : public ::protozero::Message { } }; -class SysStats_VmstatValue_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_VmstatValue_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_VmstatValue_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_VmstatValue_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179202,7 +178531,7 @@ class SysStats_VmstatValue : public ::protozero::Message { } }; -class SysStats_MeminfoValue_Decoder : public ::protozero::TypedProtoDecoder { +class SysStats_MeminfoValue_Decoder : public ::protozero::TypedProtoDecoder { public: SysStats_MeminfoValue_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SysStats_MeminfoValue_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179292,7 +178621,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class CpuInfo_Decoder : public ::protozero::TypedProtoDecoder { +class CpuInfo_Decoder : public ::protozero::TypedProtoDecoder { public: CpuInfo_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuInfo_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179327,7 +178656,7 @@ class CpuInfo : public ::protozero::Message { }; -class CpuInfo_Cpu_Decoder : public ::protozero::TypedProtoDecoder { +class CpuInfo_Cpu_Decoder : public ::protozero::TypedProtoDecoder { public: CpuInfo_Cpu_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuInfo_Cpu_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179450,7 +178779,7 @@ class CpuInfo_Cpu : public ::protozero::Message { } }; -class CpuInfo_ArmCpuIdentifier_Decoder : public ::protozero::TypedProtoDecoder { +class CpuInfo_ArmCpuIdentifier_Decoder : public ::protozero::TypedProtoDecoder { public: CpuInfo_ArmCpuIdentifier_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit CpuInfo_ArmCpuIdentifier_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179614,7 +178943,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ChromeStudyTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeStudyTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeStudyTranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeStudyTranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179648,7 +178977,7 @@ class ChromeStudyTranslationTable : public ::protozero::Message { }; -class ChromeStudyTranslationTable_HashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeStudyTranslationTable_HashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeStudyTranslationTable_HashToNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeStudyTranslationTable_HashToNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179712,7 +179041,7 @@ class ChromeStudyTranslationTable_HashToNameEntry : public ::protozero::Message } }; -class ProcessTrackNameTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessTrackNameTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessTrackNameTranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessTrackNameTranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179746,7 +179075,7 @@ class ProcessTrackNameTranslationTable : public ::protozero::Message { }; -class ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179816,7 +179145,7 @@ class ProcessTrackNameTranslationTable_RawToDeobfuscatedNameEntry : public ::pro } }; -class SliceNameTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class SliceNameTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: SliceNameTranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SliceNameTranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179850,7 +179179,7 @@ class SliceNameTranslationTable : public ::protozero::Message { }; -class SliceNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class SliceNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: SliceNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit SliceNameTranslationTable_RawToDeobfuscatedNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179920,7 +179249,7 @@ class SliceNameTranslationTable_RawToDeobfuscatedNameEntry : public ::protozero: } }; -class ChromePerformanceMarkTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class ChromePerformanceMarkTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: ChromePerformanceMarkTranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromePerformanceMarkTranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -179972,7 +179301,7 @@ class ChromePerformanceMarkTranslationTable : public ::protozero::Message { }; -class ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromePerformanceMarkTranslationTable_MarkHashToNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180036,7 +179365,7 @@ class ChromePerformanceMarkTranslationTable_MarkHashToNameEntry : public ::proto } }; -class ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromePerformanceMarkTranslationTable_SiteHashToNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180100,7 +179429,7 @@ class ChromePerformanceMarkTranslationTable_SiteHashToNameEntry : public ::proto } }; -class ChromeUserEventTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeUserEventTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeUserEventTranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeUserEventTranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180134,7 +179463,7 @@ class ChromeUserEventTranslationTable : public ::protozero::Message { }; -class ChromeUserEventTranslationTable_ActionHashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeUserEventTranslationTable_ActionHashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeUserEventTranslationTable_ActionHashToNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeUserEventTranslationTable_ActionHashToNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180198,7 +179527,7 @@ class ChromeUserEventTranslationTable_ActionHashToNameEntry : public ::protozero } }; -class ChromeHistorgramTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeHistorgramTranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeHistorgramTranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeHistorgramTranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180232,7 +179561,7 @@ class ChromeHistorgramTranslationTable : public ::protozero::Message { }; -class ChromeHistorgramTranslationTable_HashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { +class ChromeHistorgramTranslationTable_HashToNameEntry_Decoder : public ::protozero::TypedProtoDecoder { public: ChromeHistorgramTranslationTable_HashToNameEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ChromeHistorgramTranslationTable_HashToNameEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180296,7 +179625,7 @@ class ChromeHistorgramTranslationTable_HashToNameEntry : public ::protozero::Mes } }; -class TranslationTable_Decoder : public ::protozero::TypedProtoDecoder { +class TranslationTable_Decoder : public ::protozero::TypedProtoDecoder { public: TranslationTable_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TranslationTable_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180446,7 +179775,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class RemoteClockSync_Decoder : public ::protozero::TypedProtoDecoder { +class RemoteClockSync_Decoder : public ::protozero::TypedProtoDecoder { public: RemoteClockSync_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RemoteClockSync_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180480,7 +179809,7 @@ class RemoteClockSync : public ::protozero::Message { }; -class RemoteClockSync_SyncedClocks_Decoder : public ::protozero::TypedProtoDecoder { +class RemoteClockSync_SyncedClocks_Decoder : public ::protozero::TypedProtoDecoder { public: RemoteClockSync_SyncedClocks_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit RemoteClockSync_SyncedClocks_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180563,7 +179892,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TracePacketDefaults_Decoder : public ::protozero::TypedProtoDecoder { +class TracePacketDefaults_Decoder : public ::protozero::TypedProtoDecoder { public: TracePacketDefaults_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TracePacketDefaults_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180683,7 +180012,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TestEvent_Decoder : public ::protozero::TypedProtoDecoder { +class TestEvent_Decoder : public ::protozero::TypedProtoDecoder { public: TestEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TestEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -180807,7 +180136,7 @@ class TestEvent : public ::protozero::Message { }; -class TestEvent_TestPayload_Decoder : public ::protozero::TypedProtoDecoder { +class TestEvent_TestPayload_Decoder : public ::protozero::TypedProtoDecoder { public: TestEvent_TestPayload_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TestEvent_TestPayload_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181007,7 +180336,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class TestExtensionChild_Decoder : public ::protozero::TypedProtoDecoder { +class TestExtensionChild_Decoder : public ::protozero::TypedProtoDecoder { public: TestExtensionChild_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit TestExtensionChild_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181231,7 +180560,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class Trace_Decoder : public ::protozero::TypedProtoDecoder { +class Trace_Decoder : public ::protozero::TypedProtoDecoder { public: Trace_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit Trace_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181295,7 +180624,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class ExtensionDescriptor_Decoder : public ::protozero::TypedProtoDecoder { +class ExtensionDescriptor_Decoder : public ::protozero::TypedProtoDecoder { public: ExtensionDescriptor_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit ExtensionDescriptor_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181428,7 +180757,7 @@ const char* MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_MemoryNodeEntry_Uni return "PBZERO_UNKNOWN_ENUM_VALUE"; } -class MemoryTrackerSnapshot_Decoder : public ::protozero::TypedProtoDecoder { +class MemoryTrackerSnapshot_Decoder : public ::protozero::TypedProtoDecoder { public: MemoryTrackerSnapshot_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MemoryTrackerSnapshot_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181512,7 +180841,7 @@ class MemoryTrackerSnapshot : public ::protozero::Message { }; -class MemoryTrackerSnapshot_ProcessSnapshot_Decoder : public ::protozero::TypedProtoDecoder { +class MemoryTrackerSnapshot_ProcessSnapshot_Decoder : public ::protozero::TypedProtoDecoder { public: MemoryTrackerSnapshot_ProcessSnapshot_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MemoryTrackerSnapshot_ProcessSnapshot_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181585,7 +180914,7 @@ class MemoryTrackerSnapshot_ProcessSnapshot : public ::protozero::Message { }; -class MemoryTrackerSnapshot_ProcessSnapshot_MemoryEdge_Decoder : public ::protozero::TypedProtoDecoder { +class MemoryTrackerSnapshot_ProcessSnapshot_MemoryEdge_Decoder : public ::protozero::TypedProtoDecoder { public: MemoryTrackerSnapshot_ProcessSnapshot_MemoryEdge_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MemoryTrackerSnapshot_ProcessSnapshot_MemoryEdge_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181685,7 +181014,7 @@ class MemoryTrackerSnapshot_ProcessSnapshot_MemoryEdge : public ::protozero::Mes } }; -class MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_Decoder : public ::protozero::TypedProtoDecoder { +class MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_Decoder : public ::protozero::TypedProtoDecoder { public: MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181809,7 +181138,7 @@ class MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode : public ::protozero::Mes }; -class MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_MemoryNodeEntry_Decoder : public ::protozero::TypedProtoDecoder { +class MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_MemoryNodeEntry_Decoder : public ::protozero::TypedProtoDecoder { public: MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_MemoryNodeEntry_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit MemoryTrackerSnapshot_ProcessSnapshot_MemoryNode_MemoryNodeEntry_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -181960,7 +181289,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class UiState_Decoder : public ::protozero::TypedProtoDecoder { +class UiState_Decoder : public ::protozero::TypedProtoDecoder { public: UiState_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UiState_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -182036,7 +181365,7 @@ class UiState : public ::protozero::Message { }; -class UiState_HighlightProcess_Decoder : public ::protozero::TypedProtoDecoder { +class UiState_HighlightProcess_Decoder : public ::protozero::TypedProtoDecoder { public: UiState_HighlightProcess_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit UiState_HighlightProcess_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -182131,7 +181460,7 @@ namespace perfetto { namespace protos { namespace pbzero { -class EvdevEvent_Decoder : public ::protozero::TypedProtoDecoder { +class EvdevEvent_Decoder : public ::protozero::TypedProtoDecoder { public: EvdevEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EvdevEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -182186,7 +181515,7 @@ class EvdevEvent : public ::protozero::Message { }; -class EvdevEvent_InputEvent_Decoder : public ::protozero::TypedProtoDecoder { +class EvdevEvent_InputEvent_Decoder : public ::protozero::TypedProtoDecoder { public: EvdevEvent_InputEvent_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {} explicit EvdevEvent_InputEvent_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast(raw.data()), raw.size()) {} @@ -185668,6 +184997,8 @@ class PERFETTO_EXPORT_COMPONENT Screenshot : public ::protozero::CppMessageObj { public: enum FieldNumbers { kJpgImageFieldNumber = 1, + kPamImageFieldNumber = 2, + kPpmImageFieldNumber = 3, }; Screenshot(); @@ -185689,14 +185020,26 @@ class PERFETTO_EXPORT_COMPONENT Screenshot : public ::protozero::CppMessageObj { void set_jpg_image(const std::string& value) { jpg_image_ = value; _has_field_.set(1); } void set_jpg_image(const void* p, size_t s) { jpg_image_.assign(reinterpret_cast(p), s); _has_field_.set(1); } + bool has_pam_image() const { return _has_field_[2]; } + const std::string& pam_image() const { return pam_image_; } + void set_pam_image(const std::string& value) { pam_image_ = value; _has_field_.set(2); } + void set_pam_image(const void* p, size_t s) { pam_image_.assign(reinterpret_cast(p), s); _has_field_.set(2); } + + bool has_ppm_image() const { return _has_field_[3]; } + const std::string& ppm_image() const { return ppm_image_; } + void set_ppm_image(const std::string& value) { ppm_image_ = value; _has_field_.set(3); } + void set_ppm_image(const void* p, size_t s) { ppm_image_.assign(reinterpret_cast(p), s); _has_field_.set(3); } + private: std::string jpg_image_{}; + std::string pam_image_{}; + std::string ppm_image_{}; // Allows to preserve unknown protobuf fields for compatibility // with future versions of .proto files. std::string unknown_fields_; - std::bitset<2> _has_field_{}; + std::bitset<4> _has_field_{}; }; } // namespace perfetto @@ -185963,8 +185306,6 @@ class LogMessage; class TaskExecution; class DebugAnnotation; class DebugAnnotation_NestedValue; -class TrackEvent_Callstack; -class TrackEvent_Callstack_Frame; enum TrackEvent_Type : int; enum TrackEvent_LegacyEvent_FlowDirection : int; enum TrackEvent_LegacyEvent_InstantEventScope : int; @@ -186158,7 +185499,6 @@ class PERFETTO_EXPORT_COMPONENT TrackEventDefaults : public ::protozero::CppMess class PERFETTO_EXPORT_COMPONENT TrackEvent : public ::protozero::CppMessageObj { public: - using Callstack = TrackEvent_Callstack; using LegacyEvent = TrackEvent_LegacyEvent; using Type = TrackEvent_Type; static constexpr auto TYPE_UNSPECIFIED = TrackEvent_Type_TYPE_UNSPECIFIED; @@ -186188,8 +185528,6 @@ class PERFETTO_EXPORT_COMPONENT TrackEvent : public ::protozero::CppMessageObj { kCorrelationIdFieldNumber = 52, kCorrelationIdStrFieldNumber = 53, kCorrelationIdStrIidFieldNumber = 54, - kCallstackFieldNumber = 55, - kCallstackIidFieldNumber = 56, kDebugAnnotationsFieldNumber = 4, kTaskExecutionFieldNumber = 5, kLogMessageFieldNumber = 21, @@ -186339,14 +185677,6 @@ class PERFETTO_EXPORT_COMPONENT TrackEvent : public ::protozero::CppMessageObj { uint64_t correlation_id_str_iid() const { return correlation_id_str_iid_; } void set_correlation_id_str_iid(uint64_t value) { correlation_id_str_iid_ = value; _has_field_.set(54); } - bool has_callstack() const { return _has_field_[55]; } - const TrackEvent_Callstack& callstack() const { return *callstack_; } - TrackEvent_Callstack* mutable_callstack() { _has_field_.set(55); return callstack_.get(); } - - bool has_callstack_iid() const { return _has_field_[56]; } - uint64_t callstack_iid() const { return callstack_iid_; } - void set_callstack_iid(uint64_t value) { callstack_iid_ = value; _has_field_.set(56); } - const std::vector& debug_annotations() const { return debug_annotations_; } std::vector* mutable_debug_annotations() { return &debug_annotations_; } int debug_annotations_size() const; @@ -186477,8 +185807,6 @@ class PERFETTO_EXPORT_COMPONENT TrackEvent : public ::protozero::CppMessageObj { uint64_t correlation_id_{}; std::string correlation_id_str_{}; uint64_t correlation_id_str_iid_{}; - ::protozero::CopyablePtr callstack_; - uint64_t callstack_iid_{}; std::vector debug_annotations_; ::protozero::CopyablePtr task_execution_; ::protozero::CopyablePtr log_message_; @@ -186511,7 +185839,7 @@ class PERFETTO_EXPORT_COMPONENT TrackEvent : public ::protozero::CppMessageObj { // with future versions of .proto files. std::string unknown_fields_; - std::bitset<57> _has_field_{}; + std::bitset<55> _has_field_{}; }; @@ -186653,91 +185981,6 @@ class PERFETTO_EXPORT_COMPONENT TrackEvent_LegacyEvent : public ::protozero::Cpp std::bitset<20> _has_field_{}; }; - -class PERFETTO_EXPORT_COMPONENT TrackEvent_Callstack : public ::protozero::CppMessageObj { - public: - using Frame = TrackEvent_Callstack_Frame; - enum FieldNumbers { - kFramesFieldNumber = 1, - }; - - TrackEvent_Callstack(); - ~TrackEvent_Callstack() override; - TrackEvent_Callstack(TrackEvent_Callstack&&) noexcept; - TrackEvent_Callstack& operator=(TrackEvent_Callstack&&); - TrackEvent_Callstack(const TrackEvent_Callstack&); - TrackEvent_Callstack& operator=(const TrackEvent_Callstack&); - bool operator==(const TrackEvent_Callstack&) const; - bool operator!=(const TrackEvent_Callstack& other) const { return !(*this == other); } - - bool ParseFromArray(const void*, size_t) override; - std::string SerializeAsString() const override; - std::vector SerializeAsArray() const override; - void Serialize(::protozero::Message*) const; - - const std::vector& frames() const { return frames_; } - std::vector* mutable_frames() { return &frames_; } - int frames_size() const; - void clear_frames(); - TrackEvent_Callstack_Frame* add_frames(); - - private: - std::vector frames_; - - // Allows to preserve unknown protobuf fields for compatibility - // with future versions of .proto files. - std::string unknown_fields_; - - std::bitset<2> _has_field_{}; -}; - - -class PERFETTO_EXPORT_COMPONENT TrackEvent_Callstack_Frame : public ::protozero::CppMessageObj { - public: - enum FieldNumbers { - kFunctionNameFieldNumber = 1, - kSourceFileFieldNumber = 2, - kLineNumberFieldNumber = 3, - }; - - TrackEvent_Callstack_Frame(); - ~TrackEvent_Callstack_Frame() override; - TrackEvent_Callstack_Frame(TrackEvent_Callstack_Frame&&) noexcept; - TrackEvent_Callstack_Frame& operator=(TrackEvent_Callstack_Frame&&); - TrackEvent_Callstack_Frame(const TrackEvent_Callstack_Frame&); - TrackEvent_Callstack_Frame& operator=(const TrackEvent_Callstack_Frame&); - bool operator==(const TrackEvent_Callstack_Frame&) const; - bool operator!=(const TrackEvent_Callstack_Frame& other) const { return !(*this == other); } - - bool ParseFromArray(const void*, size_t) override; - std::string SerializeAsString() const override; - std::vector SerializeAsArray() const override; - void Serialize(::protozero::Message*) const; - - bool has_function_name() const { return _has_field_[1]; } - const std::string& function_name() const { return function_name_; } - void set_function_name(const std::string& value) { function_name_ = value; _has_field_.set(1); } - - bool has_source_file() const { return _has_field_[2]; } - const std::string& source_file() const { return source_file_; } - void set_source_file(const std::string& value) { source_file_ = value; _has_field_.set(2); } - - bool has_line_number() const { return _has_field_[3]; } - uint32_t line_number() const { return line_number_; } - void set_line_number(uint32_t value) { line_number_ = value; _has_field_.set(3); } - - private: - std::string function_name_{}; - std::string source_file_{}; - uint32_t line_number_{}; - - // Allows to preserve unknown protobuf fields for compatibility - // with future versions of .proto files. - std::string unknown_fields_; - - std::bitset<4> _has_field_{}; -}; - } // namespace perfetto } // namespace protos } // namespace gen @@ -186864,7 +186107,6 @@ class PERFETTO_EXPORT_COMPONENT CloneSessionResponse : public ::protozero::CppMe kErrorFieldNumber = 2, kUuidMsbFieldNumber = 3, kUuidLsbFieldNumber = 4, - kWasWriteIntoFileFieldNumber = 5, }; CloneSessionResponse(); @@ -186897,22 +186139,17 @@ class PERFETTO_EXPORT_COMPONENT CloneSessionResponse : public ::protozero::CppMe int64_t uuid_lsb() const { return uuid_lsb_; } void set_uuid_lsb(int64_t value) { uuid_lsb_ = value; _has_field_.set(4); } - bool has_was_write_into_file() const { return _has_field_[5]; } - bool was_write_into_file() const { return was_write_into_file_; } - void set_was_write_into_file(bool value) { was_write_into_file_ = value; _has_field_.set(5); } - private: bool success_{}; std::string error_{}; int64_t uuid_msb_{}; int64_t uuid_lsb_{}; - bool was_write_into_file_{}; // Allows to preserve unknown protobuf fields for compatibility // with future versions of .proto files. std::string unknown_fields_; - std::bitset<6> _has_field_{}; + std::bitset<5> _has_field_{}; }; diff --git a/layersvt/perfetto/screenshots_perfetto_helpers.cpp b/layersvt/perfetto/screenshots_perfetto_helpers.cpp new file mode 100644 index 0000000000..672f33ae79 --- /dev/null +++ b/layersvt/perfetto/screenshots_perfetto_helpers.cpp @@ -0,0 +1,66 @@ +#include "screenshots_perfetto_helpers.h" +#include +#include +#include +#include +#include + +#ifdef ANDROID +#include +#endif + +#include "screenshot_writer.h" + +namespace screenshot { +struct ScreenshotQueueData; +extern std::atomic_bool pauseCapture; +extern std::mutex globalLock; +extern std::condition_variable screenshotSavedCV; +extern std::list> screenshotsData; +} // namespace screenshot + +PERFETTO_DEFINE_CATEGORIES(perfetto::Category("VulkanScreenshots").SetDescription("Vulkan Layer Screenshots")); + +PERFETTO_TRACK_EVENT_STATIC_STORAGE(); + +void InitializeScreenshotsPerfetto() { + std::atomic_store(&screenshot::pauseCapture, true); + + perfetto::TracingInitArgs args; + // The backends determine where trace events are recorded. + // kSystemBackend connects to the system traced service (e.g. on Android). + args.backends = perfetto::kSystemBackend; + + perfetto::Tracing::Initialize(args); + perfetto::TrackEvent::Register(); + + perfetto::DataSourceDescriptor dsd; + dsd.set_name("VulkanScreenshots"); + ScreenshotDataSource::Register(dsd); +} + +void ScreenshotDataSource::OnStart(const StartArgs&) { +#ifdef ANDROID + __android_log_print(ANDROID_LOG_INFO, "screenshot", "ScreenshotDataSource::OnStart called"); +#endif + std::atomic_store(&screenshot::pauseCapture, false); +} + +void ScreenshotDataSource::OnStop(const StopArgs& args) { +#ifdef ANDROID + __android_log_print(ANDROID_LOG_INFO, "screenshot", "ScreenshotDataSource::OnStop called"); +#endif + + std::atomic_store(&screenshot::pauseCapture, true); + auto async_stop_closure = args.HandleStopAsynchronously(); + + std::thread([stop_closure = std::move(async_stop_closure)]() { + { + std::unique_lock lock(screenshot::globalLock); + screenshot::screenshotSavedCV.wait(lock, [] { return screenshot::screenshotsData.empty(); }); + } + + // Explicitly notify Perfetto that this data source is now ready to be destroyed. + stop_closure(); + }).detach(); +} diff --git a/layersvt/perfetto/screenshots_perfetto_helpers.h b/layersvt/perfetto/screenshots_perfetto_helpers.h new file mode 100644 index 0000000000..4097e0de66 --- /dev/null +++ b/layersvt/perfetto/screenshots_perfetto_helpers.h @@ -0,0 +1,14 @@ +#ifndef LAYERSVT_SCREENSHOTS_PERFETTO_HELPERS_H +#define LAYERSVT_SCREENSHOTS_PERFETTO_HELPERS_H + +#include "perfetto.h" + +class ScreenshotDataSource : public perfetto::DataSource { + public: + void OnStart(const StartArgs&) override; + void OnStop(const StopArgs& args) override; +}; + +void InitializeScreenshotsPerfetto(); + +#endif // LAYERSVT_SCREENSHOTS_PERFETTO_HELPERS_H diff --git a/layersvt/screenshot.cpp b/layersvt/screenshot.cpp old mode 100755 new mode 100644 index c9736e688f..6b70f1b1b4 --- a/layersvt/screenshot.cpp +++ b/layersvt/screenshot.cpp @@ -20,6 +20,7 @@ * Author: Tony Barbour */ #include +#include #include #include #include @@ -34,27 +35,31 @@ #include #include #include +#include +#include #include #include +#include +#include +#include #if defined(_WIN32) && !defined(NDEBUG) #include #endif -using namespace std; - -#include -#include -#include "vk_layer_table.h" - -#include "screenshot_parsing.h" - #ifdef ANDROID #include #include #include #endif +#include "vk_layer_table.h" +#include "screenshot_parsing.h" +#include "perfetto/screenshots_perfetto_helpers.h" +#include "screenshot_writer.h" + +using namespace std; + namespace screenshot { #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) @@ -72,14 +77,16 @@ VkuLayerSettingSet globalLayerSettingSet = VK_NULL_HANDLE; // If true, do not capture screenshots. Allows to control the layer at runtime. std::atomic_bool pauseCapture(false); +std::unique_ptr screenshotWriter; + enum class ColorSpaceFormat { UNDEFINED, UNORM, SNORM, USCALED, SSCALED, UINT, SINT, SRGB }; // unordered map: associates Vulkan dispatchable objects to a dispatch table typedef struct { - VkuDeviceDispatchTable *device_dispatch_table; + VkuDeviceDispatchTable* device_dispatch_table; PFN_vkSetDeviceLoaderData pfn_dev_init; } DispatchMapStruct; -static unordered_map dispatchMap; +static unordered_map dispatchMap; // unordered map: associates a swap chain with a device, image extent, format, // and list of images @@ -111,7 +118,7 @@ struct DeviceMapStruct { unordered_map queueIndexMap; VkPhysicalDevice physicalDevice; }; -static unordered_map deviceMap; +static unordered_map deviceMap; // unordered map: associates a physical device with an instance typedef struct { @@ -130,6 +137,9 @@ class Settings { enum class ScreenshotExtension { PPM, PAM }; ScreenshotExtension screenshotExtension = ScreenshotExtension::PPM; + enum class WriterType { FILE, PERFETTO }; + WriterType writerType = WriterType::FILE; + // Result screenshot scale. ScreenshotSize = scalePercent * FrameBufferSize / 100; int scalePercent = 100; @@ -156,7 +166,7 @@ class Settings { private: // Parse comma-separated frame list string into the set - void populate_frame_list(const char *vk_screenshot_frames); + void populate_frame_list(const char* vk_screenshot_frames); private: // Screenshots will be generated from screenShotFrameRange's startFrame to startFrame+count-1 with skipped Interval in between. @@ -166,24 +176,15 @@ class Settings { set screenshotFrames; }; -void updatePauseCapture(VkuLayerSettingSet layerSettingSet) { - const char *kSettingPauseCapture = "pause"; - if (vkuHasLayerSetting(layerSettingSet, kSettingPauseCapture)) { - bool newPauseCapture = false; - vkuGetLayerSettingValue(layerSettingSet, kSettingPauseCapture, newPauseCapture); - std::atomic_store(&pauseCapture, newPauseCapture); - } -} - void Settings::init(VkuLayerSettingSet layerSettingSet) { - const char *kSettingsKeyFrames = "frames"; - const char *kSettingKeyFormat = "format"; - const char *kSettingKeyDir = "dir"; - const char *kSettingScale = "scale"; - const char *kSettingQueueSize = "queue"; - const char *kSettingAllowSkip = "skip"; - const char *kSettingProfile = "profile"; - const char *kSettingScreenshotExtension = "extension"; + const char* kSettingsKeyFrames = "frames"; + const char* kSettingKeyFormat = "format"; + const char* kSettingKeyDir = "dir"; + const char* kSettingScale = "scale"; + const char* kSettingQueueSize = "queue"; + const char* kSettingAllowSkip = "skip"; + const char* kSettingProfile = "profile"; + const char* kSettingScreenshotExtension = "extension"; if (vkuHasLayerSetting(layerSettingSet, kSettingScale)) { vkuGetLayerSettingValue(layerSettingSet, kSettingScale, scalePercent); @@ -225,6 +226,18 @@ void Settings::init(VkuLayerSettingSet layerSettingSet) { } } + const char* kSettingWriter = "writer"; + if (vkuHasLayerSetting(layerSettingSet, kSettingWriter)) { + std::string value; + vkuGetLayerSettingValue(layerSettingSet, kSettingWriter, value); + std::transform(value.begin(), value.end(), value.begin(), [](char c) { return std::toupper(c); }); + if (value == "PERFETTO") { + writerType = WriterType::PERFETTO; + } else if (value == "FILE") { + writerType = WriterType::FILE; + } + } + if (vkuHasLayerSetting(layerSettingSet, kSettingsKeyFrames)) { std::string value; vkuGetLayerSettingValue(layerSettingSet, kSettingsKeyFrames, value); @@ -281,7 +294,7 @@ void Settings::init(VkuLayerSettingSet layerSettingSet) { // return: // maximum frame number of the frame range, // if it's unlimited range, the return will be SCREEN_SHOT_FRAMES_UNLIMITED -int getEndFrameOfRange(const FrameRange *pFrameRange) { +int getEndFrameOfRange(const FrameRange* pFrameRange) { int endFrameOfRange = SCREEN_SHOT_FRAMES_UNLIMITED; if (pFrameRange->count != SCREEN_SHOT_FRAMES_UNLIMITED) { endFrameOfRange = pFrameRange->startFrame + (pFrameRange->count - 1) * pFrameRange->interval; @@ -309,7 +322,7 @@ bool Settings::isFrameAfterEndOfCaptureRange(int frame) const { return screenshotFrames.empty() || frame > *std::prev(screenshotFrames.end()); } -void Settings::populate_frame_list(const char *vk_screenshot_frames) { +void Settings::populate_frame_list(const char* vk_screenshot_frames) { string spec(vk_screenshot_frames), word; size_t start = 0, comma = 0; @@ -348,7 +361,7 @@ Settings settings; #ifdef ANDROID class ATrace { public: - ATrace(const char *block) { + ATrace(const char* block) { if (settings.isProfilingEnabled) ATrace_beginSection(block); } @@ -365,8 +378,8 @@ class ATrace { #define PROFILE_COUNTER(name, value) #endif -static bool memory_type_from_properties(VkPhysicalDeviceMemoryProperties *memory_properties, uint32_t typeBits, - VkFlags requirements_mask, uint32_t *typeIndex) { +static bool memory_type_from_properties(VkPhysicalDeviceMemoryProperties* memory_properties, uint32_t typeBits, + VkFlags requirements_mask, uint32_t* typeIndex) { // Search memtypes to find first index with those properties for (uint32_t i = 0; i < 32; i++) { if ((typeBits & 1) == 1) { @@ -382,7 +395,7 @@ static bool memory_type_from_properties(VkPhysicalDeviceMemoryProperties *memory return false; } -static DispatchMapStruct *get_dispatch_info(VkDevice dev) { +static DispatchMapStruct* get_dispatch_info(VkDevice dev) { auto it = dispatchMap.find(dev); if (it == dispatchMap.end()) return NULL; @@ -390,7 +403,7 @@ static DispatchMapStruct *get_dispatch_info(VkDevice dev) { return it->second; } -static DeviceMapStruct *get_device_info(VkDevice dev) { +static DeviceMapStruct* get_device_info(VkDevice dev) { auto it = deviceMap.find(dev); if (it == deviceMap.end()) return NULL; @@ -406,7 +419,7 @@ void startScreenshotThread() { screenshotWriterThread = std::thread(screenshotWriterThreadFunc); } -static void init_screenshot(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator) { +static void init_screenshot(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) { std::lock_guard lg(globalLock); VkuLayerSettingSet layerSettingSet; vkuCreateLayerSettingSet("VK_LAYER_LUNARG_screenshot", vkuFindLayerSettingsCreateInfo(pCreateInfo), pAllocator, nullptr, @@ -414,12 +427,18 @@ static void init_screenshot(const VkInstanceCreateInfo *pCreateInfo, const VkAll settings.init(layerSettingSet); + if (settings.writerType == Settings::WriterType::PERFETTO) { + screenshotWriter = std::make_unique(); + } else { + screenshotWriter = std::make_unique(); + } + // Init global layer setting set with pFirstCreateInfo as nullptr. // We are checking for settings changes at runtime and pFirstCreateInfo is const. // And LayerSettingSet with pFirstCreateInfo can be used only in the scope of CreateInstance. vkuCreateLayerSettingSet("VK_LAYER_LUNARG_screenshot", /* pFirstCreateInfo=*/nullptr, pAllocator, nullptr, &globalLayerSettingSet); - updatePauseCapture(globalLayerSettingSet); + screenshotWriter->controlPause(); startScreenshotThread(); } @@ -455,8 +474,8 @@ VkQueue getQueueForScreenshot(VkDevice device) { uint32_t count; VkBool32 graphicsCapable = VK_FALSE; VkBool32 presentCapable = VK_FALSE; - VkuInstanceDispatchTable *pInstanceTable; - DeviceMapStruct *devMap = get_device_info(device); + VkuInstanceDispatchTable* pInstanceTable; + DeviceMapStruct* devMap = get_device_info(device); if (NULL == devMap) { assert(0); return queue; @@ -496,68 +515,76 @@ VkQueue getQueueForScreenshot(VkDevice device) { return queue; } -// Writes image to a PAM file. -bool writePAM(const char *filename, const char *pixels, uint32_t width, uint32_t height, uint32_t numChannels, uint32_t rowPitch) { - PROFILE("writePAM"); - std::ofstream file(filename, ios::binary); - if (!file.is_open()) { - return false; - } - - file << "P7\n"; - file << "WIDTH " << width << "\n"; - file << "HEIGHT " << height << "\n"; - file << "DEPTH " << numChannels << "\n"; - file << "MAXVAL " << 255 << "\n"; - file << "TUPLTYPE " << (numChannels == 3 ? "RGB" : "RGB_ALPHA") << "\n"; - file << "ENDHDR\n"; +static void writePAM(std::ostream& stream, const char* pixels, uint32_t width, uint32_t height, uint32_t numChannels, + uint32_t rowPitch) { + stream << "P7\n"; + stream << "WIDTH " << width << "\n"; + stream << "HEIGHT " << height << "\n"; + stream << "DEPTH " << numChannels << "\n"; + stream << "MAXVAL " << 255 << "\n"; + stream << "TUPLTYPE " << (numChannels == 3 ? "RGB" : "RGB_ALPHA") << "\n"; + stream << "ENDHDR\n"; if (numChannels * width == rowPitch) { - file.write(pixels, height * rowPitch); + stream.write(pixels, height * rowPitch); } else { for (uint32_t y = 0; y < height; y++) { - file.write(pixels, numChannels * width); + stream.write(pixels, numChannels * width); pixels += rowPitch; } } - file.close(); - return true; } -// Writes image to a PPM file. -bool writePPM(const char *filename, const char *pixels, uint32_t width, uint32_t height, uint32_t numChannels, uint32_t rowPitch) { - PROFILE("writePPM"); - +// Writes image to a PAM file. +bool writePAM(const char* filename, const char* pixels, uint32_t width, uint32_t height, uint32_t numChannels, uint32_t rowPitch) { + PROFILE("writePAM"); std::ofstream file(filename, ios::binary); if (!file.is_open()) { return false; } + writePAM(file, pixels, width, height, numChannels, rowPitch); + file.close(); + return true; +} - file << "P6\n"; - file << width << "\n"; - file << height << "\n"; - file << 255 << "\n"; +static void writePPM(std::ostream& stream, const char* pixels, uint32_t width, uint32_t height, uint32_t numChannels, + uint32_t rowPitch) { + stream << "P6\n"; + stream << width << "\n"; + stream << height << "\n"; + stream << 255 << "\n"; if (3 == numChannels) { for (uint32_t y = 0; y < height; y++) { - file.write(pixels, 3 * width); + stream.write(pixels, 3 * width); pixels += rowPitch; } } else if (4 == numChannels) { std::vector tempRowBuffer; tempRowBuffer.resize(3 * width + 1); for (uint32_t y = 0; y < height; y++) { - const uint32_t *srcRow = reinterpret_cast(pixels); - unsigned char *destRow = tempRowBuffer.data(); + const uint32_t* srcRow = reinterpret_cast(pixels); + unsigned char* destRow = tempRowBuffer.data(); for (uint32_t x = 0; x < width; x++) { - *reinterpret_cast(destRow) = *srcRow++; + *reinterpret_cast(destRow) = *srcRow++; destRow += 3; } - file.write(reinterpret_cast(tempRowBuffer.data()), 3 * width); + stream.write(reinterpret_cast(tempRowBuffer.data()), 3 * width); pixels += rowPitch; } } +} + +// Writes image to a PPM file. +bool writePPM(const char* filename, const char* pixels, uint32_t width, uint32_t height, uint32_t numChannels, uint32_t rowPitch) { + PROFILE("writePPM"); + + std::ofstream file(filename, ios::binary); + if (!file.is_open()) { + return false; + } + writePPM(file, pixels, width, height, numChannels, rowPitch); file.close(); return true; } @@ -744,7 +771,7 @@ struct ScreenshotQueueData { VkDevice device = VK_NULL_HANDLE; VkSwapchainKHR swapchain; VkImage image1; // source image - VkuDeviceDispatchTable *pTableDevice; + VkuDeviceDispatchTable* pTableDevice; uint32_t dstWidth; uint32_t dstHeight; int dstNumChannels; @@ -774,10 +801,111 @@ ScreenshotQueueData::~ScreenshotQueueData() { if (fence) pTableDevice->DestroyFence(device, fence, NULL); } +bool FileScreenshotWriter::write(const char* pixels, int width, int height, int numChannels, int rowPitch, int frameNumber) { + std::string fileName; + if (settings.targetFolder.empty()) { + fileName = std::to_string(frameNumber); + } else { + fileName = settings.targetFolder; + fileName += "/" + std::to_string(frameNumber); + } + + bool writeResult = false; + fileName += (settings.screenshotExtension == Settings::ScreenshotExtension::PAM) ? ".pam" : ".ppm"; + + switch (settings.screenshotExtension) { + case Settings::ScreenshotExtension::PPM: + writeResult = writePPM(fileName.c_str(), pixels, width, height, numChannels, rowPitch); + break; + case Settings::ScreenshotExtension::PAM: + writeResult = writePAM(fileName.c_str(), pixels, width, height, numChannels, rowPitch); + break; + } + + if (!writeResult) { +#ifdef ANDROID + __android_log_print(ANDROID_LOG_ERROR, "screenshot", "Failed to write image: %s", fileName.c_str()); +#else + fprintf(stderr, "screenshot: Failed to write image: %s\n", fileName.c_str()); +#endif + return false; + } +#ifdef ANDROID + __android_log_print(ANDROID_LOG_INFO, "screenshot", "Saved image: %s", fileName.c_str()); +#else + printf("screenshot: Saved image: %s \n", fileName.c_str()); + fflush(stdout); +#endif + return true; +} + +void FileScreenshotWriter::setInProgress() { + std::remove(settings.pauseFileName.c_str()); + pauseFileRecorded = false; +} + +void FileScreenshotWriter::setInPause() { + std::ofstream pauseFile(settings.pauseFileName.c_str()); + pauseFileRecorded = true; +} + +bool FileScreenshotWriter::isPaused() const { return pauseFileRecorded; } + +void FileScreenshotWriter::controlPause() { + const char* kSettingPauseCapture = "pause"; + if (vkuHasLayerSetting(globalLayerSettingSet, kSettingPauseCapture)) { + bool newPauseCapture = false; + vkuGetLayerSettingValue(globalLayerSettingSet, kSettingPauseCapture, newPauseCapture); + std::atomic_store(&pauseCapture, newPauseCapture); + } +} + +bool FileScreenshotWriter::canControlPause() const { return globalLayerSettingSet != VK_NULL_HANDLE; } + +PerfettoScreenshotWriter::PerfettoScreenshotWriter() { + static std::once_flag perfetto_init_flag; + std::call_once(perfetto_init_flag, []() { InitializeScreenshotsPerfetto(); }); +} + +bool PerfettoScreenshotWriter::write(const char* pixels, int width, int height, int numChannels, int rowPitch, int frameNumber) { + ScreenshotDataSource::Trace([&](ScreenshotDataSource::TraceContext ctx) { + auto packet = ctx.NewTracePacket(); + packet->set_timestamp(perfetto::base::GetBootTimeNs().count()); + auto track_event = packet->set_track_event(); + track_event->set_name("Screenshot"); + track_event->set_type(::perfetto::protos::pbzero::TrackEvent::TYPE_INSTANT); + + auto annotation = track_event->add_debug_annotations(); + annotation->set_name("frame_number"); + annotation->set_uint_value(frameNumber); + + static std::stringstream ss; + ss.seekp(0); + ss.clear(); + std::string_view view; + switch (settings.screenshotExtension) { + case Settings::ScreenshotExtension::PPM: + writePPM(ss, pixels, width, height, numChannels, rowPitch); + view = ss.view(); + track_event->set_screenshot()->set_ppm_image(reinterpret_cast(view.data()), view.size()); + break; + case Settings::ScreenshotExtension::PAM: + writePAM(ss, pixels, width, height, numChannels, rowPitch); + view = ss.view(); + track_event->set_screenshot()->set_pam_image(reinterpret_cast(view.data()), view.size()); + break; + } + }); +#ifdef ANDROID + __android_log_print(ANDROID_LOG_INFO, "screenshot", "Saved frame: %d", frameNumber); +#endif + return true; +} + std::list> screenshotsData; std::unordered_map>> screenshotDataCache; -bool prepareScreenshotData(ScreenshotQueueData &data, VkImage image1) { +bool prepareScreenshotData(ScreenshotQueueData& data, VkImage image1) { PROFILE("screenshot.prepare"); VkResult err; bool pass; @@ -787,7 +915,7 @@ bool prepareScreenshotData(ScreenshotQueueData &data, VkImage image1) { VkDevice device = imageMap[image1].device; VkPhysicalDevice physicalDevice = deviceMap[device]->physicalDevice; VkInstance instance = physDeviceMap[physicalDevice].instance; - DispatchMapStruct *dispMap = get_dispatch_info(device); + DispatchMapStruct* dispMap = get_dispatch_info(device); if (NULL == dispMap) { assert(0); return false; @@ -801,10 +929,10 @@ bool prepareScreenshotData(ScreenshotQueueData &data, VkImage image1) { #endif return false; } - VkuDeviceDispatchTable *pTableDevice = dispMap->device_dispatch_table; - VkuDeviceDispatchTable *pTableQueue = - get_dispatch_info(static_cast(static_cast(queue)))->device_dispatch_table; - VkuInstanceDispatchTable *pInstanceTable; + VkuDeviceDispatchTable* pTableDevice = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pTableQueue = + get_dispatch_info(static_cast(static_cast(queue)))->device_dispatch_table; + VkuInstanceDispatchTable* pInstanceTable; pInstanceTable = instance_dispatch_table(instance); // Gather incoming image info and check image format for compatibility with @@ -990,14 +1118,14 @@ bool prepareScreenshotData(ScreenshotQueueData &data, VkImage image1) { assert(!err); if (VK_SUCCESS != err) return false; - VkuDeviceDispatchTable *pTableCommandBuffer = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pTableCommandBuffer = dispMap->device_dispatch_table; // We have just created a dispatchable object, but the dispatch table has // not been placed in the object yet. When a "normal" application creates // a command buffer, the dispatch table is installed by the top-level api // binding (trampoline.c). But here, we have to do it ourselves. if (dispMap->pfn_dev_init) { - err = dispMap->pfn_dev_init(device, (void *)data.commandBuffer); + err = dispMap->pfn_dev_init(device, (void*)data.commandBuffer); assert(!err); } @@ -1157,7 +1285,7 @@ bool prepareScreenshotData(ScreenshotQueueData &data, VkImage image1) { // (TODO) It would be nice to pass any failure info to DebugReport or something. // // Returns true if successfull, false otherwise. -static bool queueScreenshot(ScreenshotQueueData &data, VkImage image1, const VkPresentInfoKHR *presentInfo) { +static bool queueScreenshot(ScreenshotQueueData& data, VkImage image1, const VkPresentInfoKHR* presentInfo) { PROFILE("screenshot.queue"); if (data.device == VK_NULL_HANDLE) { if (!prepareScreenshotData(data, image1)) { @@ -1193,8 +1321,8 @@ static bool queueScreenshot(ScreenshotQueueData &data, VkImage image1, const VkP return false; } - VkuDeviceDispatchTable *pTableQueue = - get_dispatch_info(static_cast(static_cast(queue)))->device_dispatch_table; + VkuDeviceDispatchTable* pTableQueue = + get_dispatch_info(static_cast(static_cast(queue)))->device_dispatch_table; VkResult err = pTableQueue->QueueSubmit(queue, 1, &submitInfo, data.fence); assert(!err); @@ -1204,69 +1332,35 @@ static bool queueScreenshot(ScreenshotQueueData &data, VkImage image1, const VkP // Save an image to a PPM image file. // Returns true if file is successfully written, false otherwise. -static bool writeScreenshot(ScreenshotQueueData &data) { +static void writeScreenshot(ScreenshotQueueData& data) { PROFILE("screenshot.write"); // Map the final image so that the CPU can read it. const VkImageSubresource sr = {VK_IMAGE_ASPECT_COLOR_BIT, 0, 0}; VkSubresourceLayout srLayout; - const char *pixels; + const char* pixels; if (data.image3 == VK_NULL_HANDLE) { data.pTableDevice->GetImageSubresourceLayout(data.device, data.image2, &sr, &srLayout); - VkResult err = data.pTableDevice->MapMemory(data.device, data.mem2, 0, VK_WHOLE_SIZE, 0, (void **)&pixels); - if (VK_SUCCESS != err) return false; + VkResult err = data.pTableDevice->MapMemory(data.device, data.mem2, 0, VK_WHOLE_SIZE, 0, (void**)&pixels); + if (VK_SUCCESS != err) return; } else { data.pTableDevice->GetImageSubresourceLayout(data.device, data.image3, &sr, &srLayout); - VkResult err = data.pTableDevice->MapMemory(data.device, data.mem3, 0, VK_WHOLE_SIZE, 0, (void **)&pixels); - if (VK_SUCCESS != err) return false; + VkResult err = data.pTableDevice->MapMemory(data.device, data.mem3, 0, VK_WHOLE_SIZE, 0, (void**)&pixels); + if (VK_SUCCESS != err) return; } pixels += srLayout.offset; - string fileName; - if (settings.targetFolder.empty()) { - fileName = to_string(data.frameNumber); - } else { - fileName = settings.targetFolder; - fileName += "/" + to_string(data.frameNumber); - } - - bool writeResult; - switch (settings.screenshotExtension) { - case Settings::ScreenshotExtension::PPM: - fileName += ".ppm"; - writeResult = writePPM(fileName.c_str(), pixels, data.dstWidth, data.dstHeight, data.dstNumChannels, srLayout.rowPitch); - break; - case Settings::ScreenshotExtension::PAM: - fileName += ".pam"; - writeResult = writePAM(fileName.c_str(), pixels, data.dstWidth, data.dstHeight, data.dstNumChannels, srLayout.rowPitch); - break; - } + screenshotWriter->write(pixels, data.dstWidth, data.dstHeight, data.dstNumChannels, srLayout.rowPitch, data.frameNumber); if (data.image3 == VK_NULL_HANDLE) { data.pTableDevice->UnmapMemory(data.device, data.mem2); } else { data.pTableDevice->UnmapMemory(data.device, data.mem3); } - - if (!writeResult) { -#ifdef ANDROID - __android_log_print(ANDROID_LOG_ERROR, "screenshot", "Failed to write image: %s", fileName.c_str()); -#else - fprintf(stderr, "screenshot: Failed to write image: %s\n", fileName.c_str()); -#endif - return false; - } -#ifdef ANDROID - __android_log_print(ANDROID_LOG_INFO, "screenshot", "Saved image: %s", fileName.c_str()); -#else - printf("screenshot: Saved image: %s \n", fileName.c_str()); - fflush(stdout); -#endif - return true; } -VKAPI_ATTR VkResult VKAPI_CALL CreateInstance(const VkInstanceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, - VkInstance *pInstance) { +VKAPI_ATTR VkResult VKAPI_CALL CreateInstance(const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, + VkInstance* pInstance) { #if defined(_WIN32) && defined(_CRTDBG_MODE_FILE) #if !defined(NDEBUG) _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE); @@ -1278,7 +1372,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateInstance(const VkInstanceCreateInfo *pCreat _CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE); _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR); #endif - VkLayerInstanceCreateInfo *chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); + VkLayerInstanceCreateInfo* chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); assert(chain_info->u.pLayerInfo); PFN_vkGetInstanceProcAddr fpGetInstanceProcAddr = chain_info->u.pLayerInfo->pfnNextGetInstanceProcAddr; @@ -1301,7 +1395,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateInstance(const VkInstanceCreateInfo *pCreat return result; } -VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) { +VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) { shutdown_screenshot(); { @@ -1310,17 +1404,17 @@ VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocati globalLayerSettingSet = VK_NULL_HANDLE; } - VkuInstanceDispatchTable *pTable = instance_dispatch_table(instance); + VkuInstanceDispatchTable* pTable = instance_dispatch_table(instance); pTable->DestroyInstance(instance, pAllocator); // TODO - screenshot doesn't support multiple instances at the same time } -static void createDeviceRegisterExtensions(const VkDeviceCreateInfo *pCreateInfo, VkDevice device) { +static void createDeviceRegisterExtensions(const VkDeviceCreateInfo* pCreateInfo, VkDevice device) { uint32_t i; - DispatchMapStruct *dispMap = get_dispatch_info(device); - DeviceMapStruct *devMap = get_device_info(device); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + DispatchMapStruct* dispMap = get_dispatch_info(device); + DeviceMapStruct* devMap = get_device_info(device); + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; PFN_vkGetDeviceProcAddr gpa = pDisp->GetDeviceProcAddr; pDisp->CreateSwapchainKHR = (PFN_vkCreateSwapchainKHR)gpa(device, "vkCreateSwapchainKHR"); pDisp->GetSwapchainImagesKHR = (PFN_vkGetSwapchainImagesKHR)gpa(device, "vkGetSwapchainImagesKHR"); @@ -1332,9 +1426,9 @@ static void createDeviceRegisterExtensions(const VkDeviceCreateInfo *pCreateInfo } } -VKAPI_ATTR VkResult VKAPI_CALL CreateDevice(VkPhysicalDevice gpu, const VkDeviceCreateInfo *pCreateInfo, - const VkAllocationCallbacks *pAllocator, VkDevice *pDevice) { - VkLayerDeviceCreateInfo *chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); +VKAPI_ATTR VkResult VKAPI_CALL CreateDevice(VkPhysicalDevice gpu, const VkDeviceCreateInfo* pCreateInfo, + const VkAllocationCallbacks* pAllocator, VkDevice* pDevice) { + VkLayerDeviceCreateInfo* chain_info = get_chain_info(pCreateInfo, VK_LAYER_LINK_INFO); assert(chain_info->u.pLayerInfo); PFN_vkGetInstanceProcAddr fpGetInstanceProcAddr = chain_info->u.pLayerInfo->pfnNextGetInstanceProcAddr; @@ -1354,10 +1448,10 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateDevice(VkPhysicalDevice gpu, const VkDevice } assert(deviceMap.find(*pDevice) == deviceMap.end()); - DeviceMapStruct *deviceMapElem = new DeviceMapStruct; + DeviceMapStruct* deviceMapElem = new DeviceMapStruct; deviceMap[*pDevice] = deviceMapElem; assert(dispatchMap.find(*pDevice) == dispatchMap.end()); - DispatchMapStruct *dispatchMapElem = new DispatchMapStruct; + DispatchMapStruct* dispatchMapElem = new DispatchMapStruct; dispatchMap[*pDevice] = dispatchMapElem; // Setup device dispatch table @@ -1378,11 +1472,11 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateDevice(VkPhysicalDevice gpu, const VkDevice return result; } -VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDevices(VkInstance instance, uint32_t *pPhysicalDeviceCount, - VkPhysicalDevice *pPhysicalDevices) { +VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, + VkPhysicalDevice* pPhysicalDevices) { VkResult result; - VkuInstanceDispatchTable *pTable = instance_dispatch_table(instance); + VkuInstanceDispatchTable* pTable = instance_dispatch_table(instance); result = pTable->EnumeratePhysicalDevices(instance, pPhysicalDeviceCount, pPhysicalDevices); if (result == VK_SUCCESS && *pPhysicalDeviceCount > 0 && pPhysicalDevices) { for (uint32_t i = 0; i < *pPhysicalDeviceCount; i++) { @@ -1393,10 +1487,10 @@ VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDevices(VkInstance instance, uin return result; } -VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDeviceGroups(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, - VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties) { +VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDeviceGroups(VkInstance instance, uint32_t* pPhysicalDeviceGroupCount, + VkPhysicalDeviceGroupProperties* pPhysicalDeviceGroupProperties) { VkResult result; - VkuInstanceDispatchTable *pTable = instance_dispatch_table(instance); + VkuInstanceDispatchTable* pTable = instance_dispatch_table(instance); result = pTable->EnumeratePhysicalDeviceGroups(instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGroupProperties); if (result == VK_SUCCESS && *pPhysicalDeviceGroupCount > 0 && pPhysicalDeviceGroupProperties) { for (uint32_t i = 0; i < *pPhysicalDeviceGroupCount; i++) { @@ -1409,27 +1503,30 @@ VKAPI_ATTR VkResult VKAPI_CALL EnumeratePhysicalDeviceGroups(VkInstance instance return VK_SUCCESS; } -VKAPI_ATTR void VKAPI_CALL DestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator) { - DispatchMapStruct *dispMap = get_dispatch_info(device); - DeviceMapStruct *devMap = get_device_info(device); +VKAPI_ATTR void VKAPI_CALL DestroyDevice(VkDevice device, const VkAllocationCallbacks* pAllocator) { + DispatchMapStruct* dispMap = get_dispatch_info(device); + DeviceMapStruct* devMap = get_device_info(device); assert(dispMap); assert(devMap); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; pDisp->DestroyDevice(device, pAllocator); - std::lock_guard lg(globalLock); - delete pDisp; - delete dispMap; - delete devMap; + { + std::unique_lock lock(globalLock); - deviceMap.erase(device); - dispatchMap.erase(device); + delete pDisp; + delete dispMap; + delete devMap; + + deviceMap.erase(device); + dispatchMap.erase(device); + } } -VKAPI_ATTR void VKAPI_CALL GetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue) { - DispatchMapStruct *dispMap = get_dispatch_info(device); +VKAPI_ATTR void VKAPI_CALL GetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue) { + DispatchMapStruct* dispMap = get_dispatch_info(device); assert(dispMap); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; pDisp->GetDeviceQueue(device, queueFamilyIndex, queueIndex, pQueue); // Save the device queue in a map if we are taking screenshots. @@ -1447,19 +1544,19 @@ VKAPI_ATTR void VKAPI_CALL GetDeviceQueue(VkDevice device, uint32_t queueFamilyI // queues are dispatchable objects. // Create dispatchMap entry with this queue as its key. // Copy the device dispatch table to the new dispatch table. - VkDevice que = static_cast(static_cast(*pQueue)); + VkDevice que = static_cast(static_cast(*pQueue)); dispatchMap[que] = dispMap; } -VKAPI_ATTR void VKAPI_CALL GetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2 *pQueueInfo, VkQueue *pQueue) { +VKAPI_ATTR void VKAPI_CALL GetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQueue* pQueue) { if (pQueueInfo) GetDeviceQueue(device, pQueueInfo->queueFamilyIndex, pQueueInfo->queueIndex, pQueue); } -VKAPI_ATTR VkResult VKAPI_CALL CreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR *pCreateInfo, - const VkAllocationCallbacks *pAllocator, VkSwapchainKHR *pSwapchain) { - DispatchMapStruct *dispMap = get_dispatch_info(device); +VKAPI_ATTR VkResult VKAPI_CALL CreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, + const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) { + DispatchMapStruct* dispMap = get_dispatch_info(device); assert(dispMap); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; // This layer does an image copy later on, and the copy command expects the // transfer src bit to be on. @@ -1511,13 +1608,13 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateSwapchainKHR(VkDevice device, const VkSwapc return result; } -VKAPI_ATTR void DestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks *pAllocator) { +VKAPI_ATTR void DestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator) { { PROFILE("screenshot.finish"); std::unique_lock lock(globalLock); // Wait for all related screenshots are done screenshotSavedCV.wait(lock, [&] { - for (const auto &data : screenshotsData) { + for (const auto& data : screenshotsData) { if (data->swapchain == swapchain) { return false; } @@ -1535,7 +1632,7 @@ VKAPI_ATTR void DestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, c if (swapchainMap.find(swapchain) != swapchainMap.end()) { // Free surface image cache entries related to this swapchain for (auto surface : swapchainMap[swapchain].imageList) { - auto &cache = screenshotDataCache[surface]; + auto& cache = screenshotDataCache[surface]; for (auto cacheIt = cache.begin(); cacheIt != cache.end();) { auto curCacheIt = cacheIt++; if ((*curCacheIt)->swapchain == swapchain) { @@ -1547,47 +1644,45 @@ VKAPI_ATTR void DestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, c } } - DispatchMapStruct *dispMap = get_dispatch_info(device); + DispatchMapStruct* dispMap = get_dispatch_info(device); assert(dispMap); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; pDisp->DestroySwapchainKHR(device, swapchain, pAllocator); } -VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t *pCount, - VkImage *pSwapchainImages) { - DispatchMapStruct *dispMap = get_dispatch_info(device); +VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_t* pCount, + VkImage* pSwapchainImages) { + DispatchMapStruct* dispMap = get_dispatch_info(device); assert(dispMap); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; VkResult result = pDisp->GetSwapchainImagesKHR(device, swapchain, pCount, pSwapchainImages); return result; } void screenshotWriterThreadFunc() { - bool pauseFileRecorded = false; if (!std::atomic_load(&pauseCapture)) { - std::remove(settings.pauseFileName.c_str()); + screenshotWriter->setInProgress(); } while (true) { { std::lock_guard lock(globalLock); - if (globalLayerSettingSet != VK_NULL_HANDLE) { - updatePauseCapture(globalLayerSettingSet); + if (screenshotWriter->canControlPause()) { + screenshotWriter->controlPause(); } } bool paused = std::atomic_load(&pauseCapture); - if (!paused && pauseFileRecorded) { - std::remove(settings.pauseFileName.c_str()); // delete file - pauseFileRecorded = false; + if (!paused && screenshotWriter->isPaused()) { + screenshotWriter->setInProgress(); } std::shared_ptr dataToSave; { PROFILE(paused ? "paused" : "Waiting for CPU") std::unique_lock lock(globalLock); + if (screenshotsData.empty()) { - if (paused && !pauseFileRecorded) { - std::ofstream pauseFile(settings.pauseFileName.c_str()); - pauseFileRecorded = true; + if (paused && !screenshotWriter->isPaused()) { + screenshotWriter->setInPause(); } // Make sure we don't wait on the CPU thread if we are shutting down, will deadlock. if (shutdownScreenshotThread) break; @@ -1640,13 +1735,14 @@ void screenshotWriterThreadFunc() { shutdownScreenshotThread = false; } -void onQueuePresentKHR(VkQueue queue, VkPresentInfoKHR &presentInfo) { +void onQueuePresentKHR(VkQueue queue, VkPresentInfoKHR& presentInfo) { static int frameNumber = -1; ++frameNumber; if (!settings.isFrameToCapture(frameNumber)) { return; } - if (std::atomic_load(&pauseCapture)) { + + if (std::atomic_load(&pauseCapture) && screenshotWriter->canControlPause()) { // Wake up screenshot thread to check whether we should unpause screenshot recording screenshotQueuedCV.notify_one(); return; @@ -1706,11 +1802,11 @@ void onQueuePresentKHR(VkQueue queue, VkPresentInfoKHR &presentInfo) { } } -VKAPI_ATTR VkResult VKAPI_CALL QueuePresentKHR(VkQueue queue, const VkPresentInfoKHR *pPresentInfo) { +VKAPI_ATTR VkResult VKAPI_CALL QueuePresentKHR(VkQueue queue, const VkPresentInfoKHR* pPresentInfo) { VkPresentInfoKHR presentInfo = *pPresentInfo; onQueuePresentKHR(queue, presentInfo); - DispatchMapStruct *dispMap = get_dispatch_info((VkDevice)queue); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + DispatchMapStruct* dispMap = get_dispatch_info((VkDevice)queue); + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; assert(dispMap); VkResult result = pDisp->QueuePresentKHR(queue, &presentInfo); return result; @@ -1723,34 +1819,34 @@ static const VkLayerProperties global_layer = { "Layer: screenshot", // description }; -VKAPI_ATTR VkResult VKAPI_CALL EnumerateInstanceLayerProperties(uint32_t *pCount, VkLayerProperties *pProperties) { +VKAPI_ATTR VkResult VKAPI_CALL EnumerateInstanceLayerProperties(uint32_t* pCount, VkLayerProperties* pProperties) { return util_GetLayerProperties(1, &global_layer, pCount, pProperties); } -VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pCount, - VkLayerProperties *pProperties) { +VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t* pCount, + VkLayerProperties* pProperties) { return util_GetLayerProperties(1, &global_layer, pCount, pProperties); } -VKAPI_ATTR VkResult VKAPI_CALL EnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, - VkExtensionProperties *pProperties) { +VKAPI_ATTR VkResult VKAPI_CALL EnumerateInstanceExtensionProperties(const char* pLayerName, uint32_t* pCount, + VkExtensionProperties* pProperties) { if (pLayerName && !strcmp(pLayerName, global_layer.layerName)) return util_GetExtensionProperties(0, NULL, pCount, pProperties); return VK_ERROR_LAYER_NOT_PRESENT; } -VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char *pLayerName, - uint32_t *pCount, VkExtensionProperties *pProperties) { +VKAPI_ATTR VkResult VKAPI_CALL EnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char* pLayerName, + uint32_t* pCount, VkExtensionProperties* pProperties) { if (pLayerName && !strcmp(pLayerName, global_layer.layerName)) return util_GetExtensionProperties(0, NULL, pCount, pProperties); assert(physicalDevice); - VkuInstanceDispatchTable *pTable = instance_dispatch_table(physicalDevice); + VkuInstanceDispatchTable* pTable = instance_dispatch_table(physicalDevice); return pTable->EnumerateDeviceExtensionProperties(physicalDevice, pLayerName, pCount, pProperties); } -VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevice physicalDevice, uint32_t *pToolCount, - VkPhysicalDeviceToolPropertiesEXT *pToolProperties) { +VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevice physicalDevice, uint32_t* pToolCount, + VkPhysicalDeviceToolPropertiesEXT* pToolProperties) { static const VkPhysicalDeviceToolPropertiesEXT screenshot_layer_tool_props = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT, nullptr, @@ -1767,7 +1863,7 @@ VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevi (*pToolCount)--; } - VkuInstanceDispatchTable *pInstanceTable = instance_dispatch_table(physicalDevice); + VkuInstanceDispatchTable* pInstanceTable = instance_dispatch_table(physicalDevice); VkResult result = pInstanceTable->GetPhysicalDeviceToolPropertiesEXT(physicalDevice, pToolCount, pToolProperties); if (original_pToolProperties != nullptr) { @@ -1779,13 +1875,13 @@ VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT(VkPhysicalDevi return result; } -static PFN_vkVoidFunction intercept_core_instance_command(const char *name); +static PFN_vkVoidFunction intercept_core_instance_command(const char* name); -static PFN_vkVoidFunction intercept_core_device_command(const char *name); +static PFN_vkVoidFunction intercept_core_device_command(const char* name); -static PFN_vkVoidFunction intercept_khr_swapchain_command(const char *name, VkDevice dev); +static PFN_vkVoidFunction intercept_khr_swapchain_command(const char* name, VkDevice dev); -VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetDeviceProcAddr(VkDevice dev, const char *funcName) { +VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetDeviceProcAddr(VkDevice dev, const char* funcName) { PFN_vkVoidFunction proc = intercept_core_device_command(funcName); if (proc) return proc; @@ -1796,15 +1892,15 @@ VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetDeviceProcAddr(VkDevice dev, const c proc = intercept_khr_swapchain_command(funcName, dev); if (proc) return proc; - DispatchMapStruct *dispMap = get_dispatch_info(dev); + DispatchMapStruct* dispMap = get_dispatch_info(dev); assert(dispMap); - VkuDeviceDispatchTable *pDisp = dispMap->device_dispatch_table; + VkuDeviceDispatchTable* pDisp = dispMap->device_dispatch_table; if (pDisp->GetDeviceProcAddr == NULL) return NULL; return pDisp->GetDeviceProcAddr(dev, funcName); } -VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char *funcName) { +VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char* funcName) { PFN_vkVoidFunction proc = intercept_core_instance_command(funcName); if (proc) return proc; @@ -1814,14 +1910,14 @@ VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance if (!proc) proc = intercept_khr_swapchain_command(funcName, VK_NULL_HANDLE); if (proc) return proc; - VkuInstanceDispatchTable *pTable = instance_dispatch_table(instance); + VkuInstanceDispatchTable* pTable = instance_dispatch_table(instance); if (pTable->GetInstanceProcAddr == NULL) return NULL; return pTable->GetInstanceProcAddr(instance, funcName); } -static PFN_vkVoidFunction intercept_core_instance_command(const char *name) { +static PFN_vkVoidFunction intercept_core_instance_command(const char* name) { static const struct { - const char *name; + const char* name; PFN_vkVoidFunction proc; } core_instance_commands[] = { {"vkGetInstanceProcAddr", reinterpret_cast(GetInstanceProcAddr)}, @@ -1843,9 +1939,9 @@ static PFN_vkVoidFunction intercept_core_instance_command(const char *name) { return nullptr; } -static PFN_vkVoidFunction intercept_core_device_command(const char *name) { +static PFN_vkVoidFunction intercept_core_device_command(const char* name) { static const struct { - const char *name; + const char* name; PFN_vkVoidFunction proc; } core_device_commands[] = { {"vkGetDeviceProcAddr", reinterpret_cast(GetDeviceProcAddr)}, @@ -1861,9 +1957,9 @@ static PFN_vkVoidFunction intercept_core_device_command(const char *name) { return nullptr; } -static PFN_vkVoidFunction intercept_khr_swapchain_command(const char *name, VkDevice dev) { +static PFN_vkVoidFunction intercept_khr_swapchain_command(const char* name, VkDevice dev) { static const struct { - const char *name; + const char* name; PFN_vkVoidFunction proc; } khr_swapchain_commands[] = { {"vkCreateSwapchainKHR", reinterpret_cast(CreateSwapchainKHR)}, @@ -1872,7 +1968,7 @@ static PFN_vkVoidFunction intercept_khr_swapchain_command(const char *name, VkDe }; if (dev) { - DeviceMapStruct *devMap = get_device_info(dev); + DeviceMapStruct* devMap = get_device_info(dev); if (!devMap->wsi_enabled) return nullptr; } @@ -1895,35 +1991,35 @@ static PFN_vkVoidFunction intercept_khr_swapchain_command(const char *name, VkDe // loader-layer interface v0, just wrappers since there is only a layer -EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceLayerProperties(uint32_t *pCount, - VkLayerProperties *pProperties) { +EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceLayerProperties(uint32_t* pCount, + VkLayerProperties* pProperties) { return screenshot::EnumerateInstanceLayerProperties(pCount, pProperties); } -EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pCount, - VkLayerProperties *pProperties) { +EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t* pCount, + VkLayerProperties* pProperties) { // the layer command handles VK_NULL_HANDLE just fine internally assert(physicalDevice == VK_NULL_HANDLE); return screenshot::EnumerateDeviceLayerProperties(VK_NULL_HANDLE, pCount, pProperties); } -EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount, - VkExtensionProperties *pProperties) { +EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const char* pLayerName, uint32_t* pCount, + VkExtensionProperties* pProperties) { return screenshot::EnumerateInstanceExtensionProperties(pLayerName, pCount, pProperties); } EXPORT_FUNCTION VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, - const char *pLayerName, uint32_t *pCount, - VkExtensionProperties *pProperties) { + const char* pLayerName, uint32_t* pCount, + VkExtensionProperties* pProperties) { // the layer command handles VK_NULL_HANDLE just fine internally assert(physicalDevice == VK_NULL_HANDLE); return screenshot::EnumerateDeviceExtensionProperties(VK_NULL_HANDLE, pLayerName, pCount, pProperties); } -EXPORT_FUNCTION VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetDeviceProcAddr(VkDevice dev, const char *funcName) { +EXPORT_FUNCTION VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetDeviceProcAddr(VkDevice dev, const char* funcName) { return screenshot::GetDeviceProcAddr(dev, funcName); } -EXPORT_FUNCTION VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *funcName) { +EXPORT_FUNCTION VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char* funcName) { return screenshot::GetInstanceProcAddr(instance, funcName); } diff --git a/layersvt/screenshot_layer.md b/layersvt/screenshot_layer.md index 2a46600330..ac4f0c8943 100644 --- a/layersvt/screenshot_layer.md +++ b/layersvt/screenshot_layer.md @@ -52,3 +52,72 @@ adb shell pm grant com.example.VkCube android.permission.WRITE_EXTERNAL_STORAGE ## Layer Settings The options for this layer are specified in VK_LAYER_LUNARG_screenshot.json. The layer option details are documented in the [screenshot layer documentation](https://vulkan.lunarg.com/doc/sdk/latest/windows/screenshot_layer.html#user-content-layer-details). + +## Emitting Screenshots to Perfetto on Android + +This layer has been modified to emit screenshots directly into Perfetto traces. + +### Building for Android +To build the layer for Android (ARM64), use the provided script: +```bash +export ANDROID_NDK_HOME=/path/to/your/ndk +python3 scripts/android.py --config Release --app-abi arm64-v8a +``` +The library will be located at: `build-android/libs/lib/arm64-v8a/libVkLayer_screenshot.so`. + +### Manual Verification Steps + +#### 1. Install the Layer on Device +Push the `.so` and `.json` files to the device. For a debuggable app, it's best to copy them to the app's directory to avoid permission issues: + +```bash +adb push build-android/libs/lib/arm64-v8a/libVkLayer_screenshot.so /data/local/tmp/ +adb push build/layersvt/VkLayer_screenshot.json /data/local/tmp/ + +adb shell "run-as cp /data/local/tmp/libVkLayer_screenshot.so ." +adb shell "run-as cp /data/local/tmp/VkLayer_screenshot.json ." +``` + +#### 2. Enable the Layer +```bash +adb shell settings put global enable_gpu_debug_layers 1 +adb shell settings put global gpu_debug_layers VK_LAYER_LUNARG_screenshot +adb shell settings put global gpu_debug_app +adb shell settings put global gpu_debug_layer_app /data/data/ +``` + +#### 3. Configure Settings +Create a `vk_layer_settings.txt` file and push it to the app's directory: +```text +lunarg_screenshot.frames = 10-5 +``` +```bash +adb push vk_layer_settings.txt /data/local/tmp/ +adb shell "run-as cp /data/local/tmp/vk_layer_settings.txt ." +``` + +#### 4. Record the Trace +Create a Perfetto config textproto with the category `VulkanScreenshots` enabled: +```textproto +buffers { + size_kb: 63488 +} +data_sources { + config { + name: "track_event" + track_event_config { + enabled_categories: "VulkanScreenshots" + } + } +} +``` +Run the trace: +```bash +adb shell perfetto -c - --txt -o /data/misc/perfetto-traces/trace.perfetto < config.textproto +``` + +#### 5. Pull and View +```bash +adb pull /data/misc/perfetto-traces/trace.perfetto +``` +Open in [ui.perfetto.dev](https://ui.perfetto.dev). diff --git a/layersvt/screenshot_writer.h b/layersvt/screenshot_writer.h new file mode 100644 index 0000000000..d236f5d5f9 --- /dev/null +++ b/layersvt/screenshot_writer.h @@ -0,0 +1,48 @@ +#ifndef LAYERSVT_SCREENSHOT_WRITER_H +#define LAYERSVT_SCREENSHOT_WRITER_H + +#include + +namespace screenshot { + +class ScreenshotWriter { + public: + virtual ~ScreenshotWriter() = default; + virtual bool write(const char* pixels, int width, int height, int numChannels, int rowPitch, int frameNumber) = 0; + + virtual void controlPause() {} + virtual void setInProgress() {} + virtual void setInPause() {} + virtual bool isPaused() const { return false; } + virtual bool canControlPause() const { return false; } +}; + +class FileScreenshotWriter : public ScreenshotWriter { + public: + bool write(const char* pixels, int width, int height, int numChannels, int rowPitch, int frameNumber) override; + + void controlPause() override; + void setInProgress() override; + void setInPause() override; + bool isPaused() const override; + bool canControlPause() const override; + + private: + bool pauseFileRecorded = false; +}; + +class PerfettoScreenshotWriter : public ScreenshotWriter { + public: + PerfettoScreenshotWriter(); + bool write(const char* pixels, int width, int height, int numChannels, int rowPitch, int frameNumber) override; + void setInProgress() override { isPaused_ = false; } + void setInPause() override { isPaused_ = true; } + bool isPaused() const override { return isPaused_; } + + private: + bool isPaused_ = false; +}; + +} // namespace screenshot + +#endif // LAYERSVT_SCREENSHOT_WRITER_H