Searched refs:polls (Results 1 – 9 of 9) sorted by relevance
/linux-tools/misc/ |
H A D | tcpportcheck.c | 22 struct pollfd polls[1]; in main() local 49 polls[0].fd=sk; in main() 50 polls[0].events = POLLIN|POLLOUT|POLLRDHUP; in main() 51 err = poll(polls, 1, 1000); in main() 56 if (err>0&&polls[0].revents==POLLOUT) printf("remote port active\n"); in main()
|
/linux-tools/perf/contextswitch/ |
H A D | perf_cxt_switch_1.cpp | 85 struct pollfd polls[MAXCPU]; variable 143 polls[k].fd = fd; in main() 144 polls[k].events = POLLIN; in main() 145 polls[k].revents = 0; in main() 155 while (poll(polls, k, -1)>0) { in main() 157 if ((polls[i].revents&POLLIN)==0) continue; in main() 158 fd = polls[i].fd; in main()
|
H A D | perf_cxt_switch_2.cpp | 105 struct pollfd polls[MAXCPU]; variable 162 polls[k].fd = fd; in main() 163 polls[k].events = POLLIN; in main() 164 polls[k].revents = 0; in main() 174 while (poll(polls, k, -1)>0) { in main() 176 if ((polls[i].revents&POLLIN)==0) continue; in main() 177 fd = polls[i].fd; in main()
|
H A D | perf_cxt_switch_3.cpp | 244 struct pollfd polls[MAXCPU]; variable 399 polls[k].fd = fd; in main() 400 polls[k].events = POLLIN; in main() 401 polls[k].revents = 0; in main() 411 while (poll(polls, k, -1)>0) { in main() 413 if ((polls[i].revents&POLLIN)==0) continue; in main() 414 fd = polls[i].fd; in main()
|
/linux-tools/perf/kprobe/ |
H A D | perf_kprobe.cpp | 102 struct pollfd polls[MAXCPU]; variable 138 polls[k].fd = fd; in main() 139 polls[k].events = POLLIN; in main() 140 polls[k].revents = 0; in main() 150 while (poll(polls, k, -1)>0) { in main() 153 if ((polls[i].revents&POLLIN)==0) continue; in main() 154 fd = polls[i].fd; in main()
|
/linux-tools/perf/uprobe/ |
H A D | uprobe.cpp | 140 struct pollfd polls[MAXCPU]; variable 285 polls[k].fd = fd; in main() 286 polls[k].events = POLLIN; in main() 287 polls[k].revents = 0; in main() 297 while (poll(polls, k, -1)>0) { in main() 300 if ((polls[i].revents&POLLIN)==0) continue; in main() 301 fd = polls[i].fd; in main()
|
/linux-tools/perf/profiler/ |
H A D | profiler-kprobe.cpp | 249 struct pollfd polls[MAXCPU]; variable 403 polls[k].fd = fd; in main() 404 polls[k].events = POLLIN; in main() 405 polls[k].revents = 0; in main() 415 while (poll(polls, k, -1)>0) { in main() 418 if ((polls[i].revents&POLLIN)==0) continue; in main() 419 fd = polls[i].fd; in main()
|
H A D | profiler.cpp | 254 struct pollfd polls[MAXCPU]; variable 435 polls[k].fd = fd; in main() 436 polls[k].events = POLLIN; in main() 437 polls[k].revents = 0; in main() 448 while (poll(polls, k, -1)>0) { in main() 451 if ((polls[i].revents&POLLIN)==0) continue; in main() 452 fd = polls[i].fd; in main()
|
/linux-tools/perf/execommand/ |
H A D | perf_comm.cpp | 121 struct pollfd polls[MAXCPU]; variable
|