Lines Matching refs:map
22 void *map; member
30 void *map; in thread_init() local
32 map = mmap(NULL, page_size, in thread_init()
36 if (map == MAP_FAILED) { in thread_init()
41 td->map = map; in thread_init()
44 pr_debug("tid = %d, map = %p\n", td->tid, map); in thread_init()
69 munmap(td->map, page_size); in thread_fn()
116 munmap(td0->map, page_size); in threads_destroy()
137 struct thread_map *map; in synth_process() local
140 map = thread_map__new_by_pid(getpid()); in synth_process()
142 err = perf_event__synthesize_thread_map(NULL, map, in synth_process()
146 thread_map__delete(map); in synth_process()
188 pr_debug("looking for map %p\n", td->map); in mmap_events()
192 (unsigned long) (td->map + 1), &al); in mmap_events()
194 if (!al.map) { in mmap_events()
200 pr_debug("map %p, addr %" PRIx64 "\n", al.map, al.map->start); in mmap_events()