Commit Graph

11 Commits

Author SHA1 Message Date
Alyssa Ross
14006c6195 bpftools: add debug info 2023-03-25 09:34:57 +00:00
Alyssa Ross
916dba8790 bpftools: 5.19.12 -> 6.2; sync with linuxHeaders
bpftools used to use the same version and sources as linux_latest, but
this was changed in f12d2f016b ("bpftools: decouple version from
linux_latest"), because it caused too many rebuilds.

Since then, it has languished.  It came to my attention because
bpftool btf dump seems to be completely broken on recent kernels.
So, since it's a package that really needs to be kept up to date to be
compatible with the latest kernels, let's couple it to linuxHeaders
instead.  linuxHeaders updates already have to go through staging, so
we won't suffer from extra rebuilds like we did when it was coupled to
the latest kernel directly, which goes straight to master.
2023-03-19 09:57:57 +00:00
Jiajie Chen
eeda27d0f2 bpftools: fix build on ppc64le 2022-11-10 08:34:43 +08:00
Vladimír Čunát
f831be559a
bpftools: strip path to the binary from prints
Otherwise meson's find_program() can get confused by the output;
now in case of systemd build:
meson.build:1059:16: ERROR: Invalid version of program, need 'bpftool' ['>= 5.6.0'] found '01'.
2022-10-14 10:19:12 +02:00
R. Ryantm
22a90ce502 bpftools: 5.19.8 -> 5.19.12 2022-10-07 07:28:07 +00:00
Vladimír Čunát
192b63e225
bpftools: revert version to the one that's fully rebuilt
That's before 9f80f6bfa9 (PR #191364).
2022-09-18 08:26:51 +02:00
Vladimír Čunát
f12d2f016b
bpftools: decouple version from linux_latest
bpftools causes way too many rebuilds nowadays,
so its updates are not suitable for merging directly to nixpkgs master.
We want to update linux_latest faster than that.
2022-09-18 08:25:17 +02:00
Sergei Trofimovich
329b0da5ba bpftools: use binutils-2.38 for linux before 5.19
Without the change bpftools build fails on binutils-2.39 due to API change:

    jit_disasm.c:105:17: error: too few arguments to function 'init_disassemble_info'
      105 |                 init_disassemble_info(&info, stdout,
          |                 ^~~~~~~~~~~~~~~~~~~~~
2022-08-24 07:35:02 +01:00
Dominique Martinet
d6d039148d bpftool: replace libelf with elfutils
libelf is no longer maintained, use elfutils' libelf instead
2022-07-13 19:54:47 +09:00
Harrison Houghton
8997f8cc70 bpftools: fix
At some point the name of the doc-tool script changed and we stopped
patching up the shabang line. The new one is just scripts/bpf_doc.py.
2021-07-02 20:19:32 -04:00
Milan Pässler
c4bd0719e3
bpftools: build bpf_asm, bpf_dbg
I needed some other bpf-related tools located in the kernel source tree,
so I hijacked the bpftool package, renamed it to bpftools and added
those programs.
2021-05-03 00:59:50 +02:00