Home
last modified time | relevance | path

Searched refs:RecordFileReader (Results 1 – 5 of 5) sorted by relevance

/system/extras/simpleperf/
Drecord_file.h88 class RecordFileReader {
90 static std::unique_ptr<RecordFileReader> CreateInstance(const std::string& filename);
92 ~RecordFileReader();
105 RecordFileReader(const std::string& filename, int fd);
114 DISALLOW_COPY_AND_ASSIGN(RecordFileReader);
Drecord_file.cpp321 std::unique_ptr<RecordFileReader> RecordFileReader::CreateInstance(const std::string& filename) { in CreateInstance()
327 auto reader = std::unique_ptr<RecordFileReader>(new RecordFileReader(filename, fd)); in CreateInstance()
334 RecordFileReader::RecordFileReader(const std::string& filename, int fd) in RecordFileReader() function in RecordFileReader
338 RecordFileReader::~RecordFileReader() { in ~RecordFileReader()
344 bool RecordFileReader::Close() { in Close()
358 bool RecordFileReader::MmapFile() { in MmapFile()
375 const FileHeader* RecordFileReader::FileHeader() { in FileHeader()
379 std::vector<const FileAttr*> RecordFileReader::AttrSection() { in AttrSection()
390 std::vector<uint64_t> RecordFileReader::IdsForAttr(const FileAttr* attr) { in IdsForAttr()
400 std::vector<std::unique_ptr<const Record>> RecordFileReader::DataSection() { in DataSection()
[all …]
Dcmd_record_test.cpp63 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance("perf.data"); in TEST_F()
82 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance("perf.data"); in TEST_F()
Drecord_file_test.cpp70 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(filename); in TEST_F()
Dcmd_dumprecord.cpp48 std::unique_ptr<RecordFileReader> record_file_reader_;
57 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()