slab: Add tracing infrastructure for allocs and frees