mirror of
https://github.com/opnsense/src.git
synced 2026-05-27 20:02:43 -04:00
This dumper can instantiate and write the dump's contents to a
file-backed vnode.
Unlike existing disk or network dumpers, the vnode dumper should not be
invoked during a system panic, and therefore is not added to the global
dumper_configs list. Instead, the vnode dumper is constructed ad-hoc
when a live dump is requested using the new ioctl on /dev/mem. This is
similar in spirit to a kgdb session against the live system via
/dev/mem.
As described briefly in the mem(4) man page, live dumps are not
guaranteed to result in a usuable output file, but offer some debugging
value where forcefully panicing a system to dump its memory is not
desirable/feasible.
A future change to savecore(8) will add an option to save a live dump.
Reviewed by: markj, Pau Amma <pauamma@gundo.com> (manpages)
Discussed with: kib
MFC after: 3 weeks
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D33813
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| config.mk | ||
| dtb.build.mk | ||
| dtb.mk | ||
| files | ||
| files.amd64 | ||
| files.arm | ||
| files.arm64 | ||
| files.i386 | ||
| files.mips | ||
| files.powerpc | ||
| files.riscv | ||
| files.x86 | ||
| kern.mk | ||
| kern.opts.mk | ||
| kern.post.mk | ||
| kern.pre.mk | ||
| kmod.mk | ||
| kmod.opts.mk | ||
| kmod_syms.awk | ||
| kmod_syms_prefix.awk | ||
| ldscript.amd64 | ||
| ldscript.arm | ||
| ldscript.arm64 | ||
| ldscript.i386 | ||
| ldscript.kmod.amd64 | ||
| ldscript.kmod.i386 | ||
| ldscript.mips | ||
| ldscript.mips.cfe | ||
| ldscript.mips.mips64 | ||
| ldscript.mips.octeon1 | ||
| ldscript.powerpc | ||
| ldscript.powerpc64 | ||
| ldscript.powerpc64le | ||
| ldscript.powerpcspe | ||
| ldscript.riscv | ||
| Makefile.amd64 | ||
| Makefile.arm | ||
| Makefile.arm64 | ||
| Makefile.i386 | ||
| Makefile.mips | ||
| Makefile.powerpc | ||
| Makefile.riscv | ||
| newvers.sh | ||
| NOTES | ||
| options | ||
| options.amd64 | ||
| options.arm | ||
| options.arm64 | ||
| options.i386 | ||
| options.mips | ||
| options.powerpc | ||
| options.riscv | ||
| std.nodebug | ||
| sysent.mk | ||
| systags.sh | ||
| vdso_amd64.ldscript | ||
| vdso_amd64_ia32.ldscript | ||
| WITHOUT_SOURCELESS | ||
| WITHOUT_SOURCELESS_HOST | ||
| WITHOUT_SOURCELESS_UCODE | ||