Lines Matching refs:RecordFileWriter
35 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()
234 bool RecordFileWriter::WriteBuildIdFeature(const std::vector<BuildIdRecord>& build_id_records) { in WriteBuildIdFeature()
278 bool RecordFileWriter::WriteFileHeader() { in WriteFileHeader()
303 bool RecordFileWriter::Close() { in Close()