Home
last modified time | relevance | path

Searched refs:sym_addr (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/scripts/
Dfaddr2line126 local sym_addr=0x${fields[1]}
169 if [[ $cur_sym_addr = $sym_addr ]] &&
177 sym_size=$(($cur_sym_addr - $sym_addr))
185 …warn "can't find symbol: sym_name: $sym_name sym_sec: $sym_sec sym_addr: $sym_addr sym_elf_size: $…
192 [[ $found = 1 ]] && sym_size=$(($sec_size - $sym_addr))
195 warn "bad symbol size: sym_addr: $sym_addr cur_sym_addr: $cur_sym_addr"
203 local addr=$(($sym_addr + $func_offset))
205 warn "bad address: $sym_addr + $func_offset"
/linux-6.6.21/scripts/gdb/linux/
Dmm.py380 sym_addr = int(argv[0], 16)
381 pfn = page_ops().ops.sym_to_pfn(sym_addr)
382 gdb.write("sym_to_pfn(0x%x) = %d\n" % (sym_addr, pfn))
/linux-6.6.21/scripts/mod/
Dmodpost.c1070 Elf_Addr sym_addr, distance; in find_nearest_sym() local
1079 sym_addr = sym->st_value; in find_nearest_sym()
1086 sym_addr &= ~1; in find_nearest_sym()
1088 if (addr >= sym_addr) in find_nearest_sym()
1089 distance = addr - sym_addr; in find_nearest_sym()
1091 distance = sym_addr - addr; in find_nearest_sym()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf_internal.h485 typedef int (*kallsyms_cb_t)(unsigned long long sym_addr, char sym_type,
Dlibbpf.c7523 unsigned long long sym_addr; in libbpf_kallsyms_parse() local
7536 &sym_addr, &sym_type, sym_name); in libbpf_kallsyms_parse()
7545 err = cb(sym_addr, sym_type, sym_name, ctx); in libbpf_kallsyms_parse()
7554 static int kallsyms_cb(unsigned long long sym_addr, char sym_type, in kallsyms_cb() argument
7569 if (ext->is_set && ext->ksym.addr != sym_addr) { in kallsyms_cb()
7571 sym_name, ext->ksym.addr, sym_addr); in kallsyms_cb()
7576 ext->ksym.addr = sym_addr; in kallsyms_cb()
7577 pr_debug("extern (ksym) '%s': set to 0x%llx\n", sym_name, sym_addr); in kallsyms_cb()
10684 static int avail_kallsyms_cb(unsigned long long sym_addr, char sym_type, in avail_kallsyms_cb() argument
10698 res->addrs[res->cnt++] = (unsigned long)sym_addr; in avail_kallsyms_cb()
[all …]