diff options
| author | Nathan Chancellor <[email protected]> | 2022-02-01 20:56:21 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-02-02 10:19:33 +0000 |
| commit | 613fe169237785a4bb1d06397b52606b2967da53 (patch) | |
| tree | bd040d3f8b8891c73747c1cbe11f0220f7898856 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | MAINTAINERS: Add scripts/pahole-flags.sh to BPF section (diff) | |
| download | kernel-613fe169237785a4bb1d06397b52606b2967da53.tar.gz kernel-613fe169237785a4bb1d06397b52606b2967da53.zip | |
kbuild: Add CONFIG_PAHOLE_VERSION
There are a few different places where pahole's version is turned into a
three digit form with the exact same command. Move this command into
scripts/pahole-version.sh to reduce the amount of duplication across the
tree.
Create CONFIG_PAHOLE_VERSION so the version code can be used in Kconfig
to enable and disable configuration options based on the pahole version,
which is already done in a couple of places.
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions
