[Skiboot] [PATCH 1/2] config: Get rid of DEBUG_MALLOC

Andrew Donnellan andrew.donnellan at au1.ibm.com
Tue Feb 26 13:22:23 AEDT 2019


Since the initial release of skiboot, we've #defined DEBUG_MALLOC to 1.

Also since the initial release of skiboot, DEBUG_MALLOC has been referenced
absolutely nowhere.

Get rid of it.

Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
---
 doc/overview.rst | 3 +--
 include/config.h | 3 ---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/doc/overview.rst b/doc/overview.rst
index 2d09e05801de..63667013e447 100644
--- a/doc/overview.rst
+++ b/doc/overview.rst
@@ -136,8 +136,7 @@ In the source file include/mem-map.h we include a memory map. This is
 manually generated, not automatically generated.
 
 We use CCAN for a bunch of helper code, turning on things like DEBUG_LOCKS
-and DEBUG_MALLOC as these are not a performance issue for us, and we like
-to be careful.
+as these are not a performance issue for us, and we like to be careful.
 
 In include/config.h there are defines for turning on extra tracing.
 OPAL is what we name the interface from skiboot to OS (Linux).
diff --git a/include/config.h b/include/config.h
index 6b36590c39f0..e34feae9f011 100644
--- a/include/config.h
+++ b/include/config.h
@@ -42,9 +42,6 @@
 /* Enable lock dependency checker */
 #define DEADLOCK_CHECKER	1
 
-/* Enable malloc debugging */
-#define DEBUG_MALLOC		1
-
 /* Enable OPAL entry point tracing */
 //#define OPAL_TRACE_ENTRY	1
 
-- 
2.11.0



More information about the Skiboot mailing list