lkml.org 
[lkml]   [2023]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] mm/damon/core: add a tracepoint for damos apply target regions
On Sun, 27 Aug 2023 00:40:45 +0000
SeongJae Park <sj@kernel.org> wrote:

> + TP_STRUCT__entry(
> + __field(unsigned int, context_idx)

4 bytes

> + __field(unsigned int, scheme_idx)

4 bytes

> + __field(unsigned long, target_idx)

8 bytes

> + __field(unsigned int, nr_regions)

4 bytes

> + __field(unsigned long, start)

This is going to cause a 4 byte hole. I would move nr_regions after end
so that it stays properly aligned.

-- Steve



> + __field(unsigned long, end)
> + __field(unsigned int, nr_accesses)
> + __field(unsigned int, age)
> + ),
> +

\
 
 \ /
  Last update: 2023-08-30 01:19    [W:0.100 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site