Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/iovisor/bcc
/ functions
Functions
3,732 in github.com/iovisor/bcc
⨍
Functions
3,732
◇
Types & classes
1,846
↳
Endpoints
2
↓ 366 callers
Function
exit
libbpf-tools/funclatency.bpf.c:61
↓ 308 callers
Method
attach_kprobe
src/cc/api/BPF.cc:228
↓ 221 callers
Method
ok
src/cc/bcc_exception.h:61
↓ 203 callers
Method
decode
(cls, i, w, w1)
src/python/bcc/disassembler.py:234
↓ 182 callers
Method
size
tests/cc/catch.hpp:3749
↓ 144 callers
Method
items
(self)
src/python/bcc/table.py:407
↓ 136 callers
Method
find
tests/cc/catch.hpp:8327
↓ 131 callers
Method
ArgumentParser
src/cc/usdt.h:125
↓ 131 callers
Method
attach_kretprobe
(self, event=b"", fn_name=b"", event_re=b"", maxactive=0)
src/python/bcc/__init__.py:889
↓ 106 callers
Method
load_func
src/cc/api/BPF.cc:703
↓ 102 callers
Method
open_perf_buffer
src/cc/api/BPF.cc:664
↓ 96 callers
Method
clear
(self)
tools/funccount.py:213
↓ 96 callers
Function
verify_register
tests/cc/test_usdt_args.cc:25
↓ 89 callers
Method
empty
tests/cc/catch.hpp:7797
↓ 86 callers
Method
format
(self, data)
tools/lib/ugc.py:114
↓ 83 callers
Method
end
src/cc/bpffs_table.cc:58
↓ 76 callers
Method
get_table
(self, b)
tests/python/test_brb.py:91
↓ 75 callers
Method
end
tests/cc/catch.hpp:3747
↓ 75 callers
Method
perf_buffer_poll
perf_buffer_poll(self) Poll from all open perf ring buffers, calling the callback that was provided when calling open_perf_buffer for
src/python/bcc/__init__.py:1757
↓ 73 callers
Method
event
event(data) When ring buffers are opened to receive custom event, the underlying event data struct which is defined in C in t
src/python/bcc/table.py:1249
↓ 69 callers
Method
get_kprobe_functions
(event_re)
src/python/bcc/__init__.py:719
↓ 67 callers
Method
begin
tests/cc/catch.hpp:3746
↓ 64 callers
Function
_assert_is_bytes
(arg)
src/python/bcc/utils.py:91
↓ 62 callers
Function
printb
printb(s) print a bytes object to stdout and flush
src/python/bcc/utils.py:49
↓ 61 callers
Method
get_syscall_fnname
src/cc/api/BPF.cc:774
↓ 60 callers
Method
add
tests/cc/catch.hpp:8350
↓ 60 callers
Method
get_table
src/cc/api/BPF.h:183
↓ 58 callers
Method
getName
tests/cc/catch.hpp:1304
↓ 58 callers
Method
lookup
src/cc/api/BPFTable.h:113
↓ 57 callers
Function
list
tests/cc/catch.hpp:5431
↓ 53 callers
Method
update_value
src/cc/api/BPFTable.cc:84
↓ 49 callers
Method
run_with_int
(self, command, timeout=5, kill_timeout=5, allow_early=False, kill=False)
tests/python/test_tools_smoke.py:47
↓ 46 callers
Method
close
close(self) Closes all associated files descriptors. Attached BPF programs are not detached.
src/python/bcc/__init__.py:1837
↓ 46 callers
Method
ksym
ksym(addr) Translate a kernel memory address into a kernel function name, which is returned. When show_module is True, the module nam
src/python/bcc/__init__.py:1714
↓ 44 callers
Method
attach_uprobe
src/cc/api/BPF.cc:258
↓ 42 callers
Method
init
src/cc/api/BPF.cc:109
↓ 42 callers
Method
kernel_struct_has_field
(struct_name, field_name)
src/python/bcc/__init__.py:1283
↓ 42 callers
Function
str_timestamp
libbpf-tools/trace_helpers.c:1358
↓ 40 callers
Method
remove
src/cc/api/BPFTable.h:129
↓ 39 callers
Method
get
src/cc/usdt/usdt.cc:310
↓ 39 callers
Method
ok
src/cc/frontends/clang/kbuild_helper.h:83
↓ 38 callers
Method
get
tests/cc/catch.hpp:522
↓ 38 callers
Method
print_log2_hist
print_log2_hist(val_type="value", section_header="Bucket ptr", section_print_fn=None, bucket_fn=None,
src/python/bcc/table.py:723
↓ 35 callers
Method
get_value
src/cc/api/BPFTable.cc:42
↓ 34 callers
Method
pop
(self)
src/python/bcc/table.py:1327
↓ 31 callers
Method
attach_uretprobe
attach_uretprobe(name="", sym="", sym_re="", addr=None, fn_name="" pid=-1) Run the bpf function denoted by fn_nam
src/python/bcc/__init__.py:1470
↓ 31 callers
Method
sym
sym(addr, pid, show_module=False, show_offset=False) Translate a memory address into a function name for a pid, which is returned. Wh
src/python/bcc/__init__.py:1665
↓ 30 callers
Method
begin
src/cc/bpffs_table.cc:57
↓ 30 callers
Method
walk
(self, stack_id, resolve=None)
src/python/bcc/table.py:1203
↓ 29 callers
Function
lock_acquired
libbpf-tools/klockstat.bpf.c:139
↓ 29 callers
Function
lock_contended
libbpf-tools/klockstat.bpf.c:98
↓ 29 callers
Function
main
tests/python/dummy.cc:11
↓ 28 callers
Method
Find
src/cc/bpffs_table.cc:49
↓ 28 callers
Method
create
tests/cc/catch.hpp:6592
↓ 28 callers
Function
fentry_can_attach
libbpf-tools/trace_helpers.c:1080
↓ 27 callers
Method
run_with_duration
(self, command, timeout=10)
tests/python/test_tools_smoke.py:38
↓ 26 callers
Method
enable_probe
src/cc/usdt/usdt.cc:327
↓ 26 callers
Method
id
src/cc/frontends/clang/b_frontend_action.h:174
↓ 26 callers
Method
keys
(self)
src/python/bcc/table.py:636
↓ 26 callers
Method
trace_fields
trace_fields(nonblocking=False) Read from the kernel debug trace pipe and return a tuple of the fields (task, pid, cpu, flags, timest
src/python/bcc/__init__.py:1581
↓ 25 callers
Function
cleanup_core_btf
libbpf-tools/btf_helpers.c:238
↓ 25 callers
Function
ensure_core_btf
libbpf-tools/btf_helpers.c:165
↓ 24 callers
Function
tracepoint_exists
libbpf-tools/trace_helpers.c:1201
↓ 23 callers
Method
bind
tests/cc/catch.hpp:4291
↓ 22 callers
Function
system
tests/cc/test_c_api.cc:166
↓ 22 callers
Method
tracepoint_exists
(category, event)
src/python/bcc/__init__.py:1054
↓ 21 callers
Method
items_lookup_and_delete_batch
Look up and delete all the key-value pairs in the map. Args: None Yields: tuple: The tuple of (key,value) for
src/python/bcc/table.py:548
↓ 21 callers
Method
match
tests/cc/catch.hpp:925
↓ 21 callers
Method
release
(self)
tests/python/simulation.py:112
↓ 19 callers
Method
get_fd
src/cc/bcc_btf.cc:618
↓ 19 callers
Method
ksymname
ksymname(name) Translate a kernel name into an address. This is the reverse of ksym. Returns -1 when the function name is unknown.
src/python/bcc/__init__.py:1728
↓ 19 callers
Function
logInfo
examples/cpp/pyperf/PyPerfLoggingHelper.cc:20
↓ 19 callers
Method
scopedElement
tests/cc/catch.hpp:8970
↓ 18 callers
Function
bcc_symcache_resolve
src/cc/bcc_syms.cc:588
↓ 18 callers
Method
detach_kprobe
src/cc/api/BPF.cc:495
↓ 18 callers
Method
remove_value
src/cc/api/BPFTable.cc:132
↓ 18 callers
Method
reset
src/cc/syms.h:52
↓ 17 callers
Method
__init__
(self, *args, **kwargs)
src/python/bcc/table.py:881
↓ 17 callers
Function
get_value_addr
src/cc/api/BPFTable.h:156
↓ 17 callers
Method
load_func
(self, func_name, prog_type, device = None, attach_type = -1)
src/python/bcc/__init__.py:530
↓ 17 callers
Method
path
src/cc/syms.h:140
↓ 17 callers
Method
total
tests/cc/catch.hpp:2202
↓ 17 callers
Function
unaligned_uint16_read
src/cc/bcc_zip.c:42
↓ 16 callers
Function
bcc_symcache_new
src/cc/bcc_syms.cc:570
↓ 16 callers
Function
bpf_map_lookup_or_try_init
libbpf-tools/maps.bpf.h:9
↓ 16 callers
Method
cleanup
(self)
src/python/bcc/__init__.py:1850
↓ 16 callers
Function
gen_alloc_enter
libbpf-tools/memleak.bpf.c:90
↓ 16 callers
Function
inc_stats
libbpf-tools/vfsstat.bpf.c:12
↓ 16 callers
Method
num_open_kprobes
num_open_kprobes() Get the number of open K[ret]probes. Can be useful for scenarios where event_re is used while attaching and detach
src/python/bcc/__init__.py:1735
↓ 16 callers
Function
toString
tests/cc/catch.hpp:1707
↓ 16 callers
Function
to_str
(num)
tools/netqtop.py:24
↓ 15 callers
Function
enable_probe
(probe_name, func_name, read_class, read_method, is_return)
tools/lib/uflow.py:103
↓ 15 callers
Function
startsWith
tests/cc/catch.hpp:3965
↓ 14 callers
Method
erase
src/cc/bpffs_table.cc:65
↓ 14 callers
Method
get_table_offline
src/cc/api/BPFTable.cc:183
↓ 14 callers
Method
get_text
(self)
src/python/bcc/usdt.py:179
↓ 14 callers
Method
init
examples/cpp/pyperf/PyPerfUtil.cc:165
↓ 14 callers
Function
lock_aborted
libbpf-tools/klockstat.bpf.c:124
↓ 14 callers
Method
name
tests/cc/catch.hpp:3577
↓ 14 callers
Method
sum
(self, key)
src/python/bcc/table.py:1079
next →
1–100 of 3,732, ranked by callers