From: Jan Janssen Date: Thu, 18 Aug 2022 11:41:49 +0000 (+0200) Subject: boot: Add log_trace debugging helper X-Git-Tag: v253-rc1~74^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5966c54df4668abc17ae12c40fb0c30d31e80998;p=thirdparty%2Fsystemd.git boot: Add log_trace debugging helper --- diff --git a/src/boot/efi/log.h b/src/boot/efi/log.h index f24034fd789..9bdcfad9231 100644 --- a/src/boot/efi/log.h +++ b/src/boot/efi/log.h @@ -8,3 +8,4 @@ _gnu_printf_(2, 3) EFI_STATUS log_internal(EFI_STATUS status, const char *format #define log_error_status(status, ...) log_internal(status, __VA_ARGS__) #define log_error(...) log_internal(EFI_INVALID_PARAMETER, __VA_ARGS__) #define log_oom() log_internal(EFI_OUT_OF_RESOURCES, "Out of memory.") +#define log_trace() log_internal(EFI_SUCCESS, "%s:%i@%s", __FILE__, __LINE__, __func__)