refactor(mm): make dump more detailed
Make the contents of `mm_dump` more detailed
Change-Id: I29fcb9e478c18d307e2ce1e30960771c38ae0911
Signed-off-by: Karl Meakin <karl.meakin@arm.com>
diff --git a/inc/hf/dlog.h b/inc/hf/dlog.h
index fe02cf5..954f8eb 100644
--- a/inc/hf/dlog.h
+++ b/inc/hf/dlog.h
@@ -104,3 +104,10 @@
dlog("VERBOSE: " __VA_ARGS__); \
} \
} while (0)
+
+/** Print to debug log, with `indent` amount of indentation. */
+#define dlog_indent(indent, ...) \
+ do { \
+ dlog("%*s", (indent) * 2, ""); \
+ dlog(__VA_ARGS__); \
+ } while (0)