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()
4748 iter->buffer_iter = kcalloc(nr_cpu_ids, sizeof(*iter->buffer_iter), in __tracing_open()4750 if (!iter->buffer_iter) in __tracing_open()4824 iter->buffer_iter[cpu] = in __tracing_open()4830 ring_buffer_read_start(iter->buffer_iter[cpu]); in __tracing_open()4835 iter->buffer_iter[cpu] = in __tracing_open()4839 ring_buffer_read_start(iter->buffer_iter[cpu]); in __tracing_open()4851 kfree(iter->buffer_iter); in __tracing_open()4948 if (iter->buffer_iter[cpu]) in tracing_release()4949 ring_buffer_read_finish(iter->buffer_iter[cpu]); in tracing_release()4968 kfree(iter->buffer_iter); in tracing_release()
580 return iter->buffer_iter ? iter->buffer_iter[cpu] : NULL; in trace_buffer_iter()