Lines Matching refs:PerfFileReader
34 std::unique_ptr<PerfFileReader> PerfFileReader::Instance(const std::string &fileName) in Instance()
43 std::unique_ptr<PerfFileReader> reader = std::make_unique<PerfFileReader>(fileName, fp); in Instance()
80 PerfFileReader::PerfFileReader(const std::string &fileName, FILE *fp) : fp_(fp), fileName_(fileName) in PerfFileReader() function in OHOS::Developtools::HiPerf::PerfFileReader
91 PerfFileReader::~PerfFileReader() in ~PerfFileReader()
108 bool PerfFileReader::IsValidDataFile() in IsValidDataFile()
113 bool PerfFileReader::IsGzipFile() in IsGzipFile()
118 bool PerfFileReader::ReadFileHeader() in ReadFileHeader()
138 bool PerfFileReader::ReadAttrSection() in ReadAttrSection()
194 bool PerfFileReader::ReadIdsForAttr(const perf_file_attr &attr, std::vector<uint64_t> *ids) in ReadIdsForAttr()
211 std::vector<AttrWithId> PerfFileReader::GetAttrSection() const in GetAttrSection()
222 bool PerfFileReader::ReadDataSection(ProcessRecordCB &callback) in ReadDataSection()
246 const perf_event_attr *PerfFileReader::GetDefaultAttr() in GetDefaultAttr()
254 bool PerfFileReader::ReadRecord(ProcessRecordCB &callback) in ReadRecord()
317 bool PerfFileReader::Read(void *buf, size_t len) in Read()
332 const perf_file_header &PerfFileReader::GetHeader() const in GetHeader()
337 bool PerfFileReader::Read(char *buf, uint64_t offset, size_t len) in Read()
357 const std::vector<FEATURE> &PerfFileReader::GetFeatures() const in GetFeatures()
362 const std::vector<std::unique_ptr<PerfFileSection>> &PerfFileReader::GetFeatureSections() const in GetFeatureSections()
367 const std::string PerfFileReader::GetFeatureString(const FEATURE feature) const in GetFeatureString()
386 const PerfFileSection *PerfFileReader::GetFeatureSection(FEATURE feature) const in GetFeatureSection()
397 bool PerfFileReader::ReadFeatureSection() in ReadFeatureSection()