Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
slabratetop: Add memcg_cache_params struct def
struct memcg_cache_params moved from include/linux/slab.h to mm/slab.h in kernel v5.4, causing a compiler error when including slub_def.h or slab_def.h in slabratetop's bpf program. It has been removed completely from kernel version 5.9. Add an empty memcg_cache_params struct in slabratetop's bpf program so it will compile with kernel versions 5.4 to 5.8.
- Loading branch information