Home
last modified time | relevance | path

Searched refs:__TASK_TRACED (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/
A Dptrace.c200 WRITE_ONCE(task->__state, __TASK_TRACED); in ptrace_freeze_traced()
210 if (READ_ONCE(task->__state) != __TASK_TRACED) in ptrace_unfreeze_traced()
220 if (READ_ONCE(task->__state) == __TASK_TRACED) { in ptrace_unfreeze_traced()
222 wake_up_state(task, __TASK_TRACED); in ptrace_unfreeze_traced()
259 WARN_ON(READ_ONCE(child->__state) == __TASK_TRACED); in ptrace_check_attach()
270 if (!wait_task_inactive(child, __TASK_TRACED)) { in ptrace_check_attach()
276 WARN_ON(READ_ONCE(child->__state) == __TASK_TRACED); in ptrace_check_attach()
884 wake_up_state(child, __TASK_TRACED); in ptrace_resume()
/linux/include/linux/
A Dsched.h87 #define __TASK_TRACED 0x0008 macro
106 #define TASK_TRACED (TASK_WAKEKILL | __TASK_TRACED)
116 __TASK_TRACED | EXIT_DEAD | EXIT_ZOMBIE | \
121 #define task_is_traced(task) ((READ_ONCE(task->__state) & __TASK_TRACED) != 0)
125 …ask_is_stopped_or_traced(task) ((READ_ONCE(task->__state) & (__TASK_STOPPED | __TASK_TRACED)) != 0)
132 ((state) & (__TASK_STOPPED | __TASK_TRACED | TASK_PARKED | TASK_DEAD))
/linux/include/linux/sched/
A Dsignal.h438 signal_wake_up_state(t, resume ? __TASK_TRACED : 0); in ptrace_signal_wake_up()
/linux/include/trace/events/
A Dsched.h257 { __TASK_TRACED, "t" },
/linux/tools/perf/
A Dbuiltin-sched.c101 #define __TASK_TRACED 8 macro

Completed in 23 milliseconds