libbpf / libbpf-rs

Minimal and opinionated eBPF tooling for the Rust ecosystem
Other
773 stars 135 forks source link

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

Closed danielocfb closed 2 months ago

danielocfb commented 2 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.