Commit Graph

7 Commits

Author SHA1 Message Date
Dominique Martinet
b70ffe64df bpftrace: 0.20.4 -> 0.21.2
Remove the custom patches that are no longer needed, and update the ones
that still are to fetchpatch of merged PRs (the files no longer apply
because of indentation changes)
2024-07-19 20:13:41 +09:00
Dominique Martinet
75316f49bb bpftrace: only print kernel headers cannot be found warning on error
need more time to figure how to deal with kheaders cleanly
2024-06-26 08:36:06 +09:00
Dominique Martinet
0bf9c7660f bpftrace: fix tcp*.bt/runqlat.bt scripts
tcp*.bt scripts tried to include glibc headers, which didn't work on
nixos because bpftrace tried to call clang-major with some options to
get the paths, but we never told it where to find it.
Give bpftrace the path directly instead of giving it a path to clang.

runqlat.bt doesn't work with glibc headers and requires kernel headers
which are no longer extracted, just provide its value.

Note the default clang output also had some clang-internal headers, but
these seem to be included anyway through libclang API without having to
give them here, so we only pass the glibc ones.

While here:
- also backport another bpftrace patch that made the tcp*.bt tools to
actually not require these includes
- and add tests that we can include these.

Co-authored-by: Arian van Putten <arian.vanputten@gmail.com>
2024-06-23 21:07:42 +09:00
Sigmanificient
cc8120d3ff pkgs/by-name: remove unuseed fetchpatch arguments 2024-05-24 02:49:58 +02:00
R. Ryantm
a1c37a6a58 bpftrace: 0.20.3 -> 0.20.4 2024-05-21 12:24:10 +00:00
Dominique Martinet
c87348b2c1 bcc/bpftrace: add missing platforms=linux
bcc and bpftrace depend on bpf which is linux-specific
2024-05-14 14:38:09 +09:00
Dominique Martinet
dbe53bea95 bpftrace: migrate to by-name
The package is left in all-packages to allow setting llvmPackages more
easily
2024-05-12 19:05:44 +09:00