Lines Matching defs:task
35 #include <linux/sched/task.h>
49 /* Take ownership of the task struct and place it on the
51 * does the task eventually get freed, because by then
54 * call_rcu() of the task struct, hence the _irqsave.
60 struct task_struct *task = data;
62 list_add(&task->tasks, &dying_tasks);
68 /* The task is on its way out. A sync of the buffer means we can catch
69 * any remaining samples for this task.
75 * hoping that most samples for the task are on this CPU
82 /* The task is about to try a do_munmap(). We peek at what it's going to
100 * hoping that most samples for the task are on this CPU
149 /* make sure we don't leak task structs */
222 /* Look up the dcookie for the task's mm->exe_file,
304 add_user_ctx_switch(struct task_struct const *task, unsigned long cookie)
308 add_event_entry(task->pid);
313 add_event_entry(task->tgid);
439 struct task_struct *task;
449 list_for_each_entry_safe(task, ttask, &local_dead_tasks, tasks) {
450 list_del(&task->tasks);
451 free_task(task);
489 * by context switch notes, taking the task's mmap_lock and doing
490 * lookup in task->mm->mmap to convert EIP into dcookie/offset