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.c12872 struct perf_cpu_buf *cpu_buf)
12874 if (!cpu_buf)
12876 if (cpu_buf->base &&
12877 munmap(cpu_buf->base, pb->mmap_size + pb->page_size))
12878 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu);
12879 if (cpu_buf->fd >= 0) {
12880 ioctl(cpu_buf->fd, PERF_EVENT_IOC_DISABLE, 0);
12881 close(cpu_buf->fd);
12883 free(cpu_buf
12871 perf_buffer__free_cpu_buf(struct perf_buffer *pb, struct perf_cpu_buf *cpu_buf) argument
12895 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; local
12915 struct perf_cpu_buf *cpu_buf; local
13115 struct perf_cpu_buf *cpu_buf; local
13185 struct perf_cpu_buf *cpu_buf = ctx; local
13215 perf_buffer__process_records(struct perf_buffer *pb, struct perf_cpu_buf *cpu_buf) argument
13243 struct perf_cpu_buf *cpu_buf = pb->events[i].data.ptr; local
13269 struct perf_cpu_buf *cpu_buf; local
13283 struct perf_cpu_buf *cpu_buf; local
13307 struct perf_cpu_buf *cpu_buf; local
13324 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; local
[all...]

Completed in 134 milliseconds