diff options
Diffstat (limited to 'tools/perf/tests/open-syscall-tp-fields.c')
-rw-r--r-- | tools/perf/tests/open-syscall-tp-fields.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/open-syscall-tp-fields.c b/tools/perf/tests/open-syscall-tp-fields.c index 922bdb627950..127dcae0b760 100644 --- a/tools/perf/tests/open-syscall-tp-fields.c +++ b/tools/perf/tests/open-syscall-tp-fields.c | |||
@@ -105,7 +105,7 @@ int test__syscall_open_tp_fields(void) | |||
105 | } | 105 | } |
106 | 106 | ||
107 | if (nr_events == before) | 107 | if (nr_events == before) |
108 | poll(evlist->pollfd, evlist->nr_fds, 10); | 108 | perf_evlist__poll(evlist, 10); |
109 | 109 | ||
110 | if (++nr_polls > 5) { | 110 | if (++nr_polls > 5) { |
111 | pr_debug("%s: no events!\n", __func__); | 111 | pr_debug("%s: no events!\n", __func__); |