diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-07-07 12:21:17 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-09 19:32:59 +0300 |
commit | b16838c608ef97c29896518117c30a2aa3931fac (patch) | |
tree | fa024ff31a2c854c51546c7dab5c1e3590154491 /lib/xz/Makefile | |
parent | 15d5761ad31dfb194ebe76554e6af0437eb20424 (diff) | |
download | linux-b16838c608ef97c29896518117c30a2aa3931fac.tar.xz |
kbuild: trace functions in subdirectories of lib/
ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE)
exists here in sub-directories of lib/ to keep the behavior of
commit 2464a609ded0 ("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>
Diffstat (limited to 'lib/xz/Makefile')
-rw-r--r-- | lib/xz/Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/xz/Makefile b/lib/xz/Makefile index fae9b6c7c389..fa6af814a8d1 100644 --- a/lib/xz/Makefile +++ b/lib/xz/Makefile @@ -1,7 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only - -ccflags-remove-$(CONFIG_FUNCTION_TRACER) += $(CC_FLAGS_FTRACE) - obj-$(CONFIG_XZ_DEC) += xz_dec.o xz_dec-y := xz_dec_syms.o xz_dec_stream.o xz_dec_lzma2.o xz_dec-$(CONFIG_XZ_DEC_BCJ) += xz_dec_bcj.o |