Lines Matching +full:2 +full:- +full:point
1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "probe-event.h"
11 #include "probe-file.h"
16 char *sym = syma->name; in arch__choose_best_symbol()
18 #if !defined(_CALL_ELF) || _CALL_ELF != 2 in arch__choose_best_symbol()
33 #if !defined(_CALL_ELF) || _CALL_ELF != 2
67 #if defined(_CALL_ELF) && _CALL_ELF == 2
72 s->arch_sym = sym->st_other; in arch__sym_update()
85 * When probing at a function entry point, we normally always want the in arch__fix_tev_from_maps()
94 if (pev->point.offset || !map || !sym) in arch__fix_tev_from_maps()
98 if (!pev->uprobes && pev->point.retprobe) { in arch__fix_tev_from_maps()
105 lep_offset = PPC64_LOCAL_ENTRY_OFFSET(sym->arch_sym); in arch__fix_tev_from_maps()
107 if (map->dso->symtab_type == DSO_BINARY_TYPE__KALLSYMS) in arch__fix_tev_from_maps()
108 tev->point.offset += PPC64LE_LEP_OFFSET; in arch__fix_tev_from_maps()
110 if (pev->uprobes) in arch__fix_tev_from_maps()
111 tev->point.address += lep_offset; in arch__fix_tev_from_maps()
113 tev->point.offset += lep_offset; in arch__fix_tev_from_maps()
127 map = get_target_map(pev->target, pev->nsi, pev->uprobes); in arch__post_process_probe_trace_events()
132 tev = &pev->tevs[i]; in arch__post_process_probe_trace_events()
134 if (map->unmap_ip(map, sym->start) == tev->point.address) { in arch__post_process_probe_trace_events()