diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-19 16:11:55 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2016-12-19 19:58:16 +0000 |
commit | df5c46896b532535d47fc0fa4f7eec113c6b04c6 (patch) | |
tree | ea9c9574c9c3ae636d3b912204d1b631b118a551 /perf.c | |
parent | cabcca717adc88d778a1b00636b4354d7b00f4a1 (diff) | |
download | strace-df5c46896b532535d47fc0fa4f7eec113c6b04c6.tar.gz |
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.
Diffstat (limited to 'perf.c')
-rw-r--r-- | perf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |