Searched refs:nr_fds (Results 1 – 10 of 10) sorted by relevance
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
D | builtin-kvm.c | 1067 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 …]
|
D | builtin-top.c | 983 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()
|
D | builtin-record.c | 568 err = poll(evsel_list->pollfd, evsel_list->nr_fds, -1); in __cmd_record()
|
D | builtin-trace.c | 1028 poll(evlist->pollfd, evlist->nr_fds, -1); in trace__run()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | task-exit.c | 106 poll(evlist->pollfd, evlist->nr_fds, -1); in test__task_exit()
|
D | open-syscall-tp-fields.c | 104 poll(evlist->pollfd, evlist->nr_fds, 10); in test__syscall_open_tp_fields()
|
D | perf-record.c | 277 poll(evlist->pollfd, evlist->nr_fds, -1); in test__PERF_RECORD()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | evlist.h | 32 int nr_fds; member
|
D | evlist.c | 336 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()
|
D | python.c | 746 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()
|