fix handling of new fields in smaps
reported by Loic Minier
This commit is contained in:
parent
e570a14243
commit
2346c2b075
1 changed files with 1 additions and 1 deletions
2
smem
2
smem
|
|
@ -149,7 +149,7 @@ def pidmaps(pid):
|
|||
if f[0].startswith('Pss'):
|
||||
seen = True
|
||||
maps[start][f[0][:-1].lower()] = int(f[1])
|
||||
else:
|
||||
elif '-' in f[0] and ':' not in f[0]: # looks like a mapping range
|
||||
start, end = f[0].split('-')
|
||||
start = int(start, 16)
|
||||
name = "<anonymous>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue