aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/openat-syscall-tp-fields.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/openat-syscall-tp-fields.c')
-rw-r--r--tools/perf/tests/openat-syscall-tp-fields.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/tests/openat-syscall-tp-fields.c b/tools/perf/tests/openat-syscall-tp-fields.c
index d9619d265314..43519267b93b 100644
--- a/tools/perf/tests/openat-syscall-tp-fields.c
+++ b/tools/perf/tests/openat-syscall-tp-fields.c
@@ -1,5 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0 1// SPDX-License-Identifier: GPL-2.0
2#include <linux/err.h> 2#include <linux/err.h>
3#include <sys/types.h>
4#include <sys/stat.h>
5#include <fcntl.h>
3#include "perf.h" 6#include "perf.h"
4#include "evlist.h" 7#include "evlist.h"
5#include "evsel.h" 8#include "evsel.h"
@@ -64,7 +67,7 @@ int test__syscall_openat_tp_fields(struct test *test __maybe_unused, int subtest
64 goto out_delete_evlist; 67 goto out_delete_evlist;
65 } 68 }
66 69
67 err = perf_evlist__mmap(evlist, UINT_MAX, false); 70 err = perf_evlist__mmap(evlist, UINT_MAX);
68 if (err < 0) { 71 if (err < 0) {
69 pr_debug("perf_evlist__mmap: %s\n", 72 pr_debug("perf_evlist__mmap: %s\n",
70 str_error_r(errno, sbuf, sizeof(sbuf))); 73 str_error_r(errno, sbuf, sizeof(sbuf)));