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)
Fri, Sep 18, 3:56 PM
Unknown Object (File)
Sat, Sep 5, 5:57 AM
Unknown Object (File)
Sat, Sep 5, 4:45 AM
Unknown Object (File)
Fri, Sep 4, 4:45 AM
Unknown Object (File)
Thu, Sep 3, 11:57 PM
Unknown Object (File)
Thu, Sep 3, 11:12 PM
Unknown Object (File)
Wed, Sep 2, 9:55 AM
Unknown Object (File)
Wed, Sep 2, 9: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