Skip to content

v0.4.8-libbpf-1.2.0

Compare
Choose a tag to compare
@rafaeldtinoco rafaeldtinoco released this 03 May 03:20
· 133 commits to main since this release

What's Changed

This software release includes several changes and improvements. The most significant change is the bump to version 1.2.0 of the libbpf library. The changes in this release include:

  • The libbpfgo library now calls bpf_object__open_mem directly from Go instead of doing so via a C wrapper, which creates two new helper functions in libbpfgo.h: bpf_object_open_opts_new() and bpf_object_open_opts_free(). This change was made by @geyslan.
  • The logger now passes raw libbpf print output to the consumer, letting them decide how to format it, and the callback log level has been fixed. This logger improvement was made by @geyslan.
  • Several build improvements were made, including fixing the compile_commands.json generation (#316), turning clang into the default compiler (#317), and removing gcc-multilib as a dependency (#321).
  • Various linting chores and updates were made, including using clang-format-12 (#320), adding the revive linter (#320), and including all C and H files in the fmt command (#320).
  • The selftests should be used also as samples (#320), and the selftests no longer depend on UAPI headers (#321).
  • All package dependencies have been updated in the Go module (#323).

Full Changelog: v0.4.7-libbpf-1.1.0-41-gb2e29a1...v0.4.8-libbpf-1.2.0