Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_callchain

Proto:struct perf_callchain_entry *perf_callchain(struct perf_event *event, struct pt_regs *regs)

Type:struct perf_callchain_entry

Parameter:

TypeParameterName
struct perf_event *event
struct pt_regs *regs
6767  kernel = Not exclude_callchain_kernel
6768  user = Not exclude_callchain_user
6770  crosstask = task && task != current process
6771  max_stack = sample_max_stack
6774  If Not kernel && Not user Then Return __empty_callchain
6777  callchain = get_perf_callchain(regs, 0, kernel, user, max_stack, crosstask, true)
6779  Return If callchain Else __empty_callchain
Caller
NameDescribe
perf_prepare_sample