Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/tracing/pt_test/
Dpt_test.c50 uint64_t **buf_ev; in create_map() local
54 buf_ev = SAFE_MALLOC(2*sizeof(uint64_t *)); in create_map()
55 buf_ev[0] = NULL; in create_map()
56 buf_ev[1] = NULL; in create_map()
64 buf_ev[0] = SAFE_MMAP(NULL, INTEL_PT_MEMSIZE, PROT_READ | PROT_WRITE, in create_map()
68 pc = (struct perf_event_mmap_page *)buf_ev[0]; in create_map()
71 buf_ev[1] = SAFE_MMAP(NULL, bufsize, pro_flag, in create_map()
73 return buf_ev; in create_map()
93 static void del_map(uint64_t **buf_ev, long bufsize) in del_map() argument
95 if (buf_ev) { in del_map()
[all …]