Lines Matching defs:map
25 #include "map.h"
812 if (!thread__find_map(thread, cpumode, *ip, &al) || !map__dso(al.map)) {
813 if (al.map)
816 intel_pt_log("ERROR: thread has no map for %#" PRIx64 "\n", *ip);
821 dso = map__dso(al.map);
829 offset = map__map_ip(al.map, *ip);
855 map__load(al.map);
904 if (*ip >= map__end(al.map))
924 e = intel_pt_cache_lookup(map__dso(al.map), machine, start_offset);
930 intel_pt_cache_add(map__dso(al.map), machine, start_offset, insn_cnt,
1006 if (!thread__find_map(thread, cpumode, ip, &al) || !map__dso(al.map))
1009 offset = map__map_ip(al.map, ip);
1011 res = intel_pt_match_pgd_ip(ptq->pt, ip, offset, map__dso(al.map)->long_name);
2756 struct map *map;
2764 map = machine__kernel_map(machine);
2765 if (!map)
2768 if (map__load(map))
2771 start = dso__first_symbol(map__dso(map));
2776 ip = map__unmap_ip(map, sym->start);
2777 if (ip >= map__start(map) && ip < map__end(map)) {
2794 ip = map__unmap_ip(map, sym->start);
2795 if (ip >= map__start(map) && ip < map__end(map)) {
3383 if (!al->map || addr < map__start(al->map) || addr >= map__end(al->map)) {
3418 dso = map__dso(al.map);
3422 offset = map__map_ip(al.map, addr);