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.
This commit is contained in:
parent
30dc5418a3
commit
a95c3e515f
2
perf.c
2
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user