Lines Matching defs:Record
216 struct Record { struct
217 RecordHeader header; argument
220 Record() : binary_(nullptr), own_binary_(false) {} in Record() function
221 explicit Record(char* p) : header(p), binary_(p), own_binary_(false) {} in Record() function
224 virtual ~Record() { in ~Record() argument
230 void OwnBinary() { own_binary_ = true; } in OwnBinary()
232 uint32_t type() const { return header.type; } in type()
234 uint16_t misc() const { return header.misc; } in misc()
236 uint32_t size() const { return header.size; } in size()
238 static uint32_t header_size() { return sizeof(perf_event_header); } in header_size()
240 bool InKernel() const { in InKernel()
268 DISALLOW_COPY_AND_ASSIGN(Record); argument