Dmitry V. Levin | 0d60cf7 | 2015-08-01 20:28:21 +0000 | [diff] [blame] | 1 | #include "defs.h" |
2 | |||||
3 | #ifdef HAVE_LINUX_PERF_EVENT_H | ||||
4 | # include <linux/perf_event.h> | ||||
5 | #endif | ||||
6 | |||||
7 | #include "xlat/perf_event_open_flags.h" | ||||
8 | |||||
9 | SYS_FUNC(perf_event_open) | ||||
10 | { | ||||
11 | printaddr(tcp->u_arg[0]); | ||||
12 | tprintf(", %d, %d, %d, ", | ||||
13 | (int) tcp->u_arg[1], | ||||
14 | (int) tcp->u_arg[2], | ||||
15 | (int) tcp->u_arg[3]); | ||||
16 | printflags(perf_event_open_flags, tcp->u_arg[4], "PERF_FLAG_???"); | ||||
17 | |||||
18 | return RVAL_DECODED; | ||||
19 | } |