aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r--tools/perf/builtin-record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index a1b040394170..a8c2e9dfb125 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -459,7 +459,7 @@ static int __cmd_record(struct record *rec, int argc, const char **argv)
459 if (hits == rec->samples) { 459 if (hits == rec->samples) {
460 if (done) 460 if (done)
461 break; 461 break;
462 err = poll(rec->evlist->pollfd, rec->evlist->nr_fds, -1); 462 err = perf_evlist__poll(rec->evlist, -1);
463 /* 463 /*
464 * Propagate error, only if there's any. Ignore positive 464 * Propagate error, only if there's any. Ignore positive
465 * number of returned events and interrupt error. 465 * number of returned events and interrupt error.