Files
linux/kernel
Sami Tolvanen c274f8308e FROMLIST: kbuild: fix dynamic ftrace with clang LTO
With CONFIG_LTO_CLANG enabled, LLVM IR won't be compiled into object
files until modpost_link. This change postpones calls to recordmcount
until after this step.

In order to exclude ftrace_process_locs from inspection, we add a new
code section .text..ftrace, which we tell recordmcount to ignore, and
a __norecordmcount attribute for moving functions to this section.

Bug: 62093296
Bug: 67506682
Bug: 133186739
Change-Id: Iba2c053968206acf533fadab1eb34a743b5088ee
(am from https://patchwork.kernel.org/patch/10060327/)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2019-05-20 17:43:20 -07:00
..
2019-04-05 22:43:09 +02:00
2019-05-10 18:30:16 +02:00
2019-05-17 16:05:09 -07:00
2019-05-02 10:13:34 +02:00
2019-05-14 19:34:39 +02:00
2019-01-13 09:51:06 +01:00
2018-07-03 09:20:44 +02:00
2019-04-30 12:53:00 +02:00
2018-06-07 16:56:28 -04:00
2019-03-06 15:59:21 +00:00
2019-05-02 10:13:34 +02:00