Home
last modified time | relevance | path

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

/tools/perf/util/
Dsymbol.c707 struct map *curr_map; in map_groups__split_kallsyms_for_kcore() local
731 curr_map = map_groups__find(kmaps, pos->start); in map_groups__split_kallsyms_for_kcore()
733 if (!curr_map) { in map_groups__split_kallsyms_for_kcore()
738 pos->start -= curr_map->start - curr_map->pgoff; in map_groups__split_kallsyms_for_kcore()
739 if (pos->end > curr_map->end) in map_groups__split_kallsyms_for_kcore()
740 pos->end = curr_map->end; in map_groups__split_kallsyms_for_kcore()
742 pos->end -= curr_map->start - curr_map->pgoff; in map_groups__split_kallsyms_for_kcore()
743 symbols__insert(&curr_map->dso->symbols, pos); in map_groups__split_kallsyms_for_kcore()
762 struct map *curr_map = initial_map; in map_groups__split_kallsyms() local
790 if (strcmp(curr_map->dso->short_name, module)) { in map_groups__split_kallsyms()
[all …]
Dsymbol-elf.c853 struct map *curr_map; in dso__process_kernel_symbol() local
905 curr_map = map_groups__find_by_name(kmaps, dso_name); in dso__process_kernel_symbol()
906 if (curr_map == NULL) { in dso__process_kernel_symbol()
918 curr_map = map__new2(start, curr_dso); in dso__process_kernel_symbol()
920 if (curr_map == NULL) in dso__process_kernel_symbol()
924 curr_map->start = shdr->sh_addr + ref_reloc(kmap); in dso__process_kernel_symbol()
925 curr_map->end = curr_map->start + shdr->sh_size; in dso__process_kernel_symbol()
926 curr_map->pgoff = shdr->sh_offset; in dso__process_kernel_symbol()
928 curr_map->map_ip = curr_map->unmap_ip = identity__map_ip; in dso__process_kernel_symbol()
931 map_groups__insert(kmaps, curr_map); in dso__process_kernel_symbol()
[all …]