Re: [PATCH v4] scripts: ftrace - move the sort-processing in ftrace_init to compile time

From: Yinan Liu
Date: Sun Nov 28 2021 - 21:16:17 EST



在 2021/11/23 下午6:54, Yinan Liu 写道:
When the kernel starts, the initialization of ftrace takes
up a portion of the time (approximately 6~8ms) to sort mcount
addresses. We can save this time by moving mcount-sorting to
compile time.

Signed-off-by: Yinan Liu <yinan@xxxxxxxxxxxxxxxxx>
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Hi,

Is there anything wrong with this patch? Or are you too busy
to review? Let me make sure that it has not been forgotten.


Best regards!
-- Yinan Liu