-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ebpf-exporter: init at 2.4.1 and add module #301253
base: master
Are you sure you want to change the base?
Conversation
Result of |
0d9f010
to
39d9b8a
Compare
A module (and ideally a test) for that would be nice. |
5ee60c0
to
d4b2e0d
Compare
@Ma27 Should be good to go now. |
4b1b145
to
3162f60
Compare
4f28a4a
to
859e6ca
Compare
vendorHash = "sha256-2PokkJjsDKdM6QZq/qbZ9DOeeIWUsTbShmnop70xJhM="; | ||
|
||
postPatch = '' | ||
substituteInPlace examples/Makefile \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why exactly are examples compiled in?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because these are the BPF programs which make the exporter useful.
859e6ca
to
51f30d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't build on latest nixpkgs since #316761 get merged.
clang: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'bpf'
zerocallusedregs
is not available for bpf target
It should be disabled by adding hardeningDisable = [ "zerocallusedregs" ];
Description of changes
Adds https://github.com/cloudflare/ebpf_exporter at 2.4.1, tested with biolatency eBPF program from upstream.
Also adds a module for the exporter.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.