On Tue, May 17, 2022 at 12:44:14PM +0300, Vasily Averin wrote: > 2) rework kmem_cache_alloc* tracepoints to use cachep instead > of current cachep->*size parameters. Now kmalloc[_node] and > kmem_cache_alloc[_node] tracepoints do not use common template You can keep the common template. Just pass in s->object_size as well as s.