Page MenuHomeFreeBSD

Refactor the generic kernel dump code in preparation for netdump.
ClosedPublic

Authored by markj on May 1 2018, 5:22 PM.
Tags
None
Referenced Files
F102966382: D15252.id42039.diff
Tue, Nov 19, 7:25 AM
Unknown Object (File)
Wed, Oct 23, 10:49 AM
Unknown Object (File)
Oct 7 2024, 12:51 PM
Unknown Object (File)
Oct 7 2024, 4:40 AM
Unknown Object (File)
Oct 5 2024, 12:25 AM
Unknown Object (File)
Oct 4 2024, 2:11 PM
Unknown Object (File)
Oct 4 2024, 12:54 PM
Unknown Object (File)
Oct 4 2024, 4:59 AM
Subscribers

Details

Summary

Some miscellaneous changes:

  • Add clear_dumper() as a counterpart to set_dumper().
  • Drain netdump mbufs when clearing the number.
  • Don't perform bounds checking for dumpers with a mediasize of 0.
  • Add dumper callbacks for dump initialization and for writing headers.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable