Lines Matching defs:RecordFileWriter
35 std::unique_ptr<RecordFileWriter> RecordFileWriter::CreateInstance(
44 auto writer = std::unique_ptr<RecordFileWriter>(new RecordFileWriter(filename, fp));
51 RecordFileWriter::RecordFileWriter(const std::string& filename, FILE* fp)
62 RecordFileWriter::~RecordFileWriter() {
68 bool RecordFileWriter::WriteAttrSection(const perf_event_attr& event_attr,
116 bool RecordFileWriter::WriteData(const void* buf, size_t len) {
124 bool RecordFileWriter::Write(const void* buf, size_t len) {
132 void RecordFileWriter::GetHitModulesInBuffer(const char* p, const char* end,
188 bool RecordFileWriter::GetHitModules(std::vector<std::string>* hit_kernel_modules,
220 bool RecordFileWriter::WriteFeatureHeader(size_t feature_count) {
234 bool RecordFileWriter::WriteBuildIdFeature(const std::vector<BuildIdRecord>& build_id_records) {
278 bool RecordFileWriter::WriteFileHeader() {
303 bool RecordFileWriter::Close() {