HomeFreeBSD

minidump: De-duplicate the progress bar

Description

minidump: De-duplicate the progress bar

The implementation of the progress bar is simple, but duplicated for
most minidump implementations. Extract the common bits to kern_dump.c.
Ensure that the bar is reset with each subsequent dump; this was only
done on some platforms previously.

Reviewed by: markj
MFC after: 2 weeks
Sponsored by: Juniper Networks, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D31885

Details

Provenance
mhorneAuthored on Sep 29 2021, 5:44 PM
Reviewer
markj
Differential Revision
D31885: minidump: De-duplicate the progress bar
Parents
rG31991a5a4585: minidump: De-duplicate is_dumpable()
Branches
Unknown
Tags
Unknown