Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:qsoff uses its own tracer function to keep the overhead down:

Proto:static void irqsoff_tracer_call(unsigned long ip, unsigned long parent_ip, struct ftrace_ops *op, struct pt_regs *pt_regs)

Type:void

Parameter:

TypeParameterName
unsigned longip
unsigned longparent_ip
struct ftrace_ops *op
struct pt_regs *pt_regs
143  tr = irqsoff_trace
147  If Not Prologue for the preempt and irqs off function tracers.* Returns 1 if it is OK to continue, and data->disabled is* incremented.* 0 if the trace is to be ignored, and data->disabled* is kept the same.* Note, this function is also used outside this ifdef but Then Return
150  trace_function(tr, ip, parent_ip, flags, 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.)
152  atomic_dec( & disabled)