Netflix / bpftop

bpftop provides a dynamic real-time view of running eBPF programs. It displays the average runtime, events per second, and estimated total CPU % for each program.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sortable columns

jfernandez opened this issue · comments

bpftop should let you sort the entries by column, in ascending or descending order. This would require us to track the selected program by its ID rather than its index in the items vec.

Should the sort be applied to only a single column at a time, or would it be more useful to have each column track it's own sort state (asc/desc)?

Only a single column at the time

I just submitted a PR #26 for this feature that's ready for review. 🙂

Merged! Thank you again for your contribution. I'm releasing v0.4.0 with this feature.