Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /proc/smaps parser #60

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

federico-sauter
Copy link

This PR introduces a parser for /proc/smaps that converts mapping attributes to a new mem_map structure. All standard attributes (e.g. Size, Rss, etc.) are parsed and converted using our custom utilities. The VmFlags attribute is captured as a raw string, with further processing deferred. Comprehensive tests for multiple mapping entries are included.

@federico-sauter
Copy link
Author

I had issues with the clang-format RawStringFormats stanza, so feel free to reformat!

@dtrugman
Copy link
Owner

Thanks @federico-sauter, I will take a look at that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants