Re: [PATCH] function_graph: Simplify the initialization of fgraph LRU data
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-09-28 00:17:59
Also in:
lkml
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2024-09-28 00:17:59
Also in:
lkml
On Thu, 12 Sep 2024 11:15:50 +0000 Liao Chang [off-list ref] wrote:
This patch uses [first ... last] = value to initialize fgraph_array[]. And it declares all the callbacks in fgraph_stub as static, as they are not called from external code.
This patch doesn't look like a simplification, and it is incorrect about the "not called from external code" as the kernel test robot pointed out! -- Steve