Re: [regression] tracing: kmemleak warning in allocate_cmdlines_buffer()

From: Steven Rostedt
Date: Wed Feb 14 2024 - 10:42:25 EST


On Wed, 14 Feb 2024 17:30:40 +0200
Kalle Valo <kvalo@xxxxxxxxxx> wrote:

> Although the patch didn't apply for me as in my tree the functions are
> in kernel/trace/trace.c. I don't know what happened so as a quick hack I
> just manually added the three lines to my version of trace.c. Let me
> know if there's a git tree or branch you would like me to test, I can do
> that easily.
>

Oops, I was in a middle of rebasing a patch series I was reviewing and
forgot there was some changes to the code around it. Anyway, that should be
the fix. I'll add your tested-by.

Thanks!

-- Steve