Hello: This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <daniel@xxxxxxxxxxxxx>: On Thu, 18 Nov 2021 09:40:54 -0800 you wrote: > Libbpf provided LIBBPF_MAJOR_VERSION and LIBBPF_MINOR_VERSION macros to > check libbpf version at compilation time. This doesn't cover all the > needs, though, because version of libbpf that application is compiled > against doesn't necessarily match the version of libbpf at runtime, > especially if libbpf is used as a shared library. > > Add libbpf_major_version() and libbpf_minor_version() returning major > and minor versions, respectively, as integers. Also add a convenience > libbpf_version_string() for various tooling using libbpf to print out > libbpf version in a human-readable form. Currently it will return > "v0.6", but in the future it can contains some extra information, so the > format itself is not part of a stable API and shouldn't be relied upon. > > [...] Here is the summary with links: - [v2,bpf-next] libbpf: add runtime APIs to query libbpf version https://git.kernel.org/bpf/bpf-next/c/7615209f42a1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html