mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
b16838c608
ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
exists here in sub-directories of lib/ to keep the behavior of
commit 2464a609de
("ftrace: do not trace library functions").
Since that commit, not only the objects in lib/ but also the ones in
the sub-directories are excluded from ftrace (although the commit
description did not explicitly mention this).
However, most of library functions in sub-directories are not so hot.
Re-add them to ftrace.
Going forward, only the objects right under lib/ will be excluded.
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
14 lines
387 B
Makefile
14 lines
387 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for livepatch test code.
|
|
|
|
obj-$(CONFIG_TEST_LIVEPATCH) += test_klp_atomic_replace.o \
|
|
test_klp_callbacks_demo.o \
|
|
test_klp_callbacks_demo2.o \
|
|
test_klp_callbacks_busy.o \
|
|
test_klp_callbacks_mod.o \
|
|
test_klp_livepatch.o \
|
|
test_klp_shadow_vars.o \
|
|
test_klp_state.o \
|
|
test_klp_state2.o \
|
|
test_klp_state3.o
|