Searched refs:SampleInfoReader (Results 1 – 5 of 5) sorted by relevance
/external/perf_data_converter/src/quipper/ |
D | sample_info_reader_test.cc | 37 SampleInfoReader reader(attr, false /* read_cross_endian */); in TEST() 99 SampleInfoReader reader(attr, true /* read_cross_endian */); in TEST() 157 SampleInfoReader reader(attr, false /* read_cross_endian */); in TEST() 218 SampleInfoReader reader(attr, false /* read_cross_endian */); in TEST() 270 SampleInfoReader reader(attr, false /* read_cross_endian */); in TEST() 310 SampleInfoReader reader(attr, false /* read_cross_endian */); in TEST() 348 SampleInfoReader reader(attr, false /* read_cross_endian */); in TEST()
|
D | sample_info_reader.cc | 154 reader.SeekSet(SampleInfoReader::GetPerfSampleDataOffset(event)); in ReadPerfSampleFromData() 160 uint64_t sample_fields = SampleInfoReader::GetSampleFieldsForEventType( in ReadPerfSampleFromData() 334 uint64_t offset = SampleInfoReader::GetPerfSampleDataOffset(*event); in WritePerfSampleToData() 342 uint64_t sample_fields = SampleInfoReader::GetSampleFieldsForEventType( in WritePerfSampleToData() 517 bool SampleInfoReader::ReadPerfSampleInfo(const event_t& event, in ReadPerfSampleInfo() 537 bool SampleInfoReader::WritePerfSampleInfo(const perf_sample& sample, in WritePerfSampleInfo() 557 uint64_t SampleInfoReader::GetSampleFieldsForEventType(uint32_t event_type, in GetSampleFieldsForEventType() 584 uint64_t SampleInfoReader::GetPerfSampleDataOffset(const event_t& event) { in GetPerfSampleDataOffset()
|
D | perf_serializer.h | 36 class SampleInfoReader; variable 221 const SampleInfoReader* GetSampleInfoReaderForEvent( 228 const SampleInfoReader* GetSampleInfoReaderForId(uint64_t id) const; 260 std::map<uint64_t, std::unique_ptr<SampleInfoReader>> sample_info_reader_map_;
|
D | sample_info_reader.h | 19 class SampleInfoReader { 21 SampleInfoReader(struct perf_event_attr event_attr, bool read_cross_endian) in SampleInfoReader() function
|
D | perf_serializer.cc | 370 const SampleInfoReader* reader = GetSampleInfoReaderForEvent(event); in SerializeSampleEvent() 430 const SampleInfoReader* reader = GetSampleInfoReaderForEvent(*event); in DeserializeSampleEvent() 488 const SampleInfoReader* writer = GetSampleInfoReaderForId(sample.id()); in DeserializeSampleEvent() 582 const SampleInfoReader* reader = in DeserializeCommEvent() 585 uint64_t sample_fields = SampleInfoReader::GetSampleFieldsForEventType( in DeserializeCommEvent() 587 comm.header.size = SampleInfoReader::GetPerfSampleDataOffset(*event) + in DeserializeCommEvent() 746 const SampleInfoReader* writer = GetSampleInfoReaderForId(sample.id()); in DeserializeSampleInfo() 1017 new SampleInfoReader(attr.attr, read_cross_endian)); in CreateSampleInfoReader() 1065 const SampleInfoReader* PerfSerializer::GetSampleInfoReaderForEvent( in GetSampleInfoReaderForEvent() 1102 const SampleInfoReader* PerfSerializer::GetSampleInfoReaderForId( in GetSampleInfoReaderForId() [all …]
|