- 22 Mar, 2018 5 commits
-
-
yonghong-song authored
sync bpf compat headers with latest net-next
-
4ast authored
add an example of accessing an externally created map in C++
-
Quentin Monnet authored
-
Yonghong Song authored
Some application may need to access a pinned map which is not created by bcc. This example shows how to incorporate such maps with C++ APIs. Basically, the application needs to create a TableStorage and pre-populate it with pinned map before calling BPF constructor. The bpf program defines this pinned map as an "extern" map. Signed-off-by: Yonghong Song <yhs@fb.com>
-
yonghong-song authored
add the tcpstates tool
-
- 21 Mar, 2018 6 commits
-
-
Brendan Gregg authored
docs: add latest eBPF helpers to features list
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Quentin Monnet authored
-
Andreas Gerstmayr authored
This patch extends the PYTHON_CMD cmake variable to allow a list of Python binaries and installs the bcc Python bindings for each Python installation. The Debian control files are updated to generate bindings for Python 2 and Python 3. Compiled Python files are excluded from the Debian packages. Signed-off-by: Andreas Gerstmayr <andreas@gerstmayr.me>
-
Brendan Gregg authored
-
- 20 Mar, 2018 2 commits
-
-
yonghong-song authored
Add move constructor for BPFStackTable
-
yonghong-song authored
tcplife: switch to the new sock:inet_sock_set_state tracepoint
-
- 19 Mar, 2018 3 commits
-
-
Brendan Gregg authored
-
Teng Qin authored
-
yonghong-song authored
properly retrieve IP address from array for python2.7
-
- 18 Mar, 2018 1 commit
-
-
Nirmoy Das authored
for python2.7 IP address(src_ip,dst_ip) conversion doesn't work as expected and throws Traceback (most recent call last): File "_ctypes/callbacks.c", line 315, in 'calling callback function' File "/usr/local/lib/python2.7/site-packages/bcc/table.py", line 526, in raw_cb_ callback(cpu, data, size) File "./examples/networking/tc_perf_event.py", line 60, in print_skb_event (cpu, socket.inet_ntop(socket.AF_INET6, src_ip), ValueError: invalid length of packed IP address string IP string looks like [254, 128, 0, 0, 0, 0, 0, 0, 156, 237, 12, 255, 254, 42, 90, 31] Signed-off-by: Nirmoy Das <ndas@suse.de>
-
- 15 Mar, 2018 2 commits
-
-
yonghong-song authored
cmake: search for iperf3 if there is no iperf
-
Nirmoy Das authored
Some destro just provide iperf3 like openSUSE Tumbleweed Signed-off-by: Nirmoy Das <ndas@suse.de>
-
- 14 Mar, 2018 4 commits
-
-
yonghong-song authored
tools/slabratetop: detect the current memory allocator
-
yonghong-song authored
fix fd leakage
-
Gary Lin authored
Currently, slabratetop always included slub_def.h. For the system uses SLAB, the definition of 'struct kmem_cache' is different and the eBPF program would fetch the wrong field and print garbages. Signed-off-by: Gary Lin <glin@suse.com>
-
Nirmoy Das authored
bpf_prog_compute_tag() isn't closing socket fds before successful return Signed-off-by: Nirmoy Das <ndas@suse.de>
-
- 12 Mar, 2018 1 commit
-
-
yonghong-song authored
Perf Event interface with raw perf_event_attr argument
-
- 10 Mar, 2018 2 commits
- 09 Mar, 2018 2 commits
-
-
yonghong-song authored
docs: fix commit hash and link for bpf_redirect_map()
-
Quentin Monnet authored
The link wrongly pointed to the same commit as for bpf_sk_redirect_map().
-
- 08 Mar, 2018 4 commits
-
-
yonghong-song authored
Links to recent articles on LWN.net
-
Paul Chaignon authored
-
4ast authored
fix CMakefile for lua
-
Yonghong Song authored
Issue #1621 reported an issue where bcc-lua has an unresolved symbol bcc_resolve_symname. This is a side effect of previous cmake file refactorization which permits better control over what features can be enabled during build time. The refactorization caused some symbols in bcc_syms.cc got lost in the final link which produced bcc-lua. This patch fixed the issue by add a new static library target bcc-lua-static and adds bcc_syms.cc to it when the library is created and hence preserved the symbol. Also removed unnecessary linking for clang_frontend library. Signed-off-by: Yonghong Song <yhs@fb.com>
-
- 06 Mar, 2018 3 commits
-
-
yonghong-song authored
C++ API: Allow obtaining BPFPerfBuffer pointer for polling
-
Brendan Gregg authored
Tool tcpsubnet
-
Rodrigo Manyari authored
-
- 05 Mar, 2018 2 commits
- 04 Mar, 2018 3 commits
-
-
Rodrigo Manyari authored
-
Rodrigo Manyari authored
-
yonghong-song authored
Fix BPFModule allocation / de-allocation mismatch
-