Home
last modified time | relevance | path

Searched refs:header_ (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Drecord_file_reader.cpp69 if (!Read(&header_, sizeof(header_))) { in ReadHeader()
72 if (memcmp(header_.magic, PERF_MAGIC, sizeof(header_.magic)) != 0) { in ReadHeader()
80 size_t attr_count = header_.attrs.size / header_.attr_size; in ReadAttrSection()
81 if (header_.attr_size != sizeof(FileAttr)) { in ReadAttrSection()
82 LOG(DEBUG) << "attr size (" << header_.attr_size << ") in " << filename_ in ReadAttrSection()
89 if (fseek(record_fp_, header_.attrs.offset, SEEK_SET) != 0) { in ReadAttrSection()
94 std::vector<char> buf(header_.attr_size); in ReadAttrSection()
103 size_t perf_event_attr_size = header_.attr_size - section_desc_size; in ReadAttrSection()
133 for (size_t i = 0; i < sizeof(header_.features); ++i) { in ReadFeatureSectionDescriptors()
135 if (header_.features[i] & (1 << j)) { in ReadFeatureSectionDescriptors()
[all …]
Drecord_file.h104 return header_; in FileHeader()
172 PerfFileFormat::FileHeader header_; variable
/system/bt/vendor_libs/test_vendor_lib/src/
Dpacket.cc31 : type_(type), header_(std::move(header)) { in Packet()
92 return header_; in GetHeader()
95 uint8_t Packet::GetHeaderSize() const { return header_.size(); } in GetHeaderSize()
99 return 1 + header_.size() + payload_.size(); in GetPacketSize()
/system/extras/perfprofd/quipper/
Dperf_reader.cc703 if (header_.size == sizeof(header_)) { in ReadFromPointer()
705 metadata_mask_ = header_.adds_features[0]; in ReadFromPointer()
911 if (!ReadDataFromBuffer(data, sizeof(header_), "header data", in ReadHeader()
912 &offset, &header_)) { in ReadHeader()
916 ByteSwap(&header_.size); in ReadHeader()
918 DLOG(INFO) << "event_types.size: " << header_.event_types.size; in ReadHeader()
919 DLOG(INFO) << "event_types.offset: " << header_.event_types.offset; in ReadHeader()
925 size_t num_attrs = header_.attrs.size / header_.attr_size; in ReadAttrs()
926 size_t offset = header_.attrs.offset; in ReadAttrs()
1057 size_t num_event_types = header_.event_types.size / in ReadEventTypes()
[all …]
Dperf_reader.h286 struct perf_file_header header_; member
/system/bt/vendor_libs/test_vendor_lib/include/
Dpacket.h90 std::vector<uint8_t> header_; variable