/external/bcc/libbpf-tools/ |
D | klockstat.c | 259 const struct ksym *ksym; in caller_is_traced() local 263 ksym = ksyms__map_addr(ksyms, caller_pc); in caller_is_traced() 264 if (!ksym) in caller_is_traced() 266 return strncmp(env.caller, ksym->name, strlen(env.caller)) == 0; in caller_is_traced() 322 const struct ksym *ksym = ksyms__map_addr(ksyms, pc); in symname() local 324 if (!ksym) in symname() 326 snprintf(buf, n, "%s+0x%lx", ksym->name, pc - ksym->addr); in symname() 465 const struct ksym *ksym = ksyms__get_symbol(ksyms, lock_name); in get_lock_addr() local 467 return ksym ? (void*)ksym->addr : NULL; in get_lock_addr()
|
D | biostacks.c | 103 const struct ksym *ksym; in print_map() local 120 ksym = ksyms__map_addr(ksyms, next_key.kern_stack[i]); in print_map() 121 printf("%s\n", ksym ? ksym->name : "Unknown"); in print_map()
|
D | drsnoop.c | 151 const struct ksym *ksym; in main() local 178 ksym = ksyms__get_symbol(ksyms, "vm_zone_stat"); in main() 179 if (!ksym) { in main() 183 obj->rodata->vm_zone_stat_kaddr = ksym->addr; in main()
|
D | trace_helpers.h | 9 struct ksym { struct 18 const struct ksym *ksyms__map_addr(const struct ksyms *ksyms, argument 20 const struct ksym *ksyms__get_symbol(const struct ksyms *ksyms,
|
D | offcputime.c | 194 const struct ksym *ksym; in print_map() local 223 ksym = ksyms__map_addr(ksyms, ip[i]); in print_map() 224 printf(" %s\n", ksym ? ksym->name : "Unknown"); in print_map()
|
D | trace_helpers.c | 39 struct ksym *syms; 50 struct ksym *ksym; in ksyms__add_symbol() local 76 ksym = &ksyms->syms[ksyms->syms_sz]; in ksyms__add_symbol() 78 ksym->name = (void *)(unsigned long)ksyms->strs_sz; in ksyms__add_symbol() 79 ksym->addr = addr; in ksyms__add_symbol() 90 const struct ksym *s1 = p1, *s2 = p2; in ksym_cmp() 149 const struct ksym *ksyms__map_addr(const struct ksyms *ksyms, in ksyms__map_addr() 171 const struct ksym *ksyms__get_symbol(const struct ksyms *ksyms, in ksyms__get_symbol()
|
/external/bcc/tools/ |
D | criticalstat.py | 279 s = b.ksym(addr, show_offset=True) 295 …print("Section start: {} -> {}".format(b.ksym(stext + event.addrs[0]), b.ksym(stext + event.addrs[… 296 …print("Section end: {} -> {}".format(b.ksym(stext + event.addrs[2]), b.ksym(stext + event.addrs[…
|
D | cachetop.py | 92 if re.match(b'mark_page_accessed', bpf.ksym(k)) is not None: 95 if re.match(b'mark_buffer_dirty', bpf.ksym(k)) is not None: 98 if re.match(b'add_to_page_cache_lru', bpf.ksym(k)) is not None: 101 if re.match(b'account_page_dirtied', bpf.ksym(k)) is not None:
|
D | stacksnoop.lua | 53 local ksym = BPF.SymbolCache() 90 local sym, offset = ksym:resolve(addr)
|
D | offwaketime.py | 365 line.extend([b.ksym(addr).decode('utf-8', 'replace') 372 line.extend([b.ksym(addr).decode('utf-8', 'replace') 399 print(" %s" % b.ksym(addr)) 409 print(" %s" % b.ksym(addr))
|
D | tcpdrop.py | 181 sym = b.ksym(addr, show_offset=True) 193 sym = b.ksym(addr, show_offset=True)
|
D | wakeuptime.py | 251 [b.ksym(addr) 259 printb(b" %-16x %s" % (addr, b.ksym(addr)))
|
D | klockstat.py | 425 caller = b.ksym(stack[1], show_offset=True) 435 print("%40s" % b.ksym(addr, show_offset=True))
|
D | funcslower.py | 323 [b.ksym(addr) for addr in reversed(kernel_stack)] 328 print(" %s" % b.ksym(addr))
|
D | stackcount.py | 295 print("%s" % self.probe.bpf.ksym(addr, show_offset=True)) 297 print("%s" % self.probe.bpf.ksym(addr)) 358 [b.ksym(addr).decode('utf-8', 'replace') for addr in reversed(kernel_stack)]
|
D | vfscount.py | 61 print("%-16x %-26s %8d" % (k.ip, b.ksym(k.ip), v.value))
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | trace_helpers.c | 18 static struct ksym syms[MAX_SYMS]; 23 return ((struct ksym *)p1)->addr - ((struct ksym *)p2)->addr; in ksym_cmp() 48 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms() 52 struct ksym *ksym_search(long key) in ksym_search()
|
D | trace_helpers.h | 7 struct ksym { struct 13 struct ksym *ksym_search(long key); argument
|
/external/bcc/tools/old/ |
D | offwaketime.py | 244 line = line + b.ksym(k.tret[i]) 256 line = line + b.ksym(k.wret[i]) 269 b.ksym(k.wret[i]))) 279 b.ksym(k.tret[i])))
|
D | softirqs.py | 190 dist.print_log2_hist(label, "softirq", section_print_fn=b.ksym) 195 print("%-26s %11d %11d" % (b.ksym(k.ip), k.cpu, v.value / factor)) 199 print("%-26s %11d" % (b.ksym(k.ip), v.value / factor))
|
D | offcputime.py | 194 line = line + b.ksym(k.ret[i]) 204 b.ksym(k.ret[i])))
|
D | wakeuptime.py | 208 line = line + b.ksym(k.ret[i]) 219 b.ksym(k.ret[i])))
|
D | profile.py | 293 return b.ksym(addr) + "_[k]" 295 return b.ksym(addr)
|
D | stacksnoop.py | 122 ip = b.ksym(int(addr, 16), show_offset=offset)
|
/external/bcc/examples/lua/ |
D | offcputime.lua | 85 local ksym = BPF.SymbolCache() 113 print(" %-16p %s" % {addr, ksym:resolve(addr)})
|