Skip to content

Releases: cilium/ebpf

v0.15.0

22 Apr 12:30
@lmb lmb
Compare
Choose a tag to compare

btf: bpf_core_type_matches is now supported

Programs can now use bpf_core_type_matches() for a stricter compatibility check. See #1366.

program, btf: improve debuggability when CO-RE or kfunc fixup fails

The library now tries to return a more informative error when loading a program fails due to a failed CO-RE relocation or a missing kfunc. See #1402.

btf: synthesise instruction comments into line info

asm.Comment in an instruction's Source() are now passed to the kernel in the form of BTF line info. See #1417.

perf: add WakeupEvents support to Reader

A perf Reader can now be configured to be woken up after a specific number of events / samples have been submitted. See #1404.

Bugfixes

  • program: fix loading a program which targets a function in a kernel module when CONFIG_DEBUG_INFO_BTF_MODULES is disabled, see #1440.

Breaking changes

github.com/cilium/ebpf/btf

  • Copy: the transform argument was removed. Use the new btf.As function instead.
  • Transformer: removed. See above.

What's Changed

  • btf: use recursion by @lmb in #1397
  • gh: hopefully fix apidiff workflow by @lmb in #1401
  • gh: only cancel pull_request runs by @lmb in #1403
  • build(deps): bump pymdown-extensions from 10.7 to 10.7.1 in /docs by @dependabot in #1410
  • build(deps): bump mkdocs-git-authors-plugin from 0.7.2 to 0.8.0 in /docs by @dependabot in #1411
  • build(deps): bump mkdocs-material from 9.5.12 to 9.5.16 in /docs by @dependabot in #1409
  • program, btf: improve debuggability when CO-RE or kfunc fixup fails by @lmb in #1402
  • add WakeupEvents support to perf Reader by @brycekahle in #1404
  • Extend go test CI from 10 to 15 miniutes by @dylandreimerink in #1418
  • btf: synthesise instruction comments into line info by @MarcusWichelmann in #1417
  • Add support to retrieve missed counts from probes by @olsajiri in #1295
  • perf: fix TestPerfReaderWakeupEvents by @lmb in #1423
  • Don't mention inexistent outLen parameter in (*Program).Test godoc by @tklauser in #1426
  • btf: refuse reloTypeIDTarget for kmod types by @lmb in #1422
  • when ringbuffer map size is not a power-of-2 multiple of page size, prompt users in a user-friendly way by @hengyoush in #1420
  • btf: Add support for bpf_core_type_matches() by @dylandreimerink in #1366
  • Define LookupLock by means of BPF_F_LOCK by @tklauser in #1428
  • build(deps): bump idna from 3.6 to 3.7 in /docs by @dependabot in #1431
  • fix function name by @looklose in #1427
  • doc: rephrase supported kernel versions by @lmb in #1439
  • Use latest Go version for ARM64 and VM tests in CI by @tklauser in #1430
  • program: don't return error when kmod BTF is disabled by @orishuss in #1440

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14.0

27 Mar 10:54
@lmb lmb
Compare
Choose a tag to compare

btf: support for CO-RE relocations against kernel modules

It's now possible to use CO-RE relocations against types defined in kernel modules. See #1300 by @brycekahle.

link: netkit support

The link package now allows attaching to netkit interfaces. See #1257 by @hemanthmalla

link: support for iterating links

The new link.Iterator type allows enumerating all BPF links active. See #1392 by @mpastyl.

Bugfixes

  • ringbuf: fixed a bug which can lead to corrupt data on arm64, see #1375

Breaking changes

github.com/cilium/ebpf

  • ProgramOptions is not comparable anymore due to KernelModuleTypes.

github.com/cilium/ebpf/btf

  • CORERelocate had its singature change once again.

What's Changed

New Contributors

Full Changelog: v0.13.2...v0.14.0

v0.13.2

22 Feb 18:25
@lmb lmb
Compare
Choose a tag to compare

