mbox series

[bpf-next,0/3] bpftool: Switch to independent versioning scheme

Message ID 20220131211136.71010-1-quentin@isovalent.com (mailing list archive)
Headers show
Series bpftool: Switch to independent versioning scheme | expand

Message

Quentin Monnet Jan. 31, 2022, 9:11 p.m. UTC
Hi, this set aims at updating the way bpftool versions are numbered.
Instead of copying the version from the kernel (given that the sources for
the kernel and bpftool are shipped together), introduce an independent
versioning scheme. We start at v6.0.0 - incrementing the major version
number - and the idea is to update this number from time to time, as new
features or bug fixes make their way into bpftool. Please refer to the
description of the third commit for details on the motivations.

The patchset also adds the number of the version of libbpf that was used to
compile to the output of "bpftool version".

Quentin Monnet (3):
  libbpf: Add "libbpversion" make target to print version
  bpftool: Add libbpf's version number to "bpftool version" output
  bpftool: Update versioning scheme

 tools/bpf/bpftool/Documentation/common_options.rst | 3 ++-
 tools/bpf/bpftool/Makefile                         | 7 ++++---
 tools/bpf/bpftool/main.c                           | 3 +++
 tools/lib/bpf/Makefile                             | 3 +++
 4 files changed, 12 insertions(+), 4 deletions(-)