Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dlibbpf.h423 void **copy_mem, size_t *copy_size,
Dlibbpf.c5257 void **copy_mem, size_t *copy_size, in bpf_perf_event_read_simple() argument
5278 free(*copy_mem); in bpf_perf_event_read_simple()
5279 *copy_mem = malloc(ehdr_size); in bpf_perf_event_read_simple()
5280 if (!*copy_mem) { in bpf_perf_event_read_simple()
5288 memcpy(*copy_mem, copy_start, len_first); in bpf_perf_event_read_simple()
5289 memcpy(*copy_mem + len_first, base, len_secnd); in bpf_perf_event_read_simple()
5290 ehdr = *copy_mem; in bpf_perf_event_read_simple()