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:
parent
a9104d3210
commit
173c09996a
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user