Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Find the offset on the compressed stream given and index in the* kallsyms array.

Proto:static unsigned int get_symbol_offset(unsigned long pos)

Type:unsigned int

Parameter:

TypeParameterName
unsigned longpos
131  name = kallsyms_names[kallsyms_markers[pos >> 8]]
139  When i < (pos & 0xFF) cycle name = name + name + 1
142  Return name - kallsyms_names
Caller
NameDescribe
kallsyms_lookupLookup an address* - modname is set to NULL if it's in the kernel.* - We guarantee that the returned name is valid until we reschedule even if.* It resides in a module.* - We also guarantee that modname will be valid until rescheduled.
lookup_symbol_name
lookup_symbol_attrs
reset_iter