Commit Graph

28 Commits

Author SHA1 Message Date
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
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
870ad88b6c libbpf: disable auto updates for 0.8 branch 2022-10-08 17:35:57 +10: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
Orivej Desh
1aeaf9387a libbpf: 0.0.3pre114 -> 0.0.7
Fixes #82153
2020-03-09 23:25:57 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Austin Seipp
dee55b0e66
libbpf: init at 0.0.3pre114_672ae75
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2019-05-21 13:06:36 -05:00