Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lfcorehdr= specifies the location of elf core header stored by the crashed* kernel. This option will be passed by kexec loader to the capture kernel.* Syntax: elfcorehdr=[size[KMG]@]offset[KMG]

Proto:static int __init setup_elfcorehdr(char *arg)

Type:int

Parameter:

TypeParameterName
char *arg
38  If Not arg Then Return -EINVAL
40  stores the physical address of elf header of crash image* Note: elfcorehdr_addr is not just limited to vmcore. It is also used by* is_kdump_kernel() to determine if we are booting after a panic. Hence put = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
41  If end == '@' Then
42  stores the size of elf header of crash image = stores the physical address of elf header of crash image* Note: elfcorehdr_addr is not just limited to vmcore. It is also used by* is_kdump_kernel() to determine if we are booting after a panic. Hence put
43  stores the physical address of elf header of crash image* Note: elfcorehdr_addr is not just limited to vmcore. It is also used by* is_kdump_kernel() to determine if we are booting after a panic. Hence put = memparse - parse a string with mem suffixes into a number*@ptr: Where parse begins*@retptr: (output) Optional pointer to next char after parse completes* Parses a string into a number. The number stored at @ptr is
45  Return If end > arg Then 0 Else -EINVAL