Home
last modified time | relevance | path

Searched refs:perf_header (Results 1 – 1 of 1) sorted by relevance

/external/bcc/src/cc/
Dperf_reader.c148 static uint64_t read_data_head(volatile struct perf_event_mmap_page *perf_header) { in read_data_head() argument
149 uint64_t data_head = perf_header->data_head; in read_data_head()
154 static void write_data_tail(volatile struct perf_event_mmap_page *perf_header, uint64_t data_tail) { in write_data_tail() argument
156 perf_header->data_tail = data_tail; in write_data_tail()
160 volatile struct perf_event_mmap_page *perf_header = reader->base; in perf_reader_event_read() local
174 for (data_head = read_data_head(perf_header); perf_header->data_tail != data_head; in perf_reader_event_read()
175 data_head = read_data_head(perf_header)) { in perf_reader_event_read()
176 uint64_t data_tail = perf_header->data_tail; in perf_reader_event_read()
214 write_data_tail(perf_header, perf_header->data_tail + e->size); in perf_reader_event_read()