fix a bug that broke the activity ring
This commit is contained in:
parent
791bb66087
commit
8b3e0196b7
@ -94,7 +94,8 @@ def get_mappings(pid, ignored_shared_mappings):
|
|||||||
shared_clean = int(lines[line_idx + 3][14:-3])
|
shared_clean = int(lines[line_idx + 3][14:-3])
|
||||||
shared_dirty = int(lines[line_idx + 4][14:-3])
|
shared_dirty = int(lines[line_idx + 4][14:-3])
|
||||||
|
|
||||||
mapping = Mapping(name, private, shared)
|
mapping = Mapping(name, private_clean + private_dirty,
|
||||||
|
shared_clean + shared_dirty)
|
||||||
mappings.append (mapping)
|
mappings.append (mapping)
|
||||||
|
|
||||||
return mappings
|
return mappings
|
||||||
|
Loading…
Reference in New Issue
Block a user