tools/slabratetop: call to undeclared function ‘slab_address‘
Posted rtoax
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tools/slabratetop: call to undeclared function ‘slab_address‘相关的知识,希望对你有一定的参考价值。
https://github.com/iovisor/bcc/issues/4438
Sadly, kernel maintainer tends to not merge the above commit mm: Functions used internally should not be put into slub_def.h, that is to say, slabratetop.py could not include <sl*b_def.h> anymore since kernel commit 40f3bf0cb04c(“mm: Convert struct page to struct slab in functions used by other subsystems”). may we should solve the kmem_cache structure with BTF way.
https://lore.kernel.org/lkml/tencent_6238B3302FB554EC5EEF475F11470C048509@qq.com/
以上是关于tools/slabratetop: call to undeclared function ‘slab_address‘的主要内容,如果未能解决你的问题,请参考以下文章