Searched refs:event_hdr (Results 1 – 1 of 1) sorted by relevance
257 auto* event_hdr = reinterpret_cast<const perf_event_header*>(event); in ReadUntilSample() local259 if (event_hdr->type == PERF_RECORD_SAMPLE) { in ReadUntilSample()261 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()265 if (event_hdr->type == PERF_RECORD_LOST) { in ReadUntilSample()278 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()283 if (event_hdr->type == PERF_RECORD_THROTTLE || in ReadUntilSample()284 event_hdr->type == PERF_RECORD_UNTHROTTLE) { in ReadUntilSample()285 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()290 static_cast<size_t>(event_hdr->type)); in ReadUntilSample()291 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()[all …]