Home
last modified time | relevance | path

Searched refs:cpu_bufs (Results 1 – 2 of 2) sorted by relevance

/tools/testing/selftests/bpf/benchs/
Dbench_ringbufs.c468 struct perf_cpu_buf **cpu_bufs; member
/tools/lib/bpf/
Dlibbpf.c12329 struct perf_cpu_buf **cpu_bufs; member
12358 if (pb->cpu_bufs) { in perf_buffer__free()
12360 struct perf_cpu_buf *cpu_buf = pb->cpu_bufs[i]; in perf_buffer__free()
12368 free(pb->cpu_bufs); in perf_buffer__free()
12566 pb->cpu_bufs = calloc(pb->cpu_cnt, sizeof(*pb->cpu_bufs)); in __perf_buffer__new()
12567 if (!pb->cpu_bufs) { in __perf_buffer__new()
12598 pb->cpu_bufs[j] = cpu_buf; in __perf_buffer__new()
12739 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__buffer_fd()
12753 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__buffer()
12777 cpu_buf = pb->cpu_bufs[buf_idx]; in perf_buffer__consume_buffer()
[all …]