Commit Graph

55 Commits

Author SHA1 Message Date
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
Joerg Thalheim
59382564ff bcc: fix install 2017-10-24 22:24:08 +01:00
Joerg Thalheim
8ee94216d3 bcc: 0.3.0 -> 0.4.0 2017-10-24 22:14:50 +01:00
Joerg Thalheim
3db9841d34 bcc: fix relocation bug downgrading to llvm 3.9
https://github.com/iovisor/bcc/issues/1276

fixes #29913
2017-09-30 00:33:14 +01:00
Robin Gloster
46a25ea7ea
linuxPackages.bcc: fix using wrapProgram on .c file 2017-08-09 19:45:05 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00