Commit 75ac3a3e authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1630 from lcp/fix-slabratetop

tools/slabratetop: detect the current memory allocator
parents a2468a4c fa103457
......@@ -63,7 +63,11 @@ bpf_text = """
#include <uapi/linux/ptrace.h>
#include <linux/mm.h>
#include <linux/slab.h>
#ifdef CONFIG_SLUB
#include <linux/slub_def.h>
#else
#include <linux/slab_def.h>
#endif
#define CACHE_NAME_SIZE 32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment