ANDROID: mm: Export get_slabinfo

Export get_slabinfo symbol for minidump module.

Bug: 199236943
Change-Id: I01870a370da9bf5db842ff14801d94ef79350560
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>
This commit is contained in:
Vijayanand Jitta
2020-12-29 16:07:29 +05:30
committed by Yogesh Lal
parent 515db8c26f
commit 1f293b60eb
2 changed files with 2 additions and 0 deletions

View File

@@ -4086,6 +4086,7 @@ void get_slabinfo(struct kmem_cache *cachep, struct slabinfo *sinfo)
sinfo->objects_per_slab = cachep->num;
sinfo->cache_order = cachep->gfporder;
}
EXPORT_SYMBOL_NS_GPL(get_slabinfo, MINIDUMP);
void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *cachep)
{

View File

@@ -6235,6 +6235,7 @@ void get_slabinfo(struct kmem_cache *s, struct slabinfo *sinfo)
sinfo->objects_per_slab = oo_objects(s->oo);
sinfo->cache_order = oo_order(s->oo);
}
EXPORT_SYMBOL_NS_GPL(get_slabinfo, MINIDUMP);
void slabinfo_show_stats(struct seq_file *m, struct kmem_cache *s)
{