eutils-rs

Crates.ioeutils-rs
lib.rseutils-rs
version0.1.6
sourcesrc
created_at2022-06-09 02:33:17.455302
updated_at2022-08-05 13:13:28.403804
descriptionCommonly used toolsets
homepagehttps://github.com/chengshuyi/eutils-rs
repositoryhttps://github.com/chengshuyi/eutils-rs
max_upload_size
id602355
size67,071
(chengshuyi)

documentation

README

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
Commit count: 31

cargo fmt