Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_file.cpp35 std::unique_ptr<RecordFileWriter> RecordFileWriter::CreateInstance( in CreateInstance()
44 auto writer = std::unique_ptr<RecordFileWriter>(new RecordFileWriter(filename, fp)); in CreateInstance()
51 RecordFileWriter::RecordFileWriter(const std::string& filename, FILE* fp) in RecordFileWriter() function in RecordFileWriter
62 RecordFileWriter::~RecordFileWriter() { in ~RecordFileWriter()
68 bool RecordFileWriter::WriteAttrSection(const perf_event_attr& event_attr, in WriteAttrSection()
116 bool RecordFileWriter::WriteData(const void* buf, size_t len) { in WriteData()
124 bool RecordFileWriter::Write(const void* buf, size_t len) { in Write()
132 void RecordFileWriter::GetHitModulesInBuffer(const char* p, const char* end, in GetHitModulesInBuffer()
188 bool RecordFileWriter::GetHitModules(std::vector<std::string>* hit_kernel_modules, in GetHitModules()
220 bool RecordFileWriter::WriteFeatureHeader(size_t feature_count) { in WriteFeatureHeader()
[all …]
Drecord_file.h34 class RecordFileWriter {
36 static std::unique_ptr<RecordFileWriter> CreateInstance(
40 ~RecordFileWriter();
62 RecordFileWriter(const std::string& filename, FILE* fp);
84 DISALLOW_COPY_AND_ASSIGN(RecordFileWriter);
Drecord_file_test.cpp50 std::unique_ptr<RecordFileWriter> writer = in TEST_F()
51 RecordFileWriter::CreateInstance(filename, event_attr, event_fds); in TEST_F()
Dcmd_record.cpp81 std::unique_ptr<RecordFileWriter> record_file_writer_;
128 record_file_writer_ = RecordFileWriter::CreateInstance( in Run()