libbpf / libbpf-rs

Minimal and opinionated eBPF tooling for the Rust ecosystem
Other
788 stars 138 forks source link

Rename Program::get_id_by_fd() to id_from_fd() #931

Closed danielocfb closed 3 months ago

danielocfb commented 3 months ago

Rename Program::get_id_by_fd() to id_from_fd(). The "by" terminology is weird at best and seems to make little grammatical sense. Keep the former around as deprecated until the next minor version bump.