What's Changed

  • btf: fix race in mutableTypes.copy by @lmb in #1358

Full Changelog: v0.13.1...v0.13.2

v0.13.1

22 Feb 12:16
@lmb lmb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.0...v0.13.1

v0.13.0

15 Feb 16:44
@lmb lmb
Compare
Choose a tag to compare

Faster btf.LoadKernelSpec()

Obtaining the kernel's BTF used to be very slow and is now very fast. See #1235 by @lmb.

TCX

It's now possible to attach TC programs using the new bpf_link based TCX API. See #1163 by @lmb.

UprobeMulti and UretprobeMulti

These are the user-space equivalents to KprobeMulti and Kretprobe multi and allow
attaching to a large number of symbols quickly. See #1269 by @olsajiri.

Netfilter link

There is now support to attach Netfilter programs using bpf_links. See #1313 by @mehrdadrad.

Better ELF section naming compatibility

The list of recognised ELF section names is now automatically generated from
libbpf and should be more accurate and easier to keep up to date. See #1209 by @lmb.

Pre-allocate per-CPU values

It's now possible to cut down on allocations by pre-allocating per-CPU values. See #1220 by @alxn.

Batch operation support for per-CPU values

Batch operations like Map.BatchLookup now support per-CPU values. Note that this
is not particularly optimised, please check whether it is faster based on your
use case. See #1192 by @alxn.

Breaking changes

This release requires at least Go 1.21.

github.com/cilium/ebpf

  • (*Map).BatchLookup, (*Map).BatchLookupAndDelete: now take a MapBatchCursor.
    The previous implementation did not properly account for differences between
    map types and was unsafe.

github.com/cilium/ebpf/btf

  • CORERelocate: now takes an additional argument, which is usually Spec.TypeID.
  • MarshalExtInfos: now takes an additional *Builder instead of allocating it.
    Simply pass NewBuilder().

Both of these are considered somewhat internal API of the library.

github.com/cilium/ebpf/features

  • HaveBoundedLoops: changed from var to func
  • HaveLargeInstructions: changed from var to func
  • HaveV2ISA: changed from var to func
  • HaveV3ISA: changed from var to func

github.com/cilium/ebpf/link

  • QueryOptions.Path: removed. Instead, pass an fd to the directory via QueryOptions.Target.
  • QueryPrograms: now returns QueryResult to be able to extend the API.
  • RawAttachProgramOptions.Replace: removed. Instead, pass ReplaceProgram() to RawAttachProgramOptions.Anchor.

