From: Dmitry V. Levin Date: Thu, 28 Apr 2016 18:15:20 +0000 (+0000) Subject: Introduce printxval64 wrapper X-Git-Tag: v4.12~251 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=482bab05a00e41f3928fa14e66c4c6fa3d701dd6;p=strace Introduce printxval64 wrapper This is necessary for the upcoming change of xlat.val type. * defs.h (printxval64): New static inline function. --- diff --git a/defs.h b/defs.h index 583f7156..2cd23979 100644 --- a/defs.h +++ b/defs.h @@ -666,6 +666,12 @@ extern void unwind_print_stacktrace(struct tcb* tcp); extern void unwind_capture_stacktrace(struct tcb* tcp); #endif +static inline void +printxval64(const struct xlat *x, const uint64_t val, const char *dflt) +{ + printxvals(val, dflt, x, NULL); +} + static inline void printxval(const struct xlat *x, const unsigned int val, const char *dflt) {