HomeFreeBSD

value strings: pretty printers for flags and enums

Description

value strings: pretty printers for flags and enums

This adds zfs_valstr, a collection of pretty printers for bitfields and
enums. These are useful in debugging, logging and other display contexts
where raw values are difficult for the untrained (or even trained!) eye
to decipher.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>

Details

Provenance
rob.norris_klarasystems.comAuthored on Feb 29 2024, 12:25 AM
Tony Hutter <hutter2@llnl.gov>Committed on Sep 5 2024, 8:40 PM
Parents
rGd4d79451cb87: Add DDT prune command
Branches
Unknown
Tags
Unknown