blob: 60bbd3a22d1e6da166c3afdda9447c73e1476ee0 [file] [log] [blame]
Dmitry V. Levin0d60cf72015-08-01 20:28:21 +00001#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
9SYS_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}