Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tracing: update log_p2p_traffic.bt bpftrace script
bpftrace doesn't have any functions as of writing this commit, so we have to do a ternary lookup hack that introduces a bit of code duplication. Alternatively you could try to use a bpf map, but this uses a lot of stack space in bpftrace which makes it harder to run this script effectively. Signed-off-by: William Casarin <jb55@jb55.com>
- Loading branch information