Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/util/
Dsymbol.c762 struct map *curr_map; in maps__split_kallsyms_for_kcore() local
786 curr_map = maps__find(kmaps, pos->start); in maps__split_kallsyms_for_kcore()
788 if (!curr_map) { in maps__split_kallsyms_for_kcore()
793 pos->start -= curr_map->start - curr_map->pgoff; in maps__split_kallsyms_for_kcore()
794 if (pos->end > curr_map->end) in maps__split_kallsyms_for_kcore()
795 pos->end = curr_map->end; in maps__split_kallsyms_for_kcore()
797 pos->end -= curr_map->start - curr_map->pgoff; in maps__split_kallsyms_for_kcore()
798 symbols__insert(&curr_map->dso->symbols, pos); in maps__split_kallsyms_for_kcore()
817 struct map *curr_map = initial_map; in maps__split_kallsyms() local
845 if (strcmp(curr_map->dso->short_name, module)) { in maps__split_kallsyms()
[all …]
Dsymbol-elf.c1005 struct map *curr_map; in dso__process_kernel_symbol() local
1057 curr_map = maps__find_by_name(kmaps, dso_name); in dso__process_kernel_symbol()
1058 if (curr_map == NULL) { in dso__process_kernel_symbol()
1070 curr_map = map__new2(start, curr_dso); in dso__process_kernel_symbol()
1072 if (curr_map == NULL) in dso__process_kernel_symbol()
1076 map__kmap(curr_map)->kmaps = kmaps; in dso__process_kernel_symbol()
1079 curr_map->start = shdr->sh_addr + ref_reloc(kmap); in dso__process_kernel_symbol()
1080 curr_map->end = curr_map->start + shdr->sh_size; in dso__process_kernel_symbol()
1081 curr_map->pgoff = shdr->sh_offset; in dso__process_kernel_symbol()
1083 curr_map->map_ip = curr_map->unmap_ip = identity__map_ip; in dso__process_kernel_symbol()
[all …]