函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\callchain.c Create Date:2022-07-27 15:03:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:get_callchain_entry

函数原型:static struct perf_callchain_entry *get_callchain_entry(int *rctx)

返回类型:struct perf_callchain_entry

参数:

类型参数名称
int *rctx
157  rctx等于get_recursion_context(this_cpu_ptr(callchain_recursion))
158  如果rctx恒等于负1则返回:NULL
161  entries等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(callchain_cpus_entries)
162  如果非entries则返回:NULL
165  cpu等于当前cpu ID()
167  返回:cpu_entries[cpu]加rctxperf_callchain_entry__sizeof()
调用者
名称描述
get_perf_callchain