函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Allocate a return stack for the idle task. May be the first* time through, or it may be done by CPU hotplug online.

函数原型:void ftrace_graph_init_idle_task(struct task_struct *t, int cpu)

返回类型:void

参数:

类型参数名称
struct task_struct *t
intcpu
507  curr_ret_stack等于负1
508  curr_ret_depth等于负1
513  如果ret_stackWARN_ON(ret_stack != per_cpu(idle_ret_stack, cpu))
516  如果ftrace_graph_active
519  ret_stack等于per_cpu(idle_ret_stack, cpu)
520  如果非ret_stack
525  如果非ret_stack则返回
529  graph_init_task(t, ret_stack)
调用者
名称描述
start_graph_tracingAllocate a return stack for each task