函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_dump_stack - record a stack back trace in the trace buffer*@skip: Number of functions to skip (helper handlers)

函数原型:void trace_dump_stack(int skip)

返回类型:void

参数:

类型参数名称
intskip
3005  如果Kill all tracing for good (never come back).* It is initialized to 1 but will turn to zero if the initialization* of the tracer is successful. But that is the only place that sets* this back to zero.We need to change this state when a selftest is running.* A selftest will lurk into the ring-buffer to count the* entries inserted during the selftest although some concurrent* insertions into the ring-buffer such as trace_printk could occurred则返回
3008  local_save_flags(flags)
3012  skip自加
3014  __ftrace_trace_stack(buffer, flags, skip, 抢占计数值, NULL)
调用者
名称描述
stacktrace_trigger