base: add the --debug-flag to DPRINTF output with FmtFlag
This makes it easier to determine which messages come from which
flags when enabling multiple flags at once.
This commit covers the bulk of the debug messages, which use the DPRINTF*
family of macros. There however macros that use DTRACE to check for
enable, those will be covered in future patches.
Reviewed-by: Jason Lowe-Power <firstname.lastname@example.org>
Maintainer: Jason Lowe-Power <email@example.com>
Tested-by: kokoro <firstname.lastname@example.org>
5 files changed