函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_functions.c Create Date:2022-07-27 13:15:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:function_stack_trace_call

函数原型:static void function_stack_trace_call(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct pt_regs *pt_regs)

返回类型:void

参数:

类型参数名称
unsigned longip
unsigned longparent_ip
struct ftrace_ops *op
struct pt_regs *pt_regs
179  tr等于private
186  如果此条件成立可能性小(为编译器优化)(! function tracing enabled )则返回
193  local_irq_save(flags)
194  cpu等于These macros fold the SMP functionality into a single CPU system()
195  data等于per_cpu_ptr(data, cpu)
196  disabled等于atomic_inc_return( & disabled)
198  如果此条件成立可能性大(为编译器优化)(disabled == 1)则
199  pc等于抢占计数值
200  trace_function(tr, ip, parent_ip, flags, pc)
201  __trace_stack(tr, flags, Skip 3:* __trace_stack()* function_stack_trace_call()* ftrace_call(), pc)
204  atomic_dec( & disabled)
205  local_irq_restore(flags)