Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\task_stack.h Create Date:2022-07-28 05:41:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:try_get_task_stack

Proto:static inline void *try_get_task_stack(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
72  Return task_stack_page(tsk)
Caller
NameDescribe
collect_syscall
get_wchanCalled from fs/proc with a reference on @p to find the function* which called into schedule(). This needs to be done carefully* because the task might wake up and we might look at a stack* changing under us.
sched_show_task
stack_trace_save_tskstack_trace_save_tsk - Save a task stack trace into a storage array*@task: The task to examine*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace
kmemleak_scanScan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held.