lkml.org 
[lkml]   [2022]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] tracing: add ACCOUNT flag for allocations from marked slab caches
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.

\
 
 \ /
  Last update: 2022-05-17 15:39    [W:0.065 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site