Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kdb_print_nameval - Print a name and its value, converting the* value to a symbol lookup if possible.* Inputs:* name field name to print* val value of field

Proto:void kdb_print_nameval(const char *name, unsigned long val)

Type:void

Parameter:

TypeParameterName
const char *name
unsigned longval
677  kdb_printf(" %-11.11s ", name)
678  If kdbnearsym - Return the name of the symbol with the nearest address* less than 'addr' Then kdb_symbol_print - Standard method for printing a symbol name and offset
681  Else kdb_printf("0x%lx\n", val)