函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Lookup the address for this symbol. Returns 0 if not found.

函数原型:unsigned long kallsyms_lookup_name(const char *name)

返回类型:unsigned long

参数:

类型参数名称
const char *name
169 i小于Tell the compiler that the count isn't in the small data section if the arch* has one (eg: FRV).循环
170  off等于Expand a compressed symbol data into the resulting uncompressed string,* if uncompressed string is too long (>= maxlen), it will be truncated,* given the offset to where the symbol is in the compressed stream.
172  如果字符串比较恒等于0则返回:kallsyms_sym_address(i)
175  返回:Look for this name: can be of form module:name.
调用者
名称描述
kprobe_lookup_name
fei_write
kdbgetsymvalkdbgetsymval - Return the address of the given symbol
trace_kprobe_addressReturn 0 if it fails to find the symbol address
traceprobe_update_arg
check_attach_btf_id