eminence / procfs

Rust library for reading the Linux procfs filesystem
Other
362 stars 106 forks source link

Implement smaps_rollup #214

Closed TaborKelly closed 1 year ago

TaborKelly commented 1 year ago

smaps_rollup is a lot faster than adding up all the smaps but is only available in newer kernels.

eminence commented 1 year ago

LGTM, thanks!

TaborKelly commented 1 year ago

@eminence, thanks again for the quick help to get this merged in. FYI, we used it to write and then open source this simple but very helpful tool: https://gitlab.com/racepointenergy/tools/rps