函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdbgetsymval - Return the address of the given symbol

函数原型:int kdbgetsymval(const char *symname, kdb_symtab_t *symtab)

返回类型:int

参数:

类型参数名称
const char *symname
kdb_symtab_t *symtab
42  如果KDB_DEBUG(AR)则kdb_printf("kdbgetsymval: symname=%s, symtab=%px\n", symname, symtab)
45  memset(symtab, 0, symtab的长度)
46  sym_start等于Lookup the address for this symbol. Returns 0 if not found.
47  如果sym_start
48  如果KDB_DEBUG(AR)则kdb_printf("kdbgetsymval: returns 1, symtab->sym_start=0x%lx\n", sym_start)
52  返回:1
54  如果KDB_DEBUG(AR)则kdb_printf("kdbgetsymval: returns 0\n")
56  返回:0
调用者
名称描述
kdbgetaddrargkdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller