lkml.org 
[lkml]   [2021]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v7 0/2] ftrace sorting optimization
Date
Hi, Steven

In fact, the code enclosed by ifdef CONFIG_FUNCTION_TRACER
does not take effect. I saw similar usage under script and
judged directly after the compilation is passed, without
checking whether the sorting takes effect. Sorry for my
negligence.

Now, after the modification, the patch works normally and
passes the test case of livepatch's selftest which reported
by robot.

Yinan Liu (2):
scripts: ftrace - move the sort-processing in ftrace_init
script/sorttable: code style improvements

kernel/trace/ftrace.c | 11 +++-
scripts/Makefile | 6 +-
scripts/link-vmlinux.sh | 6 +-
scripts/sorttable.c | 2 +
scripts/sorttable.h | 124 ++++++++++++++++++++++++++++++++++++++--
5 files changed, 139 insertions(+), 10 deletions(-)

--
2.27.0

\
 
 \ /
  Last update: 2021-12-07 16:15    [W:0.314 / U:1.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site