Page MenuHomeFreeBSD

kdump(1): minimally adapt to exterror category sources
ClosedPublic

Authored by brooks on Jul 23 2026, 2:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 27, 6:03 PM
Unknown Object (File)
Thu, Aug 27, 6:00 PM
Unknown Object (File)
Thu, Aug 27, 8:18 AM
Unknown Object (File)
Tue, Aug 25, 6:07 AM
Unknown Object (File)
Sun, Aug 23, 3:03 PM
Unknown Object (File)
Sun, Aug 23, 3:00 PM
Unknown Object (File)
Fri, Aug 21, 3:22 AM
Unknown Object (File)
Mon, Aug 17, 1:46 AM
Subscribers

Details

Summary

Add some minimal handling of category sources other than static kernel
sources. We don't actually look up dynamic sources yet (that would
require extended trace records to add the file names to the trace file
since we can't assume the trace file is running on a kernel with the
same numbers.)

Make the decision to append a "src/" prefix to each file name
dependant on the category source.

Effort: CHERI upstreaming
Sponsored by: Innovate UK

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.bin/kdump/kdump.c
2463–2464

Why not move this code under case EXTERR_CAT_SRC_KERN_STATIC?

Put the common case inside the switch statement

This revision is now accepted and ready to land.Jul 24 2026, 7:49 PM