News for hackers. Stuff that matters.
Re:A thorough introduction to bpftrace by 1vuio0pswjnm7 on Monday August 09, 2021 @05:53PM (#28122772)
bpftrace requires about 318 MB to install

strace requires less than 2 MB

Bigger is better :)

Re:A thorough introduction to bpftrace by Sevan777 on Monday August 09, 2021 @06:44PM (#28123226)
Standalone binary the project publishes is 45MB. https://github.com/iovisor/bpftrace/releases/download/v0.13....
Re:A thorough introduction to bpftrace by PennRobotics on Monday August 09, 2021 @06:46PM (#28123245)
I just tried two commands.

apt install bpftrace: needs 1,201 kB

apt remove strace: frees 1,792 kB

Re:A thorough introduction to bpftrace by 1vuio0pswjnm7 on Monday August 09, 2021 @07:49PM (#28123722)
Need to look at the bpftrace dependencies

For example, is clang already installed

Re:A thorough introduction to bpftrace by 1vuio0pswjnm7 on Monday August 09, 2021 @07:50PM (#28123734)
How large is strace standalone binary

45MB is still huge; its not even statically-linked

The largest programs I use, even when statically-linked against musl are all under 6MB

Re:A thorough introduction to bpftrace by 1vuio0pswjnm7 on Tuesday August 10, 2021 @06:10PM (#28135337)
And I can count on one hand the number of programs I use that are over 1MB