kbuild: trace functions in subdirectories of lib/
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 7 Jul 2020 09:21:17 +0000 (18:21 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 9 Aug 2020 16:32:59 +0000 (01:32 +0900)
commitb16838c608ef97c29896518117c30a2aa3931fac
treefa024ff31a2c854c51546c7dab5c1e3590154491
parent15d5761ad31dfb194ebe76554e6af0437eb20424
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>
17 files changed:
lib/842/Makefile
lib/crypto/Makefile
lib/dim/Makefile
lib/fonts/Makefile
lib/kunit/Makefile
lib/livepatch/Makefile
lib/lz4/Makefile
lib/lzo/Makefile
lib/math/Makefile
lib/mpi/Makefile
lib/raid6/Makefile
lib/reed_solomon/Makefile
lib/xz/Makefile
lib/zlib_deflate/Makefile
lib/zlib_dfltcc/Makefile
lib/zlib_inflate/Makefile
lib/zstd/Makefile