Skip to content
Snippets Groups Projects
Commit a11b2a46 authored by c_ankurb's avatar c_ankurb
Browse files

lrdp_v2 : Add checks for slabsummary

if CONFIG_SLUB_DEBUG_ON is defined then
run the slabsummary

Change-Id: Icc564c83107c1ebdf385eab434256cd71f031bc7
parent 975731e3
No related branches found
No related tags found
No related merge requests found
...@@ -145,5 +145,8 @@ class Slabinfo_summary(RamParser): ...@@ -145,5 +145,8 @@ class Slabinfo_summary(RamParser):
def parse(self): def parse(self):
slab_out = self.ramdump.open_file('slabsummary.txt') slab_out = self.ramdump.open_file('slabsummary.txt')
self.print_slab_summary(slab_out) if(self.ramdump.is_config_defined('CONFIG_SLUB_DEBUG_ON')):
self.print_slab_summary(slab_out)
else:
slab_out.write('CONFIG_SLUB_DEBUG_ON is disabled in this build')
slab_out.close() slab_out.close()
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