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

Fix parsing of /proc/pid/maps #2025

Merged
merged 1 commit into from
Nov 2, 2018

Conversation

zilder
Copy link
Contributor

@zilder zilder commented Nov 2, 2018

PR #2003 broke /proc/pid/maps parsing. Particularly I have the following mapping:

562bd52ee000-562bd5397000 r--p 00000000 103:03 49684469                  /home/zilder/pg10/bin/postgres
562bd5397000-562bd59cb000 r-xp 000a9000 103:03 49684469                  /home/zilder/pg10/bin/postgres
562bd59cb000-562bd5c58000 r--p 006dd000 103:03 49684469                  /home/zilder/pg10/bin/postgres
...

which can't be parsed by suggested format string as both major and minor device numbers can contain up to 3 characters.

@palmtenor
Copy link
Member

[buildbot, ok to test]

@yonghong-song yonghong-song merged commit 845225f into iovisor:master Nov 2, 2018
CrackerCat pushed a commit to CrackerCat/bcc that referenced this pull request Jul 31, 2024
Fix parsing of /proc/pid/maps
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.

3 participants