Home
last modified time | relevance | path

Searched refs:ksym (Results 1 – 25 of 31) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtrace_helpers.c14 static struct ksym syms[MAX_SYMS];
19 return ((struct ksym *)p1)->addr - ((struct ksym *)p2)->addr; in ksym_cmp()
44 qsort(syms, sym_cnt, sizeof(struct ksym), ksym_cmp); in load_kallsyms()
48 struct ksym *ksym_search(long key) in ksym_search()
Dtrace_helpers.h7 struct ksym { struct
13 struct ksym *ksym_search(long key); argument
/external/bcc/tools/
Dcriticalstat.py290 s = b.ksym(addr, show_offset=True)
306 …print("Section start: {} -> {}".format(b.ksym(stext + event.addrs[0]), b.ksym(stext + event.addrs[…
307 …print("Section end: {} -> {}".format(b.ksym(stext + event.addrs[2]), b.ksym(stext + event.addrs[…
Dcachestat.py125 if re.match(b'mark_page_accessed', b.ksym(k.ip)) is not None:
128 if re.match(b'mark_buffer_dirty', b.ksym(k.ip)) is not None:
131 if re.match(b'add_to_page_cache_lru', b.ksym(k.ip)) is not None:
134 if re.match(b'account_page_dirtied', b.ksym(k.ip)) is not None:
Dcachetop.py91 if re.match(b'mark_page_accessed', bpf.ksym(k)) is not None:
94 if re.match(b'mark_buffer_dirty', bpf.ksym(k)) is not None:
97 if re.match(b'add_to_page_cache_lru', bpf.ksym(k)) is not None:
100 if re.match(b'account_page_dirtied', bpf.ksym(k)) is not None:
Dstacksnoop.lua53 local ksym = BPF.SymbolCache()
90 local sym, offset = ksym:resolve(addr)
Doffwaketime.py333 line.extend([b.ksym(addr)
340 line.extend([b.ksym(addr)
367 print(" %s" % b.ksym(addr))
377 print(" %s" % b.ksym(addr))
Dtcpdrop.py190 sym = b.ksym(addr, show_offset=True)
202 sym = b.ksym(addr, show_offset=True)
Dprofile.py271 return b.ksym(addr) + "_[k]".encode()
273 return b.ksym(addr)
322 line.extend([b.ksym(addr) for addr in reversed(kernel_stack)])
Dwakeuptime.py209 [b.ksym(addr)
217 printb(b" %-16x %s" % (addr, b.ksym(addr)))
Dvfscount.py49 print("%-16x %-26s %8d" % (k.ip, b.ksym(k.ip), v.value))
Dstackcount.py283 print("%s" % self.probe.bpf.ksym(addr, show_offset=True))
285 print("%s" % self.probe.bpf.ksym(addr))
346 [b.ksym(addr) for addr in reversed(kernel_stack)]
Dfuncslower.py312 [b.ksym(addr) for addr in reversed(kernel_stack)]
317 print(" %s" % b.ksym(addr))
Doffcputime.py297 line.extend([b.ksym(addr) for addr in reversed(kernel_stack)])
306 print(" %s" % b.ksym(addr))
/external/bcc/tools/old/
Doffwaketime.py242 line = line + b.ksym(k.tret[i])
254 line = line + b.ksym(k.wret[i])
267 b.ksym(k.wret[i])))
277 b.ksym(k.tret[i])))
Dsoftirqs.py190 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))
Doffcputime.py192 line = line + b.ksym(k.ret[i])
202 b.ksym(k.ret[i])))
Dwakeuptime.py206 line = line + b.ksym(k.ret[i])
217 b.ksym(k.ret[i])))
Dprofile.py291 return b.ksym(addr) + "_[k]"
293 return b.ksym(addr)
Dstacksnoop.py122 ip = b.ksym(int(addr, 16), show_offset=offset)
Dstackcount.py148 print(b.ksym(addr, show_offset=offset))
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dwildcard-flags.test53 # RUN: llvm-objcopy --discard-all --keep-symbol='f*' %t.o %t.ksym.1.o
54 # RUN: llvm-readobj --symbols %t.ksym.1.o \
56 # RUN: llvm-strip --discard-all --keep-symbol='f*' %t.o -o %t.ksym.2.o
57 # RUN: cmp %t.ksym.1.o %t.ksym.2.o
59 # RUN: llvm-objcopy --discard-all -w --keep-symbol='f*' %t.o %t.ksym.3.o
60 # RUN: llvm-readobj --symbols %t.ksym.3.o \
62 # RUN: llvm-strip --discard-all -w --keep-symbol='f*' %t.o -o %t.ksym.4.o
63 # RUN: cmp %t.ksym.3.o %t.ksym.4.o
/external/bcc/examples/lua/
Doffcputime.lua83 local ksym = BPF.SymbolCache()
111 print(" %-16p %s" % {addr, ksym:resolve(addr)})
/external/bcc/tests/python/
Dtest_stackid.py50 self.assertEqual(b.ksym(stack[0]), b"htab_map_lookup_elem")
/external/bcc/examples/tracing/
Dstacksnoop.py116 sym = b.ksym(addr, show_offset=offset)

12