Home
last modified time | relevance | path

Searched refs:RecordFileWriter (Results 1 – 6 of 6) sorted by relevance

/system/extras/simpleperf/
Drecord_file_writer.cpp43 std::unique_ptr<RecordFileWriter> RecordFileWriter::CreateInstance(const std::string& filename) { in CreateInstance()
56 return std::unique_ptr<RecordFileWriter>(new RecordFileWriter(filename, fp, true)); in CreateInstance()
59 RecordFileWriter::RecordFileWriter(const std::string& filename, FILE* fp, bool own_fp) in RecordFileWriter() function in simpleperf::RecordFileWriter
70 RecordFileWriter::~RecordFileWriter() { in ~RecordFileWriter()
77 bool RecordFileWriter::WriteAttrSection(const std::vector<EventAttrWithId>& attr_ids) { in WriteAttrSection()
128 bool RecordFileWriter::WriteRecord(const Record& record) { in WriteRecord()
170 bool RecordFileWriter::WriteData(const void* buf, size_t len) { in WriteData()
178 bool RecordFileWriter::Write(const void* buf, size_t len) { in Write()
186 bool RecordFileWriter::Read(void* buf, size_t len) { in Read()
194 bool RecordFileWriter::ReadDataSection(const std::function<void(const Record*)>& callback) { in ReadDataSection()
[all …]
Drecord_file_test.cpp60 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
108 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
132 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
156 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
Drecord_file.h66 class RecordFileWriter {
68 static std::unique_ptr<RecordFileWriter> CreateInstance(const std::string& filename);
71 RecordFileWriter(const std::string& filename, FILE* fp, bool own_fp);
72 ~RecordFileWriter();
122 DISALLOW_COPY_AND_ASSIGN(RecordFileWriter);
Dcmd_merge.cpp137 writer_ = RecordFileWriter::CreateInstance(output_file_); in Run()
416 std::unique_ptr<RecordFileWriter> writer_;
Dcmd_record.cpp346 std::unique_ptr<RecordFileWriter> CreateRecordFile(const std::string& filename);
403 std::unique_ptr<RecordFileWriter> record_file_writer_;
1231 std::unique_ptr<RecordFileWriter> RecordCommand::CreateRecordFile(const std::string& filename) { in CreateRecordFile()
1232 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(filename); in CreateRecordFile()
Dcmd_debug_unwind.cpp355 writer_.reset(new RecordFileWriter(output_filename_, out_fp_, false)); in Process()
482 std::unique_ptr<RecordFileWriter> writer_;