From: Dmitry V. Levin Date: Mon, 3 Aug 2015 09:06:59 +0000 (+0000) Subject: perf_event_open: mark return code with RVAL_FD flag X-Git-Tag: v4.11~288 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57823c6836d75247ca5bf2b1284abf07d12f8838;p=strace perf_event_open: mark return code with RVAL_FD flag * perf.c (sys_perf_event_open): Set RVAL_FD flag in the return code. --- diff --git a/perf.c b/perf.c index 60bbd3a2..613ecb15 100644 --- a/perf.c +++ b/perf.c @@ -15,5 +15,5 @@ SYS_FUNC(perf_event_open) (int) tcp->u_arg[3]); printflags(perf_event_open_flags, tcp->u_arg[4], "PERF_FLAG_???"); - return RVAL_DECODED; + return RVAL_DECODED | RVAL_FD; }