Lines Matching defs:Record
229 struct Record { struct
230 RecordHeader header; argument
233 Record() : binary_(nullptr), own_binary_(false) {} in Record() argument
236 virtual ~Record() { in ~Record() argument
244 void OwnBinary() { own_binary_ = true; } in OwnBinary()
246 uint32_t type() const { return header.type; } in type()
248 uint16_t misc() const { return header.misc; } in misc()
250 uint32_t size() const { return header.size; } in size()
252 static uint32_t header_size() { return sizeof(perf_event_header); } in header_size()
254 bool InKernel() const { in InKernel()
259 void SetTypeAndMisc(uint32_t type, uint16_t misc) { in SetTypeAndMisc()
283 DISALLOW_COPY_AND_ASSIGN(Record); argument