libbpf / libbpf-rs

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

Rename Program::get_fd_by_id() to fd_from_id() #932

Closed danielocfb closed 3 months ago

danielocfb commented 3 months ago

Rename Program::get_fd_by_id() to fd_from_id(). 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.