diff options
author | Jiri Pospisil | 2023-11-23 13:55:55 +0000 |
---|---|---|
committer | Jiri Pospisil | 2023-11-23 13:57:48 +0000 |
commit | b5a9da354c2a3bde837bacdb8efa77e136fb2420 (patch) | |
tree | 573e1c5215e725f7acc89b6c81962f456f8b3be5 | |
parent | 0ac1f63853854967269e568377433f1985a2380d (diff) | |
download | aur-b5a9da354c2a3bde837bacdb8efa77e136fb2420.tar.gz |
v7.3.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | CHANGELOG | 83 | ||||
-rw-r--r-- | PKGBUILD | 10 |
3 files changed, 95 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = bpftool-bin pkgdesc = bpftool is a tool for inspection and simple manipulation of eBPF programs and maps - pkgver = 7.2.0 - pkgrel = 2 + pkgver = 7.3.0 + pkgrel = 1 url = https://github.com/libbpf/bpftool changelog = CHANGELOG arch = x86_64 @@ -10,11 +10,11 @@ pkgbase = bpftool-bin makedepends = python-docutils provides = bpftool conflicts = bpftool - source = https://github.com/libbpf/bpftool/archive/refs/tags/v7.2.0.tar.gz - b2sums = b74cf49cd30b67c474cfd3a842110180a179f0dfe0d6921fc4bf35f5c7ed50659dd75ad06aaa92bcff865a49b862697bc5f494c6d7a5d458eb80e5232e673875 - source_x86_64 = https://github.com/libbpf/bpftool/releases/download/v7.2.0/bpftool-v7.2.0-amd64.tar.gz - b2sums_x86_64 = 30dcd2127a7d6a0a6b15140d2d849fe4548b8ea7c177607e00780ce8b25d307fa80f4f1414fbc79a3ea378f2d34cc4229b2ab29f9c7b8399dafe06bee7e60875 - source_aarch64 = https://github.com/libbpf/bpftool/releases/download/v7.2.0/bpftool-v7.2.0-arm64.tar.gz - b2sums_aarch64 = bd6d0d3dce357a25279d995b8744519c9d78744dc207afb66c60805b1264838a701c786e1ba7686a433e383b9f00d43586d8bf767e31564ba00d486ed068851d + source = https://github.com/libbpf/bpftool/archive/refs/tags/v7.3.0.tar.gz + b2sums = 653ecbe71c35b59fbea347771a714158bf914335d419c40bffe69d18b2cbb07a9f0654fb97d49755e543d6a8c0b3a7f0c9123a170f6e492da8d5b3f45b4afc0a + source_x86_64 = https://github.com/libbpf/bpftool/releases/download/v7.3.0/bpftool-v7.3.0-amd64.tar.gz + b2sums_x86_64 = 5a7da1c466974844ae91f1bd25258708bb62169f924a73751f4467fb51f6a46c73ac65d72b54c5ad0f9236c16235f44736daf356da4cdf93ee71dde1bb634792 + source_aarch64 = https://github.com/libbpf/bpftool/releases/download/v7.3.0/bpftool-v7.3.0-arm64.tar.gz + b2sums_aarch64 = 1c30c45fe3b12460d9c255520946d55a60741f54c4c4b0147f7a63e460ec542d656651566354387be5c87982f103253bf471b671cba90751cd28f78a23e5ed28 pkgname = bpftool-bin diff --git a/CHANGELOG b/CHANGELOG index 674aa6166f1a..f4f901e2fd05 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,85 @@ -# Changes in version 0.7.2: +# Changes in version 7.3.0: + +### Deprecation + +- Keyword dev for specifying an interface name to use for program and map offload + with bpftool prog load ... dev <ifname> and bpftool map create ... dev <ifname> + is deprecated. Use offload_dev instead. (3270b21) + +### New features + +The objective for the above deprecation is to avoid confusion with a new +interface-related keyword: + +- Support passing an interface name with xdpmeta_dev <ifname> for resolving XDP + hints kfuncs when loading programs with bpftool prog load. (3270b21) + +The information displayed for BPF links (bpftool link list) has been enriched: + +- Show map IDs along with struct_ops links. (d89768b) +- Show target_obj_id and target_btf_id along with tracing links information. (57fc1ef) +- Show details for multi-kprobes links. (b65dc7b) +- Show details for perf event links. (bd2f4d6, 7561b06) +- Show details for netfilter links. (103f441) +- Show details (interface, attach types) for tcx links. (b76b36e) +- Show details (interface) for XDP links. (9f6d353) +- Show details (interface, attach types) for netkit links. (0fcd8de) +- Show the count of missed kprobes for multi-kprobes links and perf event links. (aa4f5fb, 58046e2) + +Several new networking program types also get their information displayed with bpftool net list: + +- Print information on netfilter programs. (103f441) +- Print information on tcx programs. (4294230) +- Print information on netkit programs. (d712a3e) + +Other features: + +- Support the new cgroup UNIX socket attach points for attaching programs with + bpftool prog attach. These attach points are: connect_unix, sendmsg_unix, + recvmsg_unix, getpeername_unix, getsockname_unix. (087d22a) +- For struct_ops, support registering structs in the .struct_ops.link ELF + section (in addition to .struct_ops), and also create a link for structs in that + section. Accept an optional directory path when registering struct_ops (bpftool + struct_ops register OBJ [LINK_DIR]), to indicate where to pin such links. + (9d58b65, 6b24c3e) +- Dump inner map IDs instead of raw values when dumping maps of maps with + bpftool map dump. (e552682) +- Display kernel module name when relevant for symbols printed as part of a + program dump (bpftool prog dump xlated). (eb8a15a) +- Support LLVM's v4 instructions in the disassembler. (ad25b69) + +### Bug fixes + +- Fix the long-standing bug (#17) what would prevent from building bpftool with + features requiring the use of “skeletons” (feature-clang-bpf-co-re compilation + option) with kernels older than 5.15 or without CONFIG_PERF_EVENTS set. + (1f5829e, 0773871, fc96090, b00d0c5) +- On aarch64, when probing features (bpftool feature probe), fix the value of + the global memory limit for JIT compiler for unprivileged users, which was + previously reported as a negative value (expecting an int instead of a long). + (b2489e0) +- When passing a directory to pin programs to bpftool prog loadall, avoid + re-mounting accidentally the bpffs to the parent of that directory. (fb96eed) +- Fix a warning (-Wcast-qual) that might appear when compiling skeletons + generated with bpftool gen. (24f4661) +- When generating skeletons, align on a 8-byte boundary the data retrieved from + ELF files to avoid potential alignment issues and errors from libbpf. (e8b7df5, + f12f538) +- When printing pointers in JSON, for example as part of a struct_ops dump with + bpftool -j struct_ops dump, enquote the pointer address (or (nil) value) to + avoid breaking JSON. (5978b98) +- Fix JSON for struct_ops dumps from an ID with bpftool -j struct_ops dump id + <id> by wrapping the information for the structs in an array. (b9530de) +- Fix a subcommand name (prog instead of program) in bpftool.8 manual page. + (fa46ebb) +- Fix the interactive help message for bpftool perf. (dc53c79) + +### Known bugs + +- Command bpftool cgroup tree may be broken when running with kernels under v6.1 (#41). + + +# Changes in version 7.2.0: ### Breaking change: @@ -1,7 +1,7 @@ # Maintainer: Jiri Pospisil <jiri@jpospisil.com> pkgname=bpftool-bin -pkgver=7.2.0 -pkgrel=2 +pkgver=7.3.0 +pkgrel=1 pkgdesc='bpftool is a tool for inspection and simple manipulation of eBPF programs and maps' url='https://github.com/libbpf/bpftool' source=("https://github.com/libbpf/bpftool/archive/refs/tags/v$pkgver.tar.gz") @@ -13,9 +13,9 @@ provides=('bpftool') conflicts=('bpftool') license=('GPL2') changelog=CHANGELOG -b2sums=('b74cf49cd30b67c474cfd3a842110180a179f0dfe0d6921fc4bf35f5c7ed50659dd75ad06aaa92bcff865a49b862697bc5f494c6d7a5d458eb80e5232e673875') -b2sums_x86_64=('30dcd2127a7d6a0a6b15140d2d849fe4548b8ea7c177607e00780ce8b25d307fa80f4f1414fbc79a3ea378f2d34cc4229b2ab29f9c7b8399dafe06bee7e60875') -b2sums_aarch64=('bd6d0d3dce357a25279d995b8744519c9d78744dc207afb66c60805b1264838a701c786e1ba7686a433e383b9f00d43586d8bf767e31564ba00d486ed068851d') +b2sums=('653ecbe71c35b59fbea347771a714158bf914335d419c40bffe69d18b2cbb07a9f0654fb97d49755e543d6a8c0b3a7f0c9123a170f6e492da8d5b3f45b4afc0a') +b2sums_x86_64=('5a7da1c466974844ae91f1bd25258708bb62169f924a73751f4467fb51f6a46c73ac65d72b54c5ad0f9236c16235f44736daf356da4cdf93ee71dde1bb634792') +b2sums_aarch64=('1c30c45fe3b12460d9c255520946d55a60741f54c4c4b0147f7a63e460ec542d656651566354387be5c87982f103253bf471b671cba90751cd28f78a23e5ed28') package() { # Copy the main binary |