Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file_reader.cpp78 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::RecordFileReader
101 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 …]
Dcmd_merge.cpp127 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 …]
Drecord_file_test.cpp86 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()
Dcmd_record_test.cpp99 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 …]
Drecord_file.h126 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);
Dcmd_api_test.cpp50 auto reader = RecordFileReader::CreateInstance(filename); in CheckPerfDataFile()
Dcmd_debug_unwind_test.cpp141 auto reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
Dcmd_trace_sched.cpp190 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file_path); in ParseSchedEvents()
Dreport_lib_interface.cpp161 std::unique_ptr<RecordFileReader> record_file_reader_;
205 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFileIfNecessary()
Dcmd_inject.cpp211 record_file_reader_ = RecordFileReader::CreateInstance(input_filename_); in ProcessInputFile()
593 std::unique_ptr<RecordFileReader> record_file_reader_;
Dcmd_dumprecord.cpp212 std::unique_ptr<RecordFileReader> record_file_reader_;
223 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()
Dcmd_kmem.cpp330 std::unique_ptr<RecordFileReader> record_file_reader_;
462 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in ReportKmemInfo()
Dcmd_debug_unwind.cpp134 reader_ = RecordFileReader::CreateInstance(record_filename_); in ProcessFile()
196 std::unique_ptr<RecordFileReader> reader_;
DRecordReadThread_test.cpp77 std::unique_ptr<RecordFileReader> reader = in TEST()
78 RecordFileReader::CreateInstance(GetTestData(PERF_DATA_NO_UNWIND)); in TEST()
Dcmd_report_sample.cpp182 std::unique_ptr<RecordFileReader> record_file_reader_;
481 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFile()
Dcmd_report.cpp452 std::unique_ptr<RecordFileReader> record_file_reader_;
486 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()
Dcmd_record.cpp367 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()