Home
last modified time | relevance | path

Searched refs:FD (Results 1 – 9 of 9) sorted by relevance

/tools/lib/perf/
Devsel.c46 #define FD(_evsel, _cpu_map_idx, _thread) \ macro
61 int *fd = FD(evsel, idx, thread); in perf_evsel__alloc_fd()
104 fd = FD(leader, cpu_map_idx, thread); in get_group_fd()
151 evsel_fd = FD(evsel, idx, thread); in perf_evsel__open()
185 int *fd = FD(evsel, cpu_map_idx, thread); in perf_evsel__close_fd_cpu()
232 int *fd = FD(evsel, idx, thread); in perf_evsel__munmap()
261 int *fd = FD(evsel, idx, thread); in perf_evsel__mmap()
284 int *fd = FD(evsel, cpu_map_idx, thread); in perf_evsel__mmap_base()
325 int *fd = FD(evsel, cpu_map_idx, thread); in perf_evsel__read_group()
391 int *fd = FD(evsel, cpu_map_idx, thread); in perf_evsel__read()
[all …]
Devlist.c450 #define FD(e, x, y) (*(int *) xyarray__entry(e->fd, x, y)) macro
502 fd = FD(evsel, cpu, thread); in mmap_per_evsel()
/tools/testing/selftests/net/packetdrill/
Dtcp_zerocopy_epoll_oneshot.pkt4 // This is a test to confirm that EPOLLERR is only fired once for an FD when
9 // with MSG_ZEROCOPY. confirm that EPOLLERR is not fired. Rearm the FD and
49 // rearm the FD and verify the EPOLLERR is fired again.
/tools/perf/util/
Dbpf_counter_cgroup.c42 #define FD(evt, cpu) (*(int *)xyarray__entry(evt->core.fd, cpu, 0)) macro
98 FD(cgrp_switch, i)); in bperf_load_program()
124 int fd = FD(evsel, j); in bperf_load_program()
Dbpf-filter.c66 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
298 int ret = ioctl(FD(evsel, x, y), PERF_EVENT_IOC_ID, &id); in create_event_hash()
490 ret = ioctl(FD(evsel, x, y), PERF_EVENT_IOC_SET_BPF, fd); in perf_bpf_filter__prepare()
524 link = bpf_program__attach_perf_event(prog, FD(evsel, x, y)); in perf_bpf_filter__prepare()
Devsel.c144 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
1689 if (FD(leader, cpu_map_idx, thread) < 0) in evsel__read_group()
1692 if (readn(FD(leader, cpu_map_idx, thread), data, size) <= 0) in evsel__read_group()
1817 fd = FD(evsel, cpu_map_idx, thread); in evsel__read_tool()
1878 if (FD(evsel, cpu_map_idx, thread) < 0) in __evsel__read_on_cpu()
1884 if (readn(FD(evsel, cpu_map_idx, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu()
1932 fd = FD(leader, cpu_map_idx, thread); in get_group_fd()
1946 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1); in evsel__remove_fd()
2337 FD(evsel, idx, thread) = fd; in evsel__open_cpu()
2376 FD(evsel, idx, thread) = fd; in evsel__open_cpu()
[all …]
Devlist.c71 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro
/tools/perf/trace/beauty/
Dfutex_op.c40 P_FUTEX_OP(FD); arg->mask |= SCF_VAL3|SCF_UADDR2|SCF_TIMEOUT; break; in syscall_arg__scnprintf_futex_op()
/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst378 printf("sys_enter prog FD: %d\n",
400 sys_enter prog FD: 8