Searched refs:cpu_buf (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c479 struct perf_cpu_buf *cpu_buf; local
498 cpu_buf = pb->events[i].data.ptr;
499 header = cpu_buf->base;
/linux-master/tools/lib/bpf/
H A Dlibbpf.c13057 struct perf_cpu_buf *cpu_buf)
13059 if (!cpu_buf)
13061 if (cpu_buf->base &&
13062 munmap(cpu_buf->base, pb->mmap_size + pb->page_size))
13063 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu);
13064 if (cpu_buf->fd >= 0) {
13065 ioctl(cpu_buf->fd, PERF_EVENT_IOC_DISABLE, 0);
13066 close(cpu_buf->fd);
13068 free(cpu_buf
13056 perf_buffer__free_cpu_buf(struct perf_buffer *pb, struct perf_cpu_buf *cpu_buf) argument
13080 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; local
13100 struct perf_cpu_buf *cpu_buf; local
13300 struct perf_cpu_buf *cpu_buf; local
13370 struct perf_cpu_buf *cpu_buf = ctx; local
13400 perf_buffer__process_records(struct perf_buffer *pb, struct perf_cpu_buf *cpu_buf) argument
13428 struct perf_cpu_buf *cpu_buf = pb->events[i].data.ptr; local
13454 struct perf_cpu_buf *cpu_buf; local
13468 struct perf_cpu_buf *cpu_buf; local
13492 struct perf_cpu_buf *cpu_buf; local
13509 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; local
[all...]

Completed in 461 milliseconds