Lines Matching defs:PerfFileWriter
28 PerfFileWriter::~PerfFileWriter()
40 bool PerfFileWriter::Open(const std::string &fileName, bool compressData)
76 bool PerfFileWriter::Close()
121 bool PerfFileWriter::WriteRecord(const PerfEventRecord &record)
145 bool PerfFileWriter::ReadDataSection(ProcessRecordCB &callback)
158 bool PerfFileWriter::ReadRecords(ProcessRecordCB &callback)
207 bool PerfFileWriter::Read(void *buf, size_t len)
217 uint64_t PerfFileWriter::GetDataSize() const
222 uint PerfFileWriter::GetRecordCount() const
227 bool PerfFileWriter::GetFilePos(uint64_t &pos) const
238 bool PerfFileWriter::Write(const void *buf, size_t len)
243 CHECK_TRUE(len != 0u && fwrite(buf, len, 1, fp_) != 1, false, 1, "PerfFileWriter fwrite fail ");
250 bool PerfFileWriter::WriteAttrAndId(const std::vector<AttrWithId> &attrIds)
310 bool PerfFileWriter::WriteHeader()
329 bool PerfFileWriter::WriteFeatureData()
383 bool PerfFileWriter::AddNrCpusFeature(FEATURE feature, uint32_t nrCpusAvailable,
397 bool PerfFileWriter::AddEventDescFeature(FEATURE feature,
409 bool PerfFileWriter::AddStringFeature(FEATURE feature, std::string string)
420 bool PerfFileWriter::AddBoolFeature(FEATURE feature)
426 bool PerfFileWriter::AddU64Feature(FEATURE feature, uint64_t v)
437 bool PerfFileWriter::AddUniStackTableFeature(const ProcessStackMap *table)
446 bool PerfFileWriter::AddSymbolsFeature(