Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/scripts/mod/
Dmodpost.c1078 Elf_Addr sym_addr, distance; in find_nearest_sym() local
1087 sym_addr = sym->st_value; in find_nearest_sym()
1094 sym_addr &= ~1; in find_nearest_sym()
1096 if (addr >= sym_addr) in find_nearest_sym()
1097 distance = addr - sym_addr; in find_nearest_sym()
1099 distance = sym_addr - addr; in find_nearest_sym()
/Linux-v6.6/tools/lib/bpf/
Dlibbpf_internal.h485 typedef int (*kallsyms_cb_t)(unsigned long long sym_addr, char sym_type,
Dlibbpf.c7521 unsigned long long sym_addr; in libbpf_kallsyms_parse() local
7534 &sym_addr, &sym_type, sym_name); in libbpf_kallsyms_parse()
7543 err = cb(sym_addr, sym_type, sym_name, ctx); in libbpf_kallsyms_parse()
7552 static int kallsyms_cb(unsigned long long sym_addr, char sym_type, in kallsyms_cb() argument
7567 if (ext->is_set && ext->ksym.addr != sym_addr) { in kallsyms_cb()
7569 sym_name, ext->ksym.addr, sym_addr); in kallsyms_cb()
7574 ext->ksym.addr = sym_addr; in kallsyms_cb()
7575 pr_debug("extern (ksym) '%s': set to 0x%llx\n", sym_name, sym_addr); in kallsyms_cb()
10682 static int avail_kallsyms_cb(unsigned long long sym_addr, char sym_type, in avail_kallsyms_cb() argument
10696 res->addrs[res->cnt++] = (unsigned long)sym_addr; in avail_kallsyms_cb()
[all …]