What's Changed

  • btf: fix CO-RE relocations for local type id by @lmb in #1191
  • fix data race by caching ring buffer size by @brycekahle in #1217
  • elf: generate ELF section patterns from libbpf by @lmb in #1209
  • Move PossibleCPUs to a public API by @alxn in #1219
  • CI: add go-apidiff check by @lmb in #1225
  • CI: fix trusted workflow by @lmb in #1227
  • CI: allow writing PRs from trusted workflow by @lmb in #1228
  • link: add TCX support by @lmb in #1163
  • map: allow pre-allocating per-CPU values on lookup by @alxn in #1220
  • CI: store apidiff as json artifact by @lmb in #1229
  • docs: split CONTRIBUTING.md into separate pages by @lmb in #1221
  • CI: add logging to trusted workflow by @lmb in #1233
  • Revert "CI: add logging to trusted workflow" by @lmb in #1234
  • add kfunc benchmark by @lmb in #1231
  • link: rename First, Last to Head, Tail by @lmb in #1232
  • docs: remove WIP pages by @lmb in #1236
  • go.mod: update golang.org/x/sys to v0.15.0 by @tklauser in #1241
  • map: avoid allocations in MapIterator.Next by @lmb in #1243
  • map: Introduce BatchCursor abstraction by @christarazi in #1223
  • Xabier/fix typos by @txabman42 in #1248
  • build(deps): bump pymdown-extensions from 10.3.1 to 10.5 in /docs by @dependabot in #1246
  • build(deps): bump mkdocs-material from 9.4.7 to 9.4.14 in /docs by @dependabot in #1247
  • map: fix flaky TestMapBatch/Hash by @lmb in #1250
  • CI: execute benchmarks once to prevent bitrot by @lmb in #1244
  • doc: use Sourcegraph query for list of importers by @lmb in #1252
  • test: Migrate tests to github.com/go-quicktest/qt by @sayboras in #1253
  • map: avoid allocations during batch lookup of common types by @lmb in #1254
  • CI: run tests on arm64 by @lmb in #1245
  • map: Fix MapBatch test for BatchLookupAndDelete case by @lmb in #1260
  • link: fix TestUprobeExtWithOpts address by @rgo3 in #1272
  • cmd/bpf2go: rephrase GOPACKAGE error message by @lmb in #1267
  • run-tests: fetch kernels and selftests from containers by @lmb in #1264
  • GH: use an issue form for bug reports by @lmb in #1268
  • program: fix raw_tracepoint run repeat check bug by @mtardy in #1275
  • fix make update-kernel-deps by @lmb in #1276
  • Add per-CPU Map Support to Batch Operations by @alxn in #1192
  • build(deps): bump mkdocs-material from 9.4.14 to 9.5.3 in /docs by @dependabot in #1285
  • build(deps): bump mkdocs-git-revision-date-localized-plugin from 1.2.1 to 1.2.2 in /docs by @dependabot in #1287
  • perf: fix nil pointer when perf map create failed by @cfc4n in #1282
  • Fix link.Info.XDP comment to match method name by @aibor in #1292
  • Add link.Info.TCX method by @aibor in #1293
  • link: add feature test for tcx by @rgo3 in #1294
  • cmd/bpf2go: Make LoongArch a supported target by @chenhengqi in #1296
  • features: fix documentation by @lmb in #1299
  • build(deps): bump gitpython from 3.1.40 to 3.1.41 in /docs by @dependabot in #1302
  • link: fix tcx feature test by @rgo3 in #1303
  • build(deps): bump jinja2 from 3.1.2 to 3.1.3 in /docs by @dependabot in #1305
  • cmd/bpf2go: clean up goarch / clang / linux target handling by @lmb in #1310
  • add kernel 6.7 by @lmb in #1314
  • btf: fix slow LoadKernelSpec by making Spec.Copy lazy by @lmb in #1235
  • cmd/bpf2go: fix s390x target by @lmb in #1312
  • map: Make the Examples all testable examples. by @alxn in #1278
  • Add support for uprobe multi link by @olsajiri in #1269
  • link: add netfilter support by @mehrdadrad in #1313
  • bpf2go: support specifying output directory and package name by @chent1996 in #1280
  • build(deps): bump mkdocs-material from 9.5.3 to 9.5.6 in /docs by @dependabot in #1324
  • bump minimum Go to 1.21 by @lmb in #1331
  • add support for reading auxv from Go runtime by @paulcacheux in #1319
  • dependabot: onboard github actions upgrades by @paulcacheux in #1332
  • build(deps): bump actions/checkout from 3 to 4 by @dependabot in #1334
  • use slices and maps packages instead of x/exp by @lmb in #1333
  • build(deps): bump actions/setup-python from 4 to 5 by @dependabot in #1335
  • build(deps): bump actions/github-script from 3 to 7 by @dependabot in #1336
  • build(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #1337
  • build(deps): bump mkdocs-git-revision-date-localized-plugin from 1.2.2 to 1.2.4 in /docs by @dependabot in #1339
  • build(deps): bump mkdocs-material from 9.5.6 to 9.5.8 in /docs by @dependabot in #1340
  • build(deps): bump actions/setup-go from 4 to 5 by @dependabot in #1338
  • internal: replace internal memoize with sync.OnceValues by @kwakubiney in #1240
  • fix minor contradiction in comments by @christian-2 in #1341
  • map: rename BatchCursor to MapBatchCursor by @lmb in #1344

New Contributors

Read more

v0.12.3

09 Nov 15:57
@lmb lmb
Compare
Choose a tag to compare

This is a small release to fix an incompatibility with golang.org/x/sys/unix@v0.14.0. There is a variety of performance improvements as well.

What's Changed

  • Add Remaining and Size to perf/ring Record by @brycekahle in #1167
  • btf: correct printing size of Int type in bytes by @Asphaltt in #1182
  • collection: Add Assign method by @danobi in #1114
  • add 6.6 to CI by @lmb in #1187
  • docs: add overview for package features by @rgo3 in #1164
  • elf: skip local_kptr_stash libbpf test by @lmb in #1190
  • btf: support both elf and raw BTF in loadKernelSpec by @wxx213 in #1177
  • elf: skip local_kptr_stash_fail test by @lmb in #1198
  • btf, sys: update vmlinux.btf.gz to 6.6 by @lmb in #1200
  • btf: optimize stringTable to speed up vmlinux parsing by @lmb in #1203
  • program: fix LINUX_HAS_SYSCALL_WRAPPER use with bpf_tracing.h by @paulcacheux in #1202
  • btf: Optimize string table for globally increasing offsets by @dylandreimerink in #1210
  • map: include full property diff in ErrMapIncompatible error string by @ti-mo in #1212
  • Add new ISAv4 instructions by @dylandreimerink in #1193
  • asm: cleanups for v4 ISA by @lmb in #1214
  • build(deps): bump mkdocs-material from 9.4.4 to 9.4.7 in /docs by @dependabot in #1197
  • build(deps): bump pymdown-extensions from 10.3 to 10.3.1 in /docs by @dependabot in #1196
  • build(deps): bump mkdocs-macros-plugin from 1.0.4 to 1.0.5 in /docs by @dependabot in #1195
  • build(deps): bump mkdocs-git-revision-date-localized-plugin from 1.2.0 to 1.2.1 in /docs by @dependabot in #1194
  • small speedups during elf loading by @paulcacheux in #1207
  • go.mod: update golang.org/x/sys to latest unreleased version by @tklauser in #1215
  • btf: Optimizing BTF parsing by merging readTypes and inflateRawTypes by @dylandreimerink in #1211

New Contributors

Full Changelog: v0.12.2...v0.12.3

v0.12.2

20 Oct 14:56
@lmb lmb
Compare
Choose a tag to compare

This release fixes unmarshaling from a map operation into a []byte, see #1180. This is a regression in v0.12.0.

We now also properly return an error when the value to unmarshal into is too small, see #1181. This behaviour has existed for a long time.

What's Changed

  • btf: stop accessing Spec.types from tests by @lmb in #1176
  • PinType: change from int to uint32 by @ti-mo in #1179
  • example: fix key type of xdp example by @BillyChen1 in #1178
  • sysenc: special case unmarshaling into []byte by @lmb in #1180
  • sysenc: refuse to unmarshal into undersized dst by @lmb in #1181

New Contributors

Full Changelog: v0.12.1...v0.12.2

v0.12.1

19 Oct 13:39
@lmb lmb
Compare
Choose a tag to compare

Fixes

Fix ProgramInfo.Instructions failing to decode ExtInfos

A recent change to ProgramInfo.Instructions failed to take a difference between kernel and ELF wire format into account. This meant that retrieving the instructions of a program from the kernel failed with a error.

See #1168, fixed by #1169.

Fix reading auxv on 32-bit platforms

The code to determine the kernel version from vdso has been broken on 32-bit platforms. Note that 32-bit arches are not officially supported to the fix is best effort.

See #1133, fixed by #1144.

What's Changed

  • internal: fix reading auxv on 32-bit platforms by @lmb in #1144
  • perf: clarify purpose of the package by @lmb in #1172
  • build(deps): bump urllib3 from 2.0.6 to 2.0.7 in /docs by @dependabot in #1170
  • btf: some inflateRawTypes simplifications by @lmb in #1173
  • docs: improve Makefile UX with pipenv sync by @ti-mo in #1174
  • btf,info: Fix bad instruction offset when parsing infos from kernel by @dylandreimerink in #1169

Full Changelog: v0.12.0...v0.12.1

v0.12.0

11 Oct 13:26
@lmb lmb
Compare
Choose a tag to compare

This release requires at least Go 1.20. It is mainly a bugfix release without any expected breaking changes. Map operations have also been made faster on the Go side.

Fixes

Correctly freeze .rodata maps

.rodata maps were frozen after programs referring to them were loaded, preventing the verifier from eliminating dead code based on the contents of the .rodata maps. Upgrade if you're running into odd verifier errors that don't occur on libbpf.

See #1159.

Fix fd leak in error path of kfunc support

The library leaked file descriptors when trying to use non-existent kfuncs.

See #1145.

Fix incorrect formatting of signed BTF enums with negative values

Signed enums with negative values were incorrectly formatted, leading to invalid output from bpf2go.

See #1155.

Additions

Map operations using common types are much faster

Keys and values used in map operations were indiscriminately passed through the encoding/binary package. There is now a fast path which skips this step when the in-memory layout of a type is equivalent to the output produced by binary.Write. The result is less allocations and CPU usage.

The optimization doesn't apply to per-CPU maps.

See #1062.

What's Changed

  • .semaphore: rename master to main by @lmb in #1092
  • improv: make errors more conclusive by @kwakubiney in #1071
  • elf: don't clamp PerfEventArray.MaxEntries at parse time by @lmb in #1094
  • internal/sys: make generate-btf and regenerate types by @florianl in #1105
  • all: fix typos in comments and tests by @alexandear in #1109
  • Add riscv64 Linux string by @hack3ric in #1110
  • go: require v1.20 by @lmb in #1112
  • testutils: log random seed to test output by @lmb in #1113
  • Ringbuf read on timeout by @RonFed in #1111
  • elf: don't set BPF_F_MMAPABLE on .kconfig by @lmb in #1128
  • implementation for hinting on possible error on map create with noPrealloc flag set by @kwakubiney in #1102
  • docker: rebuild ebpf-builder to include go 1.20 by @lmb in #1130
  • CI: test against 6.1 by @lmb in #1131
  • Add metadata to instructions returned by program info by @dylandreimerink in #1118
  • Support attaching fentry / fexit on user-defined programs by @jschwinger233 in #1097
  • map: zero-allocation operations for common types by @lmb in #1062
  • elf_reader_test: check for bpf_testmod before running TestInvalidKfunc by @ti-mo in #1135
  • CI: add github actions by @lmb in #1134
  • btf: work around missing ENUM64 support by @lmb in #1132
  • run-tests: support new packaging by @lmb in #1091
  • Update bpf2go and stringer go:generate statements across the codebase by @ti-mo in #1140
  • Drop LLVM 7 and 9 in favor of 11, 14 and 17 by @ti-mo in #1141
  • btf: clean up some small things by @lmb in #1139
  • CI: update apt repositories by @lmb in #1146
  • linker: fix fd leak in fixupKfuncs by @lmb in #1145
  • Project documentation website by @ti-mo in #1017
  • dependabot: add configuration, ignore indirect Python dependencies by @ti-mo in #1148
  • build(deps): bump mkdocs-material from 9.3.2 to 9.4.3 in /docs by @dependabot in #1150
  • bpf2go,collection: fix typos in test and comment by @alexandear in #1138
  • docs: remove partials override for content.html by @ti-mo in #1153
  • sys: small cleanups by @lmb in #1154
  • docs: copy shorthands to clipboard in getting-started by @ti-mo in #1158
  • testdata: drop the use of clang_major directive by @ti-mo in #1151
  • btf: fix writing out signed enums by @lmb in #1155
  • elf: assume BTF support in loader tests by @lmb in #1161
  • elf: Add support for map struct typedef by @anjmao in #1125
  • Freeze .rodata before trying to load programs by @ti-mo in #1159

New Contributors

Full Changelog: v0.11.0...v0.12.0

Support for __ksym and __kfunc

06 Jul 12:15
@lmb lmb
Compare
Choose a tag to compare

Breaking changes

This release requires at least Go 1.19.

github.com/cilium/ebpf/btf:

  • Handle.Spec() now takes a base *Spec argument.
    nil is accepted if the Handle is for vmlinux. If Handle is for a (split BTF) kernel module, pass the result of LoadKernelSpec().
  • NewHandle() now takes a *Builder instead of a *Spec.
    Loading BTF into the kernel now goes via a new Builder type. See the 'Additions' section below.

github.com/cilium/ebpf/link:

  • KprobeMultiOptions.Addresses: changed from []uint64 to []uintptr
    The old API didn't take 32-bit architectures into account.

Fixes

Work around the kernel rejecting some Datasec

The kernel erroneously rejects Datasec where a Typedef, Volatile, Const, Restrict or typeTag follows a Pointer, Struct, Union or Array. There is now a workaround in place, see #954.

Marshaling Map keys and values is more efficient

The marshaling code in the library now uses sync.Pool to re-use bytes.Buffer, which makes common map operations cheaper, see #1053.

CO-RE relocations are a lot more efficient

The CO-RE code now does much less copying of BTF types, which makes CO-RE relocation a lot faster, especially against large types such as sk_buff. See #1084.

Additions

__ksym (kfunc) support

It's now possible to use new-style BPF helpers aka kfunc with the library. Going forward, all new BPF 'helper' functionality in the kernel will be exposed as kfuncs, and new helpers won't be added. See #966 and #996.

__kconfig support

Tracing programs often need to vary their behaviour based on kernel configuration, such as CONFIG_HZ. Such references to __kconfig variables are now automatically populated from a variety of sources such as /proc/config.gz. Note that if you run your application implementing ebpf-go in a container, it will need access to the host's /boot on some distributions that don't ship /proc/config(.gz). (notably, Debian-based distros)

As a special mention, the LINUX_HAS_SYSCALL_WRAPPER kconfig is also supported. This allows writing portable kprobes using the BPF_KSYSCALL macro from bpf_tracing.h.

See #951, #960 and #995.

Overwritable perf buffer support

The perf reader now allows creating "overwritable" perf buffers, which always contain the most recent events in case the buffer ever gets full. This is in contrast to regular perf buffers which drop recent events if there is no more space. This is useful to implement "flight recorder" type functionality for events sourced from BPF.

See #953.

btf.Builder

Constructing custom BTF type blobs is now possible through the new btf.Builder type. Call btf.NewBuilder() to obtain one, Builder.Add(t btf.Type) to add any types you need, followed by btf.NewHandle(b btf.Builder) to load the types into the kernel. Builder also has a Marshal() method for serializing the type collection into the canonical BTF format so it can be stored for later use.

What's Changed

  • cs.RewriteConstants: define error MissingConstantsError by @alban in #904
  • internal: add Memoize by @lmb in #909
  • Fix ProgramInfo.MapIDs for programs without maps on old kernels by @lmb in #905
  • link: make KprobeMultiOptions.Addresses a []uintptr by @lmb in #913
  • btf: export API to create BTF from scratch by @lmb in #859
  • Update CI dependencies by @lmb in #916
  • map: replace hacky unsafe.Pointer conversion with PROT_NONE page by @lmb in #915
  • link: use strings.Map in sanitizeSymbol by @lmb in #919
  • btf: skip .data..percpu in TestRoundtripVMlinux by @lmb in #922
  • link: close perfEventLink.fd before perf event in Close() by @ti-mo in #918
  • map: ignore BPF_F_RDONLY_PROG for DevMap compatibility check by @aibor in #930
  • Remove deprecated +build Go build tags by @ti-mo in #888
  • link: use /sys/kernel/tracing if available by @spikat in #906
  • collection: work around excessive copying of kernel BTF by @alban in #920
  • sys: add fd leak tracing instrumentation by @ti-mo in #732
  • program: set name from object info for pinned file by @aibor in #932
  • Allow specifying the tracefs prefix in options by @brycekahle in #842
  • Fixed broken links pointing to Cilium doc by @PhilipSchmid in #942
  • link: use statfs for tracefs mount detection by @brycekahle in #944
  • btf: ensure that TypesIterator is not affected by Spec.Add by @lmb in #937
  • run-tests: allow using local kernel by @lmb in #952
  • require Go 1.19 by @lmb in #950
  • Support __kconfig macro for LINUX_KERNEL_VERSION by @eiffel-fl in #951
  • btf: work around kernel Datasec bug by @lmb in #954
  • link: always include requested symbol in kprobe creation errors by @ti-mo in #959
  • Fix expected fs type for /sys/kernel/debug/tracing by @brycekahle in #958
  • collection: ensure LINUX_KERNEL_VERSION variable is a btf.Int. by @eiffel-fl in #961
  • add tests for FSType and getTracefsPath by @lmb in #962
  • Link to maintainers file by @xmulligan in #957
  • docs: update various bits of documentation by @lmb in #936
  • fix some comments by @cuishuang in #972
  • link: new link from fd by @Asphaltt in #971
  • Add support for loong64 by @zhaixiaojuan in #975
  • Allow debugfs fstype for /sys/kernel/debug/tracing by @brycekahle in #976
  • Add error case for creating unspecified map type. by @tommyp1ckles in #974
  • perf: Add support for overwritable buffer. by @eiffel-fl in #953
  • update platformPrefix list with libbpf values by @paulcacheux in #982
  • link: document AttachCgroup and flags by @ti-mo in #980
  • perf: clean up tests by @lmb in #979
  • btf: remove Spec.firstTypeID() by @lmb in #990
  • elf_reader, linker: add kfunc support by @rgo3 in #966
  • CI: enable gofmt linter by @lmb in #992
  • link: use BPF links to attach Tracing and LSM prog types by @mmat11 in #837
  • bpf2go: spring cleaning by @lmb in #910
  • btf: fix off-by-one in Spec.TypeByID by @lmb in #993
  • link/executable: lazy load symbol table by @mmat11 in #991
  • btf: remove type alias for []Type by @lmb in #989
  • sys: introduce TypeID by @lmb in #912
  • elf: freeze .kconfig map by @lmb in #1000
  • btf: clean up handling of split BTF in loadRawSpec and inflateRawTypes by @lmb in #999
  • elf: use per-instruction metadata for .kconfig references by @lmb in #994
  • btf: avoid repeated kernel BTF copies in Handle.Spec by @lmb in #1001
  • docs: document API stability by @lmb in #1003
  • bpf2go: Fall back to default module name when debug.ReadBuildInfo is not available by @folbricht in #1004
  • update github.com/frankban/quicktest by @lmb in #1010
  • asm: update eBPF built-in functions by @florianl in #1011
  • ProgramInfo provides CreatedByUid by @zachcheu in #1006
  • btf: optimize Spec.Copy by @lmb in #1002
  • Add support for LINUX_HAS_SYSCALL_WRAPPER kconfig by @paulcacheux in #995
  • program: improve error handling in haveSyscallWrapper by @lmb in #1022
  • fix container-all make invocation by @paulcacheux in #1021
  • make: allow interrupting container-all with ctrl-c by @lmb in #1024
  • refactor tracefs event handling into an object by @lmb in #1023
  • Print out the relocation name in the error message by @kuroa-me in #1026
  • allow skipping kernel version check for feature tests if test skipped via env variable by @abhipranay in #1025
  • replace deprecated rand.Seed calls by @kwakubiney in #978
  • elf: support kernel ...
Read more