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

(cherry picked from commit ab4ed843a303ea3e585f8ed3f79873e46d3b3ae3)

Details

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