Searched refs:event_hdr (Results 1 – 1 of 1) sorted by relevance
253 auto* event_hdr = reinterpret_cast<const perf_event_header*>(event); in ReadUntilSample() local255 if (event_hdr->type == PERF_RECORD_SAMPLE) { in ReadUntilSample()257 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()261 if (event_hdr->type == PERF_RECORD_LOST) { in ReadUntilSample()274 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()279 if (event_hdr->type == PERF_RECORD_THROTTLE || in ReadUntilSample()280 event_hdr->type == PERF_RECORD_UNTHROTTLE) { in ReadUntilSample()281 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()286 static_cast<size_t>(event_hdr->type)); in ReadUntilSample()287 ring_buffer_.Consume(event_hdr->size); in ReadUntilSample()[all …]