>Some time back Daniel Wagner reported crashes when bpf hash map is
>used to compute time intervals between preempt_disable->preempt_enable
>and recently Tom Zanussi reported a dead lock in iovisor/bcc/funccount
>tool if it's used to count the number of invocations of kernel
>'*spin*' functions. Both problems are due to the recursive use of
>slub and can only be solved by pre-allocating all map elements.
I gave it a short spin and lathist sample works just fine.