Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-28 12:17:53
Last Modify:2020-03-17 20:08:56 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:graph_init_task

Proto:static void graph_init_task(struct task_struct *t, struct ftrace_ret_stack *ret_stack)

Type:void

Parameter:

TypeParameterName
struct task_struct *t
struct ftrace_ret_stack *ret_stack
493  atomic_set( & tracing_graph_pause, 0)
494  atomic_set( & trace_overrun, 0)
495  ftrace_timestamp = 0
497  smp_wmb()
498  ret_stack = ret_stack
Caller
NameDescribe
ftrace_graph_init_idle_taskAllocate a return stack for the idle task. May be the first* time through, or it may be done by CPU hotplug online.
ftrace_graph_init_taskAllocate a return stack for newly created task