Searched refs:buf_ev (Results 1 – 1 of 1) sorted by relevance
50 uint64_t **buf_ev; in create_map() local54 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() argument95 if (buf_ev) { in del_map()[all …]