函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\fgraph.c Create Date:2022-07-27 13:24:46
Last Modify:2020-03-17 20:08:56 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:graph_init_task

函数原型:static void graph_init_task(struct task_struct *t, struct ftrace_ret_stack *ret_stack)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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