Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kallsyms.c Create Date:2022-07-28 11:00:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lookup_symbol_name

Proto:int lookup_symbol_name(unsigned long addr, char *symname)

Type:int

Parameter:

TypeParameterName
unsigned longaddr
char *symname
318  symname[0] = '\0'
319  symname[KSYM_NAME_LEN - 1] = '\0'
321  If is_ksym_addr(addr) Then
324  pos = get_symbol_pos(addr, NULL, NULL)
326  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.
328  Return 0
331  Return lookup_module_symbol_name(addr, symname)
Caller
NameDescribe
within_kprobe_blacklist