Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kdbgetularg - This function will convert a numeric string into an* unsigned long value.* Parameters:* arg A character string representing a numeric value* Outputs:* *value the unsigned long represntation of arg.* Returns:

Proto:int kdbgetularg(const char *arg, unsigned long *value)

Type:int

Parameter:

TypeParameterName
const char *arg
unsigned long *value
342  val = simple_strtoul - convert a string to an unsigned long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoul instead.
344  If endp == arg Then
349  val = simple_strtoul - convert a string to an unsigned long*@cp: The start of the string*@endp: A pointer to the end of the parsed string will be placed here*@base: The number base to use* This function is obsolete. Please use kstrtoul instead.
350  If endp == arg Then Return KDB_BADINT
354  value = val
356  Return 0
Caller
NameDescribe
kdbgetaddrargkdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller
kdb_md
kdb_cpu
kdb_pidkdb_pid - This function implements the 'pid' command which switches* the currently active process.* pid [ | R]
kdb_per_cpukdb_per_cpu - This function implements the 'per_cpu' command.
kdb_bt
kdb_parsebp
kdb_bckdb_bc* Handles the 'bc', 'be', and 'bd' commands* [bd|bc|be] * [bd|bc|be] ** Parameters:* argc Count of arguments in argv* argv Space delimited command line arguments* Outputs:* None