Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/slabratetop: detect the current memory allocator
Currently, slabratetop always included slub_def.h. For the system uses SLAB, the definition of 'struct kmem_cache' is different and the eBPF program would fetch the wrong field and print garbages. Signed-off-by: Gary Lin <[email protected]>
- Loading branch information