apt-get install bpftrace on Debian installs the executable /usr/bin/bpftrace whereas various scripts *.py assume /usr/local/bin/bpftrace.
The discrepancy should be solved by employing the generic shebang #!/usr/bin/env bpftrace instead of #!/usr/local/bin/bpftrace througout. Please let me know if I should submit a corresponding PR (following PR #26).
apt-get install bpftrace
on Debian installs the executable/usr/bin/bpftrace
whereas various scripts*.py
assume/usr/local/bin/bpftrace
.The discrepancy should be solved by employing the generic shebang
#!/usr/bin/env bpftrace
instead of#!/usr/local/bin/bpftrace
througout. Please let me know if I should submit a corresponding PR (following PR #26).