7 releases

0.1.6 Aug 5, 2022
0.1.5 Aug 1, 2022
0.1.4 Jul 2, 2022
0.1.3 Jun 15, 2022

#89 in #bpf

43 downloads per month

GPL-3.0 license

24KB
706 lines

eutils-rs

some useful ebpf utils tools.

timestamp

Mainly used to obtain realtime or monotonic time. And get the difference between the two, this difference eliminates the effect of system call delay and is more accurate.

See examples/timestamp.rs for more information.

latency distribution

We often obtain delay information, such as scheduling delay, network delay, etc., through the ebpf program. DelayDistribution module provides the delay distribution function, which is convenient for us to quickly display the delay information.

See examples/delay_distribution.rs for more information.

helpers

  • bump_memlock_rlimit

net

  • ProtocolType: Rust native proto type.
  • TcpState: Rust native tcp state.

proc/pid

  • proc/pid_fd
  • proc/pid_ns

Dependencies

~5–16MB
~172K SLoC