Searched refs:RecordFileReader (Results 1 – 17 of 17) sorted by relevance
78 std::unique_ptr<RecordFileReader> RecordFileReader::CreateInstance(const std::string& filename) { in CreateInstance()85 auto reader = std::unique_ptr<RecordFileReader>(new RecordFileReader(filename, fp)); in CreateInstance()94 RecordFileReader::RecordFileReader(const std::string& filename, FILE* fp) in RecordFileReader() function in simpleperf::RecordFileReader101 RecordFileReader::~RecordFileReader() { in ~RecordFileReader()107 bool RecordFileReader::Close() { in Close()117 bool RecordFileReader::ReadHeader() { in ReadHeader()128 bool RecordFileReader::ReadAttrSection() { in ReadAttrSection()180 bool RecordFileReader::ReadFeatureSectionDescriptors() { in ReadFeatureSectionDescriptors()204 bool RecordFileReader::ReadIdsForAttr(const FileAttr& attr, std::vector<uint64_t>* ids) { in ReadIdsForAttr()217 void RecordFileReader::UseRecordingEnvironment() { in UseRecordingEnvironment()[all …]
127 readers_.emplace_back(RecordFileReader::CreateInstance(file)); in Run()181 auto get_arch = [](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()184 auto get_kernel_version = [](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()187 auto get_meta_info = [](std::unique_ptr<RecordFileReader>& reader, const char* key) { in CheckFeatureSection()191 auto get_simpleperf_version = [&](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()194 auto get_trace_offcpu = [&](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()197 auto get_event_types = [&](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()203 auto get_android_device = [&](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()206 auto get_android_version = [&](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()209 auto get_app_package_name = [&](std::unique_ptr<RecordFileReader>& reader) { in CheckFeatureSection()[all …]
86 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()120 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()149 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()173 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
99 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file); in CheckEventType()152 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()172 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()202 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()320 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(path); in CheckKernelSymbol()349 auto reader = RecordFileReader::CreateInstance(perf_data_file); in ProcessSymbolsInPerfDataFile()505 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()544 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()570 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()583 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()[all …]
126 class RecordFileReader {128 static std::unique_ptr<RecordFileReader> CreateInstance(const std::string& filename);130 ~RecordFileReader();194 RecordFileReader(const std::string& filename, FILE* fp);236 DISALLOW_COPY_AND_ASSIGN(RecordFileReader);
50 auto reader = RecordFileReader::CreateInstance(filename); in CheckPerfDataFile()
141 auto reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
190 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file_path); in ParseSchedEvents()
161 std::unique_ptr<RecordFileReader> record_file_reader_;205 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFileIfNecessary()
211 record_file_reader_ = RecordFileReader::CreateInstance(input_filename_); in ProcessInputFile()593 std::unique_ptr<RecordFileReader> record_file_reader_;
212 std::unique_ptr<RecordFileReader> record_file_reader_;223 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()
330 std::unique_ptr<RecordFileReader> record_file_reader_;462 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in ReportKmemInfo()
134 reader_ = RecordFileReader::CreateInstance(record_filename_); in ProcessFile()196 std::unique_ptr<RecordFileReader> reader_;
77 std::unique_ptr<RecordFileReader> reader = in TEST()78 RecordFileReader::CreateInstance(GetTestData(PERF_DATA_NO_UNWIND)); in TEST()
182 std::unique_ptr<RecordFileReader> record_file_reader_;481 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFile()
452 std::unique_ptr<RecordFileReader> record_file_reader_;486 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()
367 std::unique_ptr<RecordFileReader> MoveRecordFile(const std::string& old_filename);1621 std::unique_ptr<RecordFileReader> RecordCommand::MoveRecordFile(const std::string& old_filename) { in MoveRecordFile()1638 return RecordFileReader::CreateInstance(old_filename); in MoveRecordFile()