tools/slabratetop: detect the current memory allocator
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 <a057d4b27e9e9055b973f54b519db54c22ed5ee8@suse.com>

brendangregg/bcc,brendangregg/bcc,iovisor/bcc,iovisor/bcc,tuxology/bcc,tuxology/bcc,iovisor/bcc,brendangregg/bcc,iovisor/bcc,mcaleavya/bcc,iovisor/bcc,tuxology/bcc,brendangregg/bcc,mcaleavya/bcc,brendangregg/bcc,mcaleavya/bcc,mcaleavya/bcc,tuxology/bcc,mcaleavya/bcc,tuxology/bcc