Home
last modified time | relevance | path

Searched refs:nr_fds (Results 1 – 10 of 10) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-kvm.c1067 int nr_fds, nr_stdin, ret, err = -EINVAL; in kvm_events_live_report() local
1095 nr_fds = kvm->evlist->nr_fds; in kvm_events_live_report()
1096 pollfds = zalloc(sizeof(struct pollfd) * (nr_fds + 2)); in kvm_events_live_report()
1102 sizeof(struct pollfd) * kvm->evlist->nr_fds); in kvm_events_live_report()
1110 pollfds[nr_fds].fd = kvm->timerfd; in kvm_events_live_report()
1111 pollfds[nr_fds].events = POLLIN; in kvm_events_live_report()
1112 nr_fds++; in kvm_events_live_report()
1114 pollfds[nr_fds].fd = fileno(stdin); in kvm_events_live_report()
1115 pollfds[nr_fds].events = POLLIN; in kvm_events_live_report()
1116 nr_stdin = nr_fds; in kvm_events_live_report()
[all …]
Dbuiltin-top.c983 poll(top->evlist->pollfd, top->evlist->nr_fds, 100); in __cmd_top()
1010 ret = poll(top->evlist->pollfd, top->evlist->nr_fds, 100); in __cmd_top()
Dbuiltin-record.c568 err = poll(evsel_list->pollfd, evsel_list->nr_fds, -1); in __cmd_record()
Dbuiltin-trace.c1028 poll(evlist->pollfd, evlist->nr_fds, -1); in trace__run()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dtask-exit.c106 poll(evlist->pollfd, evlist->nr_fds, -1); in test__task_exit()
Dopen-syscall-tp-fields.c104 poll(evlist->pollfd, evlist->nr_fds, 10); in test__syscall_open_tp_fields()
Dperf-record.c277 poll(evlist->pollfd, evlist->nr_fds, -1); in test__PERF_RECORD()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Devlist.h32 int nr_fds; member
Devlist.c336 evlist->pollfd[evlist->nr_fds].fd = fd; in perf_evlist__add_pollfd()
337 evlist->pollfd[evlist->nr_fds].events = POLLIN; in perf_evlist__add_pollfd()
338 evlist->nr_fds++; in perf_evlist__add_pollfd()
Dpython.c746 n = poll(evlist->pollfd, evlist->nr_fds, timeout); in pyrf_evlist__poll()
763 for (i = 0; i < evlist->nr_fds; ++i) { in pyrf_evlist__get_pollfd()