Skip to content
Snippets Groups Projects
Commit 795198f7 authored by Patrick Daly's avatar Patrick Daly
Browse files

lrdp: Check for CONFIG_PAGE_OWNER_ENABLE_DEFAULT


Inform the user if this kconfig is not enabled when lrdp is run with
--parser-pagetracking option.

Change-Id: Ia1be4e48b5c23d3f77290dabde9f88510390cec2
Reported-By: default avatarKassey Li <yingangl@qti.qualcomm.com>
parent 2051c119
No related branches found
No related tags found
No related merge requests found
...@@ -199,6 +199,11 @@ class PageTracking(RamParser): ...@@ -199,6 +199,11 @@ class PageTracking(RamParser):
print_out_str('CONFIG_PAGE_OWNER not defined') print_out_str('CONFIG_PAGE_OWNER not defined')
return return
if self.ramdump.kernel_version >= (4, 4):
if not self.ramdump.is_config_defined('CONFIG_PAGE_OWNER_ENABLE_DEFAULT'):
print_out_str('CONFIG_PAGE_OWNER_ENABLE_DEFAULT not defined')
return
if (self.ramdump.kernel_version >= (3, 19, 0)): if (self.ramdump.kernel_version >= (3, 19, 0)):
if self.ramdump.is_config_defined('CONFIG_SPARSEMEM'): if self.ramdump.is_config_defined('CONFIG_SPARSEMEM'):
mem_section = self.ramdump.read_word('mem_section') mem_section = self.ramdump.read_word('mem_section')
......
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