Lines Matching full:overwrite
20 bool overwrite, libperf_unmap_cb_t unmap_cb) in perf_mmap__init() argument
24 map->overwrite = overwrite; in perf_mmap__init()
102 if (!map->overwrite) { in perf_mmap__consume()
122 pr_debug("Finished reading overwrite ring buffer: rewind\n"); in overwrite_rb_find_range()
132 pr_debug("Finished reading overwrite ring buffer: get start\n"); in overwrite_rb_find_range()
154 md->start = md->overwrite ? head : old; in __perf_mmap__read_init()
155 md->end = md->overwrite ? old : head; in __perf_mmap__read_init()
162 if (!md->overwrite) { in __perf_mmap__read_init()
193 * Mandatory for overwrite mode
194 * The direction of overwrite mode is backward.
282 /* non-overwrite doesn't pause the ringbuffer */ in perf_mmap__read_event()
283 if (!map->overwrite) in perf_mmap__read_event()
288 if (!map->overwrite) in perf_mmap__read_event()