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