Commit Graph

53 Commits

Author SHA1 Message Date
Yifei Sun
c22d6f248b libbpf: 1.6.3 -> 1.7.0
patch can be dropped as
https://github.com/libbpf/libbpf/pull/920
was merged
2026-04-15 14:18:07 +02:00
nixpkgs-ci[bot]
e217c74eac Merge staging-next into staging 2026-02-06 18:16:24 +00:00
R. Ryantm
de16d46c1f libbpf: 1.6.2 -> 1.6.3 2026-02-04 09:27:06 +00:00
Markus Sütter
196b385317 various: add meta.identifier.cpeParts to a batch of packages 2026-02-02 09:22:55 +01:00
Stefan Frijters
97f1e13ce1 libbpf: fix build with structuredAttrs 2025-12-15 10:56:19 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Yureka
00864e5fe5 libbpf: fix sysinfo redefinition with musl (#436237) 2025-08-25 22:46:17 +02:00
Yureka
73468347b5 libbpf: 1.6.1 -> 1.6.2
Diff: https://github.com/libbpf/libbpf/compare/v1.6.1...v1.6.2
2025-08-23 12:24:39 +02:00
R. Ryantm
429b22f942 libbpf: 1.5.1 -> 1.6.1 2025-07-23 14:29:38 +00:00
R. Ryantm
0f51f08127 libbpf: 1.5.0 -> 1.5.1 2025-05-20 01:42:28 +00:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
R. Ryantm
0ec04bb2ba libbpf: 1.4.7 -> 1.5.0 2024-12-07 23:22:35 +00:00
R. Ryantm
0e190616fa libbpf: 1.4.6 -> 1.4.7 2024-10-30 10:50:30 +00:00
R. Ryantm
22813e9165 libbpf: 1.4.5 -> 1.4.6 2024-09-04 04:15:04 +00:00
Sergei Trofimovich
17726eb8bb libbpf: 1.4.3 -> 1.4.5
Changes:
- https://github.com/libbpf/libbpf/releases/tag/v1.4.4
- https://github.com/libbpf/libbpf/releases/tag/v1.4.5
2024-07-12 10:19:11 +01:00
R. Ryantm
de35337dcc libbpf: 1.4.2 -> 1.4.3 2024-06-04 06:12:07 +00:00
Dominique Martinet
d450529c1d libbpf: 1.4.1 -> 1.4.2 2024-05-11 18:17:25 +09:00
R. Ryantm
bd07c3b470 libbpf: 1.4.0 -> 1.4.1 2024-05-02 01:53:35 +00:00
Vladimír Čunát
e5dfc6856d Merge #300828: libbpf: 1.3.0 -> 1.4.0
...into staging
2024-04-10 08:32:11 +02:00
Peder Bergebakken Sundt
bfe1b16f15 libbpf: update meta.description 2024-04-04 21:42:18 +02:00
R. Ryantm
24f6dc164f libbpf: 1.3.0 -> 1.4.0 2024-04-02 01:20:01 +00:00
Sandro
f35ab6dee7 Merge pull request #230368 from risicle/ris-libbpf-passthru-tests
libbpf: add some key reverse dependencies to `passthru.tests`
2024-01-28 19:14:27 +01:00
Dominique Martinet
ea61bb8011 libbpf: 1.2.2 -> 1.3.0 2023-11-24 19:51:51 +09:00
Dominique Martinet
da60cdbcb7 libbpf: 1.2.0 -> 1.2.2
1.2.1: Bug fix release:

Single bug fix (#1) that fixes regression in `perf` tool caused by libbpf
resetting its custom catch-all `SEC()` handler on explicit
`bpf_program__set_type()` call.

Given setting custom `SEC()` handlers is rarely used and pretty
esoteric feature of libbpf, most users should not be affected.

1.2.2: One more fix:

 - Fix (#2) possible double-free in USDT-related libbpf code, which
happens when libbpf runs out of space in `__bpf_usdt_specs` map due
to having too many unique USDT specs. Running out of space can be
mitigated by bumping up `BPF_USDT_MAX_SPEC_CNT` define before including
`bpf/usdt.bpf.h` header in BPF-side code.
This will prevent the double-free as a side effect (and will make it
possible to successfully attach all requested USDTs), which is a
recommended work-around for libbpf versions prior to v1.2.2.

Link: e4d3827e5d #1
Link: f117080307 #2
2023-07-14 15:15:45 +09:00
Robert Scott
4ddb5778a3 libbpf: add some key reverse dependencies to passthru.tests 2023-05-06 17:45:28 +01:00
Dominique Martinet
2376eb8d7e libbpf: 1.1.0 -> 1.2.0 2023-05-06 06:40:03 +09:00
R. Ryantm
a16c64bf42 libbpf: 1.0.1 -> 1.1.0 2022-12-24 17:53:04 +00:00
Dominique Martinet
3cb0c6624c libbpf: add libbpf_1 for libbpf 1.0.1
libbpf 1.x breaks too many packages to do a hard transition: just keep
both packages for a while longer.

See https://github.com/libbpf/libbpf/issues/590 for discussion with upstream
2022-09-30 07:18:52 +09:00
R. Ryantm
ce7e118975 libbpf: 0.8.0 -> 0.8.1 2022-07-28 20:03:16 +00:00
Dominique Martinet
9f75123e00 libbpf: 0.7.0 -> 0.8.0 2022-06-10 06:38:55 +09:00
Sandro Jäckel
bc7102133f libbpf: remove unused with builtins 2022-04-16 02:22:48 +02:00
Fabian Möller
1eb890b176 libbpf: Fix src hash
The v0.7.0 tag seems to have been altered.

Follow-up: #159173
2022-02-17 15:17:06 +01:00
Dominique Martinet
6108c057dd libbpf: 0.6.1 -> 0.7.0
- remove patch that had been merged since
- install all uapi headers, not just btf, as new version of bcc
  requires some more
2022-02-11 17:00:00 +09:00
Christian Kampka
93a83a761a libbpf: Fix musl build
See https://github.com/libbpf/libbpf/pull/41 for details.
2022-01-10 21:50:05 +01:00
zowoq
c9044f1de1 libbpf: fix passthru.tests
b5158636c8
2021-12-26 11:37:58 +10:00
Sascha Grunert
b5158636c8 libbpf: 0.6.0 -> 0.6.1
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-12-13 10:28:42 +01:00
Dominique Martinet
78a4ea51e4 libbpf: install linux/btf.h
This installs the linux/btf.h header in libbpf, which is necessarily
compatible with bpf/btf.h
Note that we also ship the linux header's linux/btf.h with glibc,
but explicit buildInputs should have priority over default headers so
hopefully this one will always be used.
2021-12-04 21:12:07 +09:00
Sascha Grunert
089fdb8dfa libbpf: 0.5.0 -> 0.6.0
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-12-02 09:28:23 +01:00
Sascha Grunert
4dde9c38a4 libbpf: 0.4.0 -> 0.5.0
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-10-25 12:12:59 +02:00
Andreas Rammhold
1bfa488b1c libbpf: 0.1.1 -> 0.4.0 2021-09-12 23:44:14 +02:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08: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
Vladimír Čunát
1838227d81 libbpf: 0.1.0 -> 0.1.1
This adds just a single tiny bugfix commit.
https://github.com/libbpf/libbpf/releases/tag/v0.1.1
2020-09-30 18:41:19 +02:00
Vladimír Čunát
16124457d0 libbpf: fix incomplete linkage
Also use a better reallocarray fix.
2020-09-09 17:21:26 +02:00
Vladimír Čunát
2c145f4588 libbpf: fixup build after the last staging iteration
... and add myself into meta.maintainers :-)
2020-09-07 18:44:17 +02:00
Austin Seipp
5e91e66591 libbpf: 0.0.9 -> 0.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-08-31 17:47:26 -05:00
R. RyanTM
f3c08b34e3 libbpf: 0.0.8 -> 0.0.9 2020-06-26 13:38:16 +00:00
R. RyanTM
646fc239d3 libbpf: 0.0.7 -> 0.0.8 2020-05-09 08:57:25 +02:00