Lines Matching refs:cpu_file
23 static void ftrace_dump_buf(int skip_entries, long cpu_file) in ftrace_dump_buf() argument
43 if (cpu_file == RING_BUFFER_ALL_CPUS) { in ftrace_dump_buf()
52 iter.cpu_file = cpu_file; in ftrace_dump_buf()
53 iter.buffer_iter[cpu_file] = in ftrace_dump_buf()
55 cpu_file, GFP_ATOMIC); in ftrace_dump_buf()
56 ring_buffer_read_start(iter.buffer_iter[cpu_file]); in ftrace_dump_buf()
57 tracing_iter_reset(&iter, cpu_file); in ftrace_dump_buf()
98 long cpu_file; in kdb_ftdump() local
113 cpu_file = simple_strtol(argv[2], &cp, 0); in kdb_ftdump()
114 if (*cp || cpu_file >= NR_CPUS || cpu_file < 0 || in kdb_ftdump()
115 !cpu_online(cpu_file)) in kdb_ftdump()
118 cpu_file = RING_BUFFER_ALL_CPUS; in kdb_ftdump()
132 if (cpu_file == RING_BUFFER_ALL_CPUS) in kdb_ftdump()
135 cnt = trace_total_entries_cpu(NULL, cpu_file); in kdb_ftdump()
139 ftrace_dump_buf(skip_entries, cpu_file); in kdb_ftdump()