Re: [PATCH v2 2/2] mm: mmap_lock: use DECLARE_EVENT_CLASS and DEFINE_EVENT_FN

From: Steven Rostedt
Date: Sun Oct 10 2021 - 17:49:43 EST


On Sat, 9 Oct 2021 15:12:43 +0800
Gang Li <ligang.bdlg@xxxxxxxxxxxxx> wrote:

> By using DECLARE_EVENT_CLASS and TRACE_EVENT_FN, we can save a lot
> of space from duplicate code.

Thanks for doing this. Looking at the events, they can certainly be
merged into one.

Reviewed-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve


>
> Signed-off-by: Gang Li <ligang.bdlg@xxxxxxxxxxxxx>