Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:39:01
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__perf_sw_event

Proto:void __perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)

Type:void

Parameter:

TypeParameterName
u32event_id
u64nr
struct pt_regs *regs
u64addr
8691  preempt_disable_notrace()
8692  rctx = perf_swevent_get_recursion_context()
8693  If Value for the false possibility is greater at compile time(rctx < 0) Then Go to fail
8696  ___perf_sw_event(event_id, nr, regs, addr)
8698  perf_swevent_put_recursion_context(rctx)
8699  fail :
8700  preempt_enable_notrace()