From: Dmitry V. Levin Date: Mon, 16 May 2016 23:19:23 +0000 (+0000) Subject: Fix printing of invalid flags argument of perf_event_open syscall X-Git-Tag: v4.12~130 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a95c3e515fce0713f32012c715950aef9198a0b1;p=strace Fix printing of invalid flags argument of perf_event_open syscall * numa.c (SYS_FUNC(perf_event_open)): Print 5th argument of syscall using printflags_long. --- diff --git a/perf.c b/perf.c index f91b9d3e..8ab58a0e 100644 --- a/perf.c +++ b/perf.c @@ -41,7 +41,7 @@ SYS_FUNC(perf_event_open) (int) tcp->u_arg[1], (int) tcp->u_arg[2], (int) tcp->u_arg[3]); - printflags(perf_event_open_flags, tcp->u_arg[4], "PERF_FLAG_???"); + printflags_long(perf_event_open_flags, tcp->u_arg[4], "PERF_FLAG_???"); return RVAL_DECODED | RVAL_FD; }