ANDROID: Allow vendor modules to perform operations on memory leak detection

When an LMK (Low Memory Killer) occurs, it is crucial for us to identify
the underlying cause of low memory. Based on past experiences, memory
leaks are often the root cause in such situations. The purpose of this
function is to assist us in identifying which application or type of
memory is experiencing memory leaks, thereby enabling us to effectively
locate and address the memory leakage issue.

Bug: 346707562
Bug: 583762697
Change-Id: I5d7d6bdbca30660f2a552211fd8aff40d3550df7
Signed-off-by: Dezhi Huang <[email protected]>
(cherry picked from commit 936ea2ffcd607604225dfeb31b851776051bb5a6)
Signed-off-by: Jacky Liu <[email protected]>
diff --git a/mm/show_mem.c b/mm/show_mem.c
index b938cbc..1cd6e67 100644
--- a/mm/show_mem.c
+++ b/mm/show_mem.c
@@ -466,3 +466,4 @@ void __show_mem(unsigned int filter, const nodemask_t *nodemask,
 	}
 #endif
 }
+EXPORT_SYMBOL_GPL(__show_mem);