Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\callchain.c Create Date:2022-07-28 13:43:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_callchain_entry

Proto:static struct perf_callchain_entry *get_callchain_entry(int *rctx)

Type:struct perf_callchain_entry

Parameter:

TypeParameterName
int *rctx
157  rctx = get_recursion_context(this_cpu_ptr(callchain_recursion))
158  If rctx == -1 Then Return NULL
161  entries = fetch RCU-protected pointer for dereferencing(callchain_cpus_entries)
162  If Not entries Then Return NULL
165  cpu = smp_processor_id()
167  Return cpu_entries[cpu] + rctx * perf_callchain_entry__sizeof()
Caller
NameDescribe
get_perf_callchain