Skip to content
Snippets Groups Projects
Commit c82641c5 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp_v2 : Fix for broken memstat.py"

parents 9aac60ec eb9a0d29
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,11 @@ class MemStats(RamParser):
# vmalloc area
self.calculate_vmalloc()
accounted_mem = total_free + total_slab + ion_mem + kgsl_memory + \
if type(ion_mem) is str:
accounted_mem = total_free + total_slab + kgsl_memory + \
self.vmalloc_size + other_mem
else:
accounted_mem = total_free + total_slab + ion_mem + kgsl_memory + \
self.vmalloc_size + other_mem
unaccounted_mem = total_mem - accounted_mem
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment