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>
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
This commit is contained in:
Vijayanand Jitta 2020-12-29 16:07:29 +05:30 committed by Jaskaran Singh
parent a9104d3210
commit 173c09996a
2 changed files with 2 additions and 0 deletions

View File

@ -3927,6 +3927,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

@ -6297,6 +6297,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)
{