diff options
author | Christophe Lombard <clombard@linux.ibm.com> | 2023-06-20 16:52:04 +0200 |
---|---|---|
committer | Reza Arbab <arbab@linux.ibm.com> | 2023-09-12 14:22:11 -0500 |
commit | a55d0672d62aaf6eb77dcbc6461d35b751b56c41 (patch) | |
tree | ed71ba80f08edfa9a1403a6d53fc2dcb0e58242e /include/skiboot.h | |
parent | a4352cee15e3e152bb2484fe1f0cf7595d9fbc4f (diff) | |
download | skiboot-a55d0672d62aaf6eb77dcbc6461d35b751b56c41.zip skiboot-a55d0672d62aaf6eb77dcbc6461d35b751b56c41.tar.gz skiboot-a55d0672d62aaf6eb77dcbc6461d35b751b56c41.tar.bz2 |
pldm: Export logging feature
To retrieve specific log traces from the external library: libmctp, we
need to export the logging api.
Signed-off-by: Christophe Lombard <clombard@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r-- | include/skiboot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h index b0b75a4..88857f8 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -79,6 +79,7 @@ static inline bool is_rodata(const void *p) #define pr_fmt(fmt) fmt #endif +int vprlog(int log_level, const char *fmt, va_list ap); void _prlog(int log_level, const char* fmt, ...) __attribute__((format (printf, 2, 3))); #define prlog(l, f, ...) do { _prlog(l, pr_fmt(f), ##__VA_ARGS__); } while(0) #define prerror(fmt...) do { prlog(PR_ERR, fmt); } while(0) |