Lines Matching +full:activate +full:- +full:to +full:- +full:activate

31 	struct ring_buffer *buffer = tr->buffer;  in tracing_sched_switch_trace()
40 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
41 entry->prev_prio = prev->prio; in tracing_sched_switch_trace()
42 entry->prev_state = prev->state; in tracing_sched_switch_trace()
43 entry->next_pid = next->pid; in tracing_sched_switch_trace()
44 entry->next_prio = next->prio; in tracing_sched_switch_trace()
45 entry->next_state = next->state; in tracing_sched_switch_trace()
46 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace()
72 data = ctx_trace->data[cpu]; in probe_sched_switch()
74 if (likely(!atomic_read(&data->disabled))) in probe_sched_switch()
89 struct ring_buffer *buffer = tr->buffer; in tracing_sched_wakeup_trace()
96 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
97 entry->prev_prio = curr->prio; in tracing_sched_wakeup_trace()
98 entry->prev_state = curr->state; in tracing_sched_wakeup_trace()
99 entry->next_pid = wakee->pid; in tracing_sched_wakeup_trace()
100 entry->next_prio = wakee->prio; in tracing_sched_wakeup_trace()
101 entry->next_state = wakee->state; in tracing_sched_wakeup_trace()
102 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace()
106 ftrace_trace_stack(tr->buffer, flags, 6, pc); in tracing_sched_wakeup_trace()
107 ftrace_trace_userstack(tr->buffer, flags, pc); in tracing_sched_wakeup_trace()
128 data = ctx_trace->data[cpu]; in probe_sched_wakeup()
130 if (likely(!atomic_read(&data->disabled))) in probe_sched_wakeup()
143 pr_info("wakeup trace: Couldn't activate tracepoint" in tracing_sched_register()
144 " probe to kernel_sched_wakeup\n"); in tracing_sched_register()
150 pr_info("wakeup trace: Couldn't activate tracepoint" in tracing_sched_register()
151 " probe to kernel_sched_wakeup_new\n"); in tracing_sched_register()
157 pr_info("sched trace: Couldn't activate tracepoint" in tracing_sched_register()
158 " probe to kernel_sched_switch\n"); in tracing_sched_register()
188 if (!(--sched_ref)) in tracing_stop_sched_switch()
204 * tracing_start_sched_switch_record - start tracing context switches
223 * tracing_stop_sched_switch_record - start tracing context switches
230 tracer_enabled--; in tracing_stop_sched_switch_record()
238 * tracing_sched_switch_assign_trace - assign a trace array for ctx switch
239 * @tr: trace array pointer to assign
241 * Some tracers might want to record the context switches in their
243 * to use.