[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211207151348.54921-1-yinan@linux.alibaba.com>
Date: Tue, 7 Dec 2021 23:13:45 +0800
From: Yinan Liu <yinan@...ux.alibaba.com>
To: rostedt@...dmis.org
Cc: peterz@...radead.org, mark-pk.tsai@...iatek.com, mingo@...hat.com,
linux-kernel@...r.kernel.org
Subject: [PATCH v7 0/2] ftrace sorting optimization
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
Powered by blists - more mailing lists