Searched refs:buffer_iter (Results 1 – 3 of 3) sorted by relevance
21 static struct ring_buffer_iter *buffer_iter[CONFIG_NR_CPUS]; variable45 iter.buffer_iter[cpu] = in ftrace_dump_buf()48 ring_buffer_read_start(iter.buffer_iter[cpu]); in ftrace_dump_buf()53 iter.buffer_iter[cpu_file] = in ftrace_dump_buf()56 ring_buffer_read_start(iter.buffer_iter[cpu_file]); in ftrace_dump_buf()85 if (iter.buffer_iter[cpu]) { in ftrace_dump_buf()86 ring_buffer_read_finish(iter.buffer_iter[cpu]); in ftrace_dump_buf()87 iter.buffer_iter[cpu] = NULL; in ftrace_dump_buf()124 iter.buffer_iter = buffer_iter; in kdb_ftdump()
4082 iter->buffer_iter = kcalloc(nr_cpu_ids, sizeof(*iter->buffer_iter), in __tracing_open()4084 if (!iter->buffer_iter) in __tracing_open()4133 iter->buffer_iter[cpu] = in __tracing_open()4139 ring_buffer_read_start(iter->buffer_iter[cpu]); in __tracing_open()4144 iter->buffer_iter[cpu] = in __tracing_open()4148 ring_buffer_read_start(iter->buffer_iter[cpu]); in __tracing_open()4159 kfree(iter->buffer_iter); in __tracing_open()4217 if (iter->buffer_iter[cpu]) in tracing_release()4218 ring_buffer_read_finish(iter->buffer_iter[cpu]); in tracing_release()4235 kfree(iter->buffer_iter); in tracing_release()
676 return iter->buffer_iter ? iter->buffer_iter[cpu] : NULL; in trace_buffer_iter()