Skip to content
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

linuxPackages.bpftrace: init at unstable-2018-10-27 #48496

Merged
merged 1 commit into from Nov 3, 2018

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Oct 16, 2018

Motivation for this change

Adds a nice new high-level Linux tracing tool: https://github.com/iovisor/bpftrace

There are no releases yet, so this is a git snapshot. The patches have upstream issues bpftrace/bpftrace#183 and bpftrace/bpftrace#184.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@rvl rvl changed the title linuxPackages.bpftrace: init at git-2018-10-16 linuxPackages.bpftrace: init at unstable-2018-10-27 Oct 28, 2018
@rvl
Copy link
Contributor Author

rvl commented Oct 28, 2018

bpftrace/bpftrace#183 is merged so I have updated the source git revisions and retested.
We can merge this now, thanks @volth.

@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 3, 2018

@GrahamcOfBorg build linuxPackages_4_14.bpftrace

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: linuxPackages_4_14.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27/man to /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27
shrinking /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27...
/nix/store/9mvflm48xsypnc7ygjs78ihn3v26znmi-bpftrace-unstable-2018-10-27

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages_4_14.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27/man to /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27
shrinking /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27...
/nix/store/s42riqc6amn9dcsf7l0g8yg09z90zb55-bpftrace-unstable-2018-10-27

@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 3, 2018

@GrahamcOfBorg build linuxPackages_4_18.bpftrace

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages_4_18.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27/man to /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27
shrinking /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27...
/nix/store/4nk41xn28qbw3vg2jzdssd169yla1hvg-bpftrace-unstable-2018-10-27

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: linuxPackages_4_18.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27/man to /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27
shrinking /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27...
/nix/store/sxi9ibslivaijih48czzh90z2ynfvjzz-bpftrace-unstable-2018-10-27

@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 3, 2018

@GrahamcOfBorg build linuxPackages_4_19.bpftrace

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages_4_19.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27/man to /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27
shrinking /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27...
/nix/store/6diwj03rk78980v09nd7f9vkvfyc17hc-bpftrace-unstable-2018-10-27

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: linuxPackages_4_19.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27/man to /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27
shrinking /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27...
/nix/store/shx56av3zpyl97i6drh1y4nzjj2yzi9a-bpftrace-unstable-2018-10-27

@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 3, 2018

@GrahamcOfBorg build linuxPackages_hardened.bpftrace

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: linuxPackages_hardened.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27/man to /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27
shrinking /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27...
/nix/store/wvjil9piixl84y1lb1bas8mvlaad0acf-bpftrace-unstable-2018-10-27

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: linuxPackages_hardened.bpftrace

Partial log (click to expand)

post-installation fixup
moving /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27/man to /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27
shrinking /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27/bin/bpftrace
gzipping man pages under /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27/bin
patching script interpreter paths in /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27
checking for references to /build in /nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27...
/nix/store/8gklv09nyd52kjdwcdwmcbcgwaw4ph5p-bpftrace-unstable-2018-10-27

@c0bw3b c0bw3b merged commit 721ab2e into NixOS:master Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants