Re: [PATCH] fgraph: Fix missing unlock in register_ftrace_graph()
From: Li Huafei <hidden>
Date: 2024-10-24 08:03:23
Also in:
lkml, oe-kbuild
From: Li Huafei <hidden>
Date: 2024-10-24 08:03:23
Also in:
lkml, oe-kbuild
On 2024/10/24 12:46, Steven Rostedt wrote:
On Thu, 24 Oct 2024 10:45:46 +0800 Li Huafei [off-list ref] wrote:quoted
Agreed, this will make the code simpler and avoid mistakes. If we need to replace all mutex(&ftrace_lock), would it be better to submit another cleanup patch? We can fix the issue here first.This case is a bug fix, just add it here. We can do a clean up separately for the other locations.
Okay, I've already sent v2: https://lore.kernel.org/lkml/20241024155917.1019580-1-lihuafei1@huawei.com/T/#u (local) Thanks, Huafei
-- Steve .