Home
last modified time | relevance | path

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

/kernel/trace/
Dtrace_kdb.c23 static struct ring_buffer_iter *buffer_iter[CONFIG_NR_CPUS]; in ftrace_dump_buf() local
29 iter.buffer_iter = buffer_iter; in ftrace_dump_buf()
48 iter.buffer_iter[cpu] = in ftrace_dump_buf()
51 ring_buffer_read_start(iter.buffer_iter[cpu]); in ftrace_dump_buf()
56 iter.buffer_iter[cpu_file] = in ftrace_dump_buf()
59 ring_buffer_read_start(iter.buffer_iter[cpu_file]); in ftrace_dump_buf()
92 if (iter.buffer_iter[cpu]) { in ftrace_dump_buf()
93 ring_buffer_read_finish(iter.buffer_iter[cpu]); in ftrace_dump_buf()
94 iter.buffer_iter[cpu] = NULL; in ftrace_dump_buf()
Dtrace.h548 if (iter->buffer_iter && iter->buffer_iter[cpu]) in trace_buffer_iter()
549 return iter->buffer_iter[cpu]; in trace_buffer_iter()
Dtrace.c3107 iter->buffer_iter = kcalloc(nr_cpu_ids, sizeof(*iter->buffer_iter), in __tracing_open()
3109 if (!iter->buffer_iter) in __tracing_open()
3158 iter->buffer_iter[cpu] = in __tracing_open()
3164 ring_buffer_read_start(iter->buffer_iter[cpu]); in __tracing_open()
3169 iter->buffer_iter[cpu] = in __tracing_open()
3173 ring_buffer_read_start(iter->buffer_iter[cpu]); in __tracing_open()
3184 kfree(iter->buffer_iter); in __tracing_open()
3240 if (iter->buffer_iter[cpu]) in tracing_release()
3241 ring_buffer_read_finish(iter->buffer_iter[cpu]); in tracing_release()
3258 kfree(iter->buffer_iter); in tracing_release()