This reverts commit e906eaca2b1a77fe9f8ba512484b4e914c303f11.
This above commit adjusted the log level of the missing page warning to
a debug levels only. However, these log can be useful in identifying
issues with dump-generating tools like makedumpfile. This revert will
increase their visibility back to normal.
The underlying issue was resolved by commit 2c69f93 ("gdb: disable
dt_debug lookup by gdb inside the vmcore").
Cc: Lianbo Jiang <lijiang(a)redhat.com>
Cc: Sourabh Jain <sourabhjain(a)linux.ibm.com>
Signed-off-by: Shivang Upadhyay <shivangu(a)linux.ibm.com>
---
memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/memory.c b/memory.c
index 400d31a..5cb8b58 100644
--- a/memory.c
+++ b/memory.c
@@ -2506,7 +2506,7 @@ readmem(ulonglong addr, int memtype, void *buffer, long size,
case PAGE_EXCLUDED:
RETURN_ON_PARTIAL_READ();
- if (CRASHDEBUG(8))
+ if (PRINT_ERROR_MESSAGE)
error(INFO, PAGE_EXCLUDED_ERRMSG, memtype_string(memtype, 0),
addr, type);
goto readmem_error;
--
2.50.0