• Home
  • Raw
  • Download

Lines Matching refs:cpu

37 	int				cpu;  member
48 { TRACER_OPT(funcgraph-cpu, TRACE_GRAPH_PRINT_CPU) },
134 int cpu; in trace_graph_entry() local
173 cpu = raw_smp_processor_id(); in trace_graph_entry()
174 data = per_cpu_ptr(tr->trace_buffer.data, cpu); in trace_graph_entry()
243 int cpu; in trace_graph_return() local
254 cpu = raw_smp_processor_id(); in trace_graph_return()
255 data = per_cpu_ptr(tr->trace_buffer.data, cpu); in trace_graph_return()
333 static void print_graph_cpu(struct trace_seq *s, int cpu) in print_graph_cpu() argument
340 trace_seq_printf(s, " %*d) ", max_bytes_for_cpu, cpu); in print_graph_cpu()
385 verif_pid(struct trace_seq *s, pid_t pid, int cpu, struct fgraph_data *data) in verif_pid() argument
393 last_pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in verif_pid()
412 print_graph_cpu(s, cpu); in verif_pid()
437 ring_iter = trace_buffer_iter(iter, iter->cpu); in get_return_for_leaf()
447 ring_buffer_consume(iter->trace_buffer->buffer, iter->cpu, in get_return_for_leaf()
449 event = ring_buffer_peek(iter->trace_buffer->buffer, iter->cpu, in get_return_for_leaf()
514 enum trace_type type, int cpu, pid_t pid, u32 flags) in print_graph_irq() argument
535 print_graph_cpu(s, cpu); in print_graph_irq()
636 int cpu = iter->cpu; in print_graph_entry_leaf() local
646 cpu_data = per_cpu_ptr(data->cpu_data, cpu); in print_graph_entry_leaf()
671 cpu, iter->ent->pid, flags); in print_graph_entry_leaf()
679 struct trace_seq *s, int cpu, u32 flags) in print_graph_entry_nested() argument
688 int cpu = iter->cpu; in print_graph_entry_nested() local
690 cpu_data = per_cpu_ptr(data->cpu_data, cpu); in print_graph_entry_nested()
725 int cpu = iter->cpu; in print_graph_prologue() local
728 verif_pid(s, ent->pid, cpu, data); in print_graph_prologue()
732 print_graph_irq(iter, addr, type, cpu, ent->pid, flags); in print_graph_prologue()
747 print_graph_cpu(s, cpu); in print_graph_prologue()
777 int cpu = iter->cpu; in check_irq_entry() local
790 depth_irq = &(per_cpu_ptr(data->cpu_data, cpu)->depth_irq); in check_irq_entry()
823 int cpu = iter->cpu; in check_irq_return() local
836 depth_irq = &(per_cpu_ptr(data->cpu_data, cpu)->depth_irq); in check_irq_return()
872 int cpu = iter->cpu; in print_graph_entry() local
883 ret = print_graph_entry_nested(iter, field, s, cpu, flags); in print_graph_entry()
892 data->cpu = cpu; in print_graph_entry()
909 int cpu = iter->cpu; in print_graph_return() local
918 int cpu = iter->cpu; in print_graph_return() local
920 cpu_data = per_cpu_ptr(data->cpu_data, cpu); in print_graph_return()
964 cpu, pid, flags); in print_graph_return()
982 depth = per_cpu_ptr(data->cpu_data, iter->cpu)->depth; in print_graph_comment()
1045 int cpu = iter->cpu; in print_graph_function_flags() local
1048 if (data && per_cpu_ptr(data->cpu_data, cpu)->ignore) { in print_graph_function_flags()
1049 per_cpu_ptr(data->cpu_data, cpu)->ignore = 0; in print_graph_function_flags()
1059 iter->cpu = data->cpu; in print_graph_function_flags()
1061 if (ret == TRACE_TYPE_HANDLED && iter->cpu != cpu) { in print_graph_function_flags()
1062 per_cpu_ptr(data->cpu_data, iter->cpu)->ignore = 1; in print_graph_function_flags()
1065 iter->cpu = cpu; in print_graph_function_flags()
1205 int cpu; in graph_trace_open() local
1220 for_each_possible_cpu(cpu) { in graph_trace_open()
1221 pid_t *pid = &(per_cpu_ptr(data->cpu_data, cpu)->last_pid); in graph_trace_open()
1222 int *depth = &(per_cpu_ptr(data->cpu_data, cpu)->depth); in graph_trace_open()
1223 int *ignore = &(per_cpu_ptr(data->cpu_data, cpu)->ignore); in graph_trace_open()
1224 int *depth_irq = &(per_cpu_ptr(data->cpu_data, cpu)->depth_irq); in graph_trace_open()