From: Dmitry V. Levin Date: Mon, 19 Dec 2016 16:11:55 +0000 (+0000) Subject: perf.c: print perf_event_attr.__reserved_1 using PRIx64 format X-Git-Tag: v4.16~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df5c46896b532535d47fc0fa4f7eec113c6b04c6;p=strace perf.c: print perf_event_attr.__reserved_1 using PRIx64 format * perf.c (print_perf_event_attr): Print __reserved_1 field of perf_event_attr using PRIx64 format. --- diff --git a/perf.c b/perf.c index 38cd921a..99b0489c 100644 --- a/perf.c +++ b/perf.c @@ -321,8 +321,8 @@ print_perf_event_attr(struct tcb *tcp, unsigned long addr) * are not aware about. */ if (attr->__reserved_1) - tprintf(", __reserved_1=%#llx /* Bits 63..28 */", - (unsigned long long) attr->__reserved_1); + tprintf(", __reserved_1=%#" PRIx64 " /* Bits 63..28 */", + (uint64_t) attr->__reserved_1); if (attr->watermark) tprintf(", wakeup_watermark=%u", attr->wakeup_watermark);