Commit Graph

60 Commits

Author SHA1 Message Date
Dominique Martinet
184dfbc8a1
bcc: 0.26.0 -> 0.28.0 (#240520)
* bcc: 0.26.0 -> 0.28.0

update now calls setuptool through cmake which installs an egg file,
this apparently requires setting a PYTHONPATH which includes the
output dir to work.

While here, make it clear we only support python3 as 'python' in
nixpkgs is still python2 even if it's no longer usable...

* bcc/bpftrace: use llvm 16
2023-07-17 20:10:38 +02:00
K900
d5180de754 bcc: disable libdebuginfod integration
See https://github.com/iovisor/bpftrace/pull/2413
2023-04-26 12:57:41 +03:00
Jörg Thalheim
af375039f1 linuxPackages.bcc: 0.25.0 -> 0.26.0
Diff: https://github.com/iovisor/bcc/compare/v0.25.0...v0.26.0
2022-12-18 00:10:29 +01:00
Dominique Martinet
c35e6853fd bcc: 0.24.0 -> 0.25.0 2022-12-01 12:51:24 +09:00
Alexander Shpilkin
427ae9a1e1 bcc: fix path in pkg-config file 2022-09-07 21:44:36 +03:00
Klemens Nanni
55fc0010c4 bcc: Split manuals into own output
This should avoid manual cache/database rebuilds whenever tools alone
change.

Our bpftrace does the same already.
2022-06-23 20:25:20 +02:00
Dominique Martinet
824d26d395 bcc: 0.23.0 -> 0.24.0
Also add an extra test in nixos/tests/bpf.nix for BTF usage in bpftrace

Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2022-02-11 20:37:39 +09:00
Jörg Thalheim
ecb6200c7b bcc: fix aarch64 test 2021-12-30 06:40:02 +01:00
Dominique Martinet
559fe43665 nixos/tests: add bpf test
test bcc and bpftrace briefly
2021-12-04 21:12:07 +09:00
Dominique Martinet
2318433b73 bcc: remove submodule
reverting libbpf back to 0.5.0 fixes bcc compilation with our libbpf
This also shows this was a libbpf bug rather than a bcc problem...
2021-12-04 21:12:07 +09:00
Dominique Martinet
efe6967e93 bcc: move from linux-kernels packages to normal packages
bcc doesn't really need kernel itself, it just cares about module path.

It's actually better to use /run/booted-system/kernel-modules/lib/modules
for two reasons:
 - no need to rebuild bcc for each new kernel
 - can use a newer bcc with a booted kernel that doesn't match the current
   system
2021-12-04 21:07:09 +09:00
Jörg Thalheim
527ebd8530 linuxPackages.bcc: 0.22.0 -> 0.23.0 2021-11-16 11:00:14 +01:00
Artturi
73951697f0
Merge pull request #139867 from Mic92/bcc 2021-11-01 11:03:55 +02:00
Jörg Thalheim
a7ad7f05bd linuxPackages.bcc: 0.20.0 -> 0.22.0 2021-09-29 11:49:46 +02:00
Jörg Thalheim
3449264436 Revert "linuxPackages.bcc: fix build"
This reverts commit 38e5d82d59529e96b55f8a33a954d481d77287a1.
2021-09-20 19:37:19 +01:00
Ryan Burns
88b8df5c21 linuxPackages.bcc: fix build
Use Debian downstream patch to fix compilation against linuxHeaders < 5.14.

Our linux headers exposed by glibc are still at 5.12. We should be able
to remove this patch once our linuxHeaders are bumped to 5.14+.
2021-09-18 16:26:16 -07:00
Vladimír Čunát
5663b2b2d3
Merge branch 'master' into staging-next
(a trivial conflict in transmission)
2021-05-09 09:31:55 +02:00
Jonathan Ringer
a748e4f47e linuxPackages.bcc: fix llvm build 2021-05-08 18:13:45 -07:00
R. RyanTM
bf003c4670 linuxPackages.bcc: 0.19.0 -> 0.20.0 2021-05-08 15:09:26 -07:00
Dominique Martinet
e342543f88 bcc: devendor libbpf 2021-03-31 12:55:44 +09:00
Jörg Thalheim
95c922ed64
linuxPackages.bcc: 0.18.0 -> 0.19.0 2021-03-20 17:49:34 +01:00
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Jörg Thalheim
dc77fb81a7
linuxPackages.bcc: 0.17.0 -> 0.18.0 2021-01-12 13:08:15 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jörg Thalheim
5a540a8996
linuxPackages.bcc: 0.16.0 -> 0.17.0 2020-11-06 10:06:34 +01:00
Mario Rodas
f3031298b2 chipsec: disable on non-Linux 2020-06-17 04:20:00 +00:00
Austin Seipp
58bb6bf73a
linuxPackages.bcc: patch trace buffer bug in python library
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-08-31 17:54:19 -05:00
Jörg Thalheim
54dedd26dc
linuxPackages.bcc: 0.15.0 -> 0.16.0 2020-08-27 11:45:56 +01:00
R. RyanTM
9443bd9336 linuxPackages_hardened.bcc: 0.14.0 -> 0.15.0 2020-06-30 23:49:30 +00:00
R. RyanTM
bd1846f7f4 linuxPackages_hardened.bcc: 0.13.0 -> 0.14.0 2020-05-04 13:33:51 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
46ec52f329 buildPython*: use pname 2020-03-30 17:07:41 +02:00
Jörg Thalheim
0bfada7dda
bcc: 0.12.0 -> 0.13.0 2020-03-09 11:47:35 +00:00
Jörg Thalheim
ecbe18dd3b
bcc: 0.11.0 -> 0.12.0
- fix bash shebangs
- fix reference to $out/share/bcc/tools/lib when scripts are started from $out/bin
- use submodules to download libbpf
2019-12-11 05:50:56 +00:00
Austin Seipp
288c2de3c5
linuxPackages.bcc: 0.10.0 -> 0.11.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-10-14 10:49:32 -05:00
Ivan Kozik
16a1a4c589 bcc: 0.9.0 -> 0.10.0 2019-06-10 17:48:56 -07:00
Austin Seipp
0a4cd28f84
linuxPackages.bcc: 0.8.0 -> 0.9.0
Requires a minor tweak to the deadlock detector patch (the file was
renamed in the upstream repo).

bcc now also wants a copy of libbpf, which it doesn't have in the source
release tarball. Clone a copy from GiHub that's synchronized with the
release, and put it in place.

Tested on Linux 5.1 (with bpftrace as well).

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-06 01:42:02 -05:00
Will Dietz
a55c66c6ae linuxPackages.bcc: fix build
flex is needed as buildInput too (headers, libfl),
recent strictDeps change in python caught this.

Fixes #56724
2019-03-04 12:02:21 -06:00
Will Dietz
91f2eb73ae bcc: 0.7.0 -> 0.8.0 2019-01-13 17:35:44 -06:00
R. RyanTM
29cdfe0218 linuxPackages.bcc: 0.6.1 -> 0.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bcc/versions
2018-09-07 00:54:22 -07:00
R. RyanTM
9076458c1e linuxPackages.bcc: 0.6.0 -> 0.6.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bcc/versions.
2018-08-17 06:43:04 -07:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Austin Seipp
7d7d27aca6 linuxPackages.bcc: 0.5.0 -> 0.6.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-07-14 12:50:20 -05:00
Jörg Thalheim
c52dff6d84 linuxPackages.bcc: make it useable as a python library 2018-05-29 14:30:00 +01:00
Austin Seipp
4166691813 bcc: add systemtap dep, and fix build revision
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-02-20 14:02:04 -06:00
Daiderd Jordan
db7e0aeb42
llvm-packages: cleanup 2018-02-06 23:38:46 +01:00
Jörg Thalheim
14f3eb2dfd linuxPackages.bcc: 0.4.0 -> 0.5.0 2018-01-05 10:02:25 +01:00
Joerg Thalheim
6ec3bf3a77 bcc: add myself as maintainer 2017-11-04 08:58:04 +00:00
Joerg Thalheim
292f23c4b5 bcc: fix module installation
BCC_KERNEL_MODULES_DIR should have not been removed
2017-11-04 08:57:20 +00:00
Tuomas Tynkkynen
b2093d4611 linuxPackages.bcc: Fix quoting for older Nix versions
Issue #31179.
2017-11-03 13:11:36 +02:00