Add section describing the utility of coreimage ELF generation for kmemdump. Signed-off-by: Eugen Hristev <eugen.hristev@xxxxxxxxxx> --- Documentation/dev-tools/kmemdump.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/dev-tools/kmemdump.rst b/Documentation/dev-tools/kmemdump.rst index 504321de951a..5616843e0407 100644 --- a/Documentation/dev-tools/kmemdump.rst +++ b/Documentation/dev-tools/kmemdump.rst @@ -27,6 +27,14 @@ are limited. Although the kernel has multiple debugging mechanisms, kmemdump fits a particular model which is not covered by the others. +kmemdump can also prepare specific regions of the kernel that can be +put together to form a minimal core image file. To achieve this, the first +region is an ELF header with program headers for each region, and another +region contains specific ELF NOTE section with vmcoreinfo. +There are also multiple regions registered with basic kernel information +that will allow debugging tools like 'crash' to load the image. +To enable this feature, use CONFIG_KMEMDUMP_COREIMAGE. + kmemdump Internals ================== -- 2.43.0