Skip to content

Commit

Permalink
bpftools: Update to latest versions
Browse files Browse the repository at this point in the history
Pulls the following versions of BPF packages:

- bpftrace: 0.19.1
- libbpf: 1.2.2
- bcc: 0.28-gb8b943a1 (commit b8b943a1)

This version of bpftrace speeds up symbol resolution [1] and fixes
ustack symbolication on 32-bit systems [2].

[1] bpftrace/bpftrace#2386
[2] iovisor/bcc#4775
  • Loading branch information
tnovak committed Nov 3, 2023
1 parent 6fb0df7 commit ce9ff56
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions projects/bcc/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ $(BCC_ANDROID_BUILD_DIR): $(HOST_OUT_DIR)/bin/flex
-DBPS_LINK_RT=OFF \
-DENABLE_TESTS=OFF \
-DCMAKE_USE_LIBBPF_PACKAGE=ON \
-DPYTHON_CMD=$(abspath $(HOST_OUT_DIR)/bin/python3.10-no--install-layout) \
-DREVISION=0.27.0
-DPYTHON_CMD=$(abspath $(HOST_OUT_DIR)/bin/python3.10-no--install-layout)

BCC_TAG = v0.27.0
BCC_COMMIT = b8b943a19132936751e1a5d67360a34050f4c2e0
BCC_REPO = https://github.com/iovisor/bcc
projects/bcc/sources:
git clone $(BCC_REPO) $@ --depth=1 -b $(BCC_TAG)
git clone $(BCC_REPO) $@
cd $@ && git checkout $(BCC_COMMIT)
2 changes: 1 addition & 1 deletion projects/bpftrace/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $(STRIP_THUNK): projects/bpftrace/strip-thunk | $(HOST_OUT_DIR)
@sed -e "s+<STRIP_PATH>+$(ANDROID_TOOLCHAIN_STRIP_PATH)+g" $< > $@
chmod +x $@

BPFTRACE_COMMIT = v0.18.1
BPFTRACE_COMMIT = v0.19.1
BPFTRACE_REPO = https://github.com/iovisor/bpftrace.git/
projects/bpftrace/sources:
git clone $(BPFTRACE_REPO) $@
Expand Down
2 changes: 1 addition & 1 deletion projects/libbpf/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $(LIBBPF_ANDROID): $(ANDROID_OUT_DIR)/lib/pkgconfig/zlib.pc
$(LIBBPF_ANDROID_BUILD_DIR):
mkdir -p $@

LIBBPF_TAG = v1.0.0
LIBBPF_TAG = v1.2.2
LIBBPF_REPO = https://github.com/libbpf/libbpf
projects/libbpf/sources:
git clone $(LIBBPF_REPO) $@ -b $(LIBBPF_TAG)

0 comments on commit ce9ff56

Please sign in to comment.