Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-28 11:59:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:void trace_dump_stack(int skip)

Type:void

Parameter:

TypeParameterName
intskip
3005  If 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 Then Return
3008  local_save_flags(flags)
3012  skip++
3014  __ftrace_trace_stack(buffer, flags, skip, We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt., NULL)
Caller
NameDescribe
stacktrace_trigger