Searched refs:FD (Results 1 – 7 of 7) sorted by relevance
/tools/lib/perf/ |
D | evsel.c | 40 #define FD(e, x, y) (*(int *) xyarray__entry(e->fd, x, y)) macro 50 FD(evsel, cpu, thread) = -1; in perf_evsel__alloc_fd() 110 FD(evsel, cpu, thread) = fd; in perf_evsel__open() 122 if (FD(evsel, cpu, thread) >= 0) in perf_evsel__close_fd_cpu() 123 close(FD(evsel, cpu, thread)); in perf_evsel__close_fd_cpu() 124 FD(evsel, cpu, thread) = -1; in perf_evsel__close_fd_cpu() 191 if (FD(evsel, cpu, thread) < 0) in perf_evsel__read() 194 if (readn(FD(evsel, cpu, thread), count->values, size) <= 0) in perf_evsel__read() 207 int fd = FD(evsel, cpu, thread), in perf_evsel__run_ioctl()
|
D | evlist.c | 400 #define FD(e, x, y) (*(int *) xyarray__entry(e->fd, x, y)) macro 451 fd = FD(evsel, cpu, thread); in mmap_per_evsel()
|
/tools/testing/selftests/android/ion/ |
D | README | 10 It uses unix domain socket (with SCM_RIGHTS) as IPC to transfer an FD to 26 the heap id, writing some data to this buffer and then exporting the FD 28 This FD is called as buffer FD (which is different than the ION client FD). 31 It retrives the FD from the socket data and installs into its address space. 32 This new FD internally points to the same kernel buffer. 36 Finally the buffer FD must be closed by both the exporter and importer.
|
/tools/perf/trace/beauty/ |
D | futex_op.c | 40 P_FUTEX_OP(FD); arg->mask |= SCF_VAL3|SCF_UADDR2|SCF_TIMEOUT; break; in syscall_arg__scnprintf_futex_op()
|
/tools/perf/util/ |
D | evsel.c | 102 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro 1520 if (FD(leader, cpu, thread) < 0) in evsel__read_group() 1523 if (readn(FD(leader, cpu, thread), data, size) <= 0) in evsel__read_group() 1544 if (FD(evsel, cpu, thread) < 0) in __evsel__read_on_cpu() 1550 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) <= 0) in __evsel__read_on_cpu() 1573 fd = FD(leader, cpu, thread); in get_group_fd() 1585 FD(pos, cpu, thread) = FD(pos, cpu, thread + 1); in perf_evsel__remove_fd() 1798 FD(evsel, cpu, thread) = fd; in evsel__open_cpu() 1964 if (FD(evsel, cpu, thread) >= 0) in evsel__open_cpu() 1965 close(FD(evsel, cpu, thread)); in evsel__open_cpu() [all …]
|
D | evlist.c | 56 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y)) macro 465 int err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0); in perf_evlist__enable_event_cpu() 483 int err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0); in perf_evlist__enable_event_thread()
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-gen.rst | 257 printf("sys_enter prog FD: %d\n", 278 sys_enter prog FD: 8
|