• Home
  • Raw
  • Download

Lines Matching +full:waking +full:- +full:up

1 /* SPDX-License-Identifier: GPL-2.0 */
27 memcpy(__entry->comm, t->comm, TASK_COMM_LEN);
28 __entry->pid = t->pid;
31 TP_printk("comm=%s pid=%d", __entry->comm, __entry->pid)
48 __entry->ret = ret;
51 TP_printk("ret=%d", __entry->ret)
55 * Tracepoint for waking up a task:
72 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
73 __entry->pid = p->pid;
74 __entry->prio = p->prio; /* XXX SCHED_DEADLINE */
75 __entry->success = 1; /* rudiment, kill when possible */
76 __entry->target_cpu = task_cpu(p);
80 __entry->comm, __entry->pid, __entry->prio,
81 __entry->target_cpu)
85 * Tracepoint called when waking a task; this tracepoint is guaranteed to be
86 * called from the waking context.
93 * Tracepoint called when the task is actually woken; p->state == TASK_RUNNNG.
94 * It it not always called from the waking context.
101 * Tracepoint for waking up a new task:
124 * task_state_index() uses fls() and returns a value from 0-8 range. in __trace_sched_switch_state()
126 * it for left shift operation to get the correct task->state in __trace_sched_switch_state()
131 return state ? (1 << (state - 1)) : state; in __trace_sched_switch_state()
157 memcpy(__entry->next_comm, next->comm, TASK_COMM_LEN);
158 __entry->prev_pid = prev->pid;
159 __entry->prev_prio = prev->prio;
160 __entry->prev_state = __trace_sched_switch_state(preempt, prev);
161 memcpy(__entry->prev_comm, prev->comm, TASK_COMM_LEN);
162 __entry->next_pid = next->pid;
163 __entry->next_prio = next->prio;
168 __entry->prev_comm, __entry->prev_pid, __entry->prev_prio,
170 (__entry->prev_state & (TASK_REPORT_MAX - 1)) ?
171 __print_flags(__entry->prev_state & (TASK_REPORT_MAX - 1), "|",
182 __entry->prev_state & TASK_REPORT_MAX ? "+" : "",
183 __entry->next_comm, __entry->next_pid, __entry->next_prio)
204 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
205 __entry->pid = p->pid;
206 __entry->prio = p->prio; /* XXX SCHED_DEADLINE */
207 __entry->orig_cpu = task_cpu(p);
208 __entry->dest_cpu = dest_cpu;
212 __entry->comm, __entry->pid, __entry->prio,
213 __entry->orig_cpu, __entry->dest_cpu)
229 memcpy(__entry->comm, p->comm, TASK_COMM_LEN);
230 __entry->pid = p->pid;
231 __entry->prio = p->prio; /* XXX SCHED_DEADLINE */
235 __entry->comm, __entry->pid, __entry->prio)
276 memcpy(__entry->comm, current->comm, TASK_COMM_LEN);
277 __entry->pid = pid_nr(pid);
278 __entry->prio = current->prio; /* XXX SCHED_DEADLINE */
282 __entry->comm, __entry->pid, __entry->prio)
302 memcpy(__entry->parent_comm, parent->comm, TASK_COMM_LEN);
303 __entry->parent_pid = parent->pid;
304 memcpy(__entry->child_comm, child->comm, TASK_COMM_LEN);
305 __entry->child_pid = child->pid;
309 __entry->parent_comm, __entry->parent_pid,
310 __entry->child_comm, __entry->child_pid)
324 __string( filename, bprm->filename )
330 __assign_str(filename, bprm->filename);
331 __entry->pid = p->pid;
332 __entry->old_pid = old_pid;
336 __entry->pid, __entry->old_pid)
356 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
357 __entry->pid = tsk->pid;
358 __entry->delay = delay;
362 __entry->comm, __entry->pid,
363 (unsigned long long)__entry->delay)
416 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
417 __entry->pid = tsk->pid;
418 __entry->runtime = runtime;
419 __entry->vruntime = vruntime;
423 __entry->comm, __entry->pid,
424 (unsigned long long)__entry->runtime,
425 (unsigned long long)__entry->vruntime)
450 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
451 __entry->pid = tsk->pid;
452 __entry->oldprio = tsk->prio;
453 __entry->newprio = pi_task ?
454 min(tsk->normal_prio, pi_task->prio) :
455 tsk->normal_prio;
460 __entry->comm, __entry->pid,
461 __entry->oldprio, __entry->newprio)
475 memcpy(__entry->comm, tsk->comm, TASK_COMM_LEN);
476 __entry->pid = tsk->pid;
479 TP_printk("comm=%s pid=%d", __entry->comm, __entry->pid)
500 __entry->pid = task_pid_nr(tsk);
501 __entry->tgid = task_tgid_nr(tsk);
502 __entry->ngid = task_numa_group_id(tsk);
503 __entry->src_cpu = src_cpu;
504 __entry->src_nid = cpu_to_node(src_cpu);
505 __entry->dst_cpu = dst_cpu;
506 __entry->dst_nid = cpu_to_node(dst_cpu);
510 __entry->pid, __entry->tgid, __entry->ngid,
511 __entry->src_cpu, __entry->src_nid,
512 __entry->dst_cpu, __entry->dst_nid)
552 __entry->src_pid = task_pid_nr(src_tsk);
553 __entry->src_tgid = task_tgid_nr(src_tsk);
554 __entry->src_ngid = task_numa_group_id(src_tsk);
555 __entry->src_cpu = src_cpu;
556 __entry->src_nid = cpu_to_node(src_cpu);
557 __entry->dst_pid = task_pid_nr(dst_tsk);
558 __entry->dst_tgid = task_tgid_nr(dst_tsk);
559 __entry->dst_ngid = task_numa_group_id(dst_tsk);
560 __entry->dst_cpu = dst_cpu;
561 __entry->dst_nid = cpu_to_node(dst_cpu);
565 __entry->src_pid, __entry->src_tgid, __entry->src_ngid,
566 __entry->src_cpu, __entry->src_nid,
567 __entry->dst_pid, __entry->dst_tgid, __entry->dst_ngid,
568 __entry->dst_cpu, __entry->dst_nid)
572 * Tracepoint for waking a polling cpu without an IPI.
585 __entry->cpu = cpu;
588 TP_printk("cpu=%d", __entry->cpu)