Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static void wakeup_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
217  tr = wakeup_trace
222  If Not Prologue for the wakeup function tracers Then Return
225  local_irq_save(flags)
226  trace_function(tr, ip, parent_ip, flags, pc)
227  local_irq_restore(flags)
229  atomic_dec( & disabled)
230  preempt_enable_notrace()