Searched refs:perf_file_section (Results 1 – 6 of 6) sorted by relevance
60 struct perf_file_section { struct67 struct perf_file_section ids; argument82 struct perf_file_section attrs;83 struct perf_file_section data;84 struct perf_file_section event_types;
146 perf_file_section AddId(u64 id) { return AddIds({id}); } in AddId()147 perf_file_section AddIds(std::initializer_list<u64> ids) { in AddIds()149 perf_file_section s = { in AddIds()182 SelfT& WithIds(const perf_file_section& section) { in WithIds()193 perf_file_section ids_section_;397 struct perf_file_section entry = { in WriteTo()405 const perf_file_section index_entry_;
166 bool ReadPerfFileSection(DataReader* data, struct perf_file_section* section) { in ReadPerfFileSection()316 total_size += GetNumSupportedMetadata() * sizeof(struct perf_file_section); in GetSize()624 perf_file_section ids; in ReadAttr()810 std::vector<struct perf_file_section> sections(GetNumBits(metadata_mask())); in ReadMetadata()811 for (struct perf_file_section& section : sections) { in ReadMetadata()1397 std::vector<struct perf_file_section> id_sections; in WriteAttrs()1402 id_sections.push_back(perf_file_section{data->Tell(), section_size}); in WriteAttrs()1410 const struct perf_file_section& id_section = id_sections[i]; in WriteAttrs()1462 GetNumSupportedMetadata() * sizeof(perf_file_section); in WriteMetadata()1467 std::vector<struct perf_file_section> metadata_sections; in WriteMetadata()[all …]
82 header_.attr_size = sz + sizeof(perf_file_section); in WithCustomPerfEventAttrSize()407 const perf_file_section& index_entry = index_entry_.index_entry_; in WriteTo()442 const perf_file_section& index_entry = parent_->index_entry_.index_entry_; in WriteTo()
330 file_header.data_end() + metadata_count * sizeof(perf_file_section)); in TEST()420 const perf_file_section branch_stack_index = { in TEST()451 reinterpret_cast<struct perf_file_section*>(output_perf_data.data() + in TEST()1131 file_header.data_end() + 5 * sizeof(perf_file_section); in TEST()1774 file_header.data_end() + 2 * sizeof(perf_file_section); in TEST()
417 file_header.data_end() + metadata_count * sizeof(perf_file_section)); in TEST()