summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2017-11-27 13:34:13 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-23 13:58:13 +0100
commit86cb8d448d99cef3e4425683296dff3a4d2d75a8 (patch)
tree82544742aca062161d1e768bb2250c896c7fc849 /kernel/locking/rtmutex-debug.c
parent0769ec67ae0a37a1ae4bbcb709bcb20e7cbbffce (diff)
trace: Use -mcount-record for dynamic ftrace
commit 96f60dfa5819a065bfdd2f2ba0df7d9cbce7f4dd upstream. gcc 5 supports a new -mcount-record option to generate ftrace tables directly. This avoids the need to run record_mcount manually. Use this option when available. So far doesn't use -mcount-nop, which also exists now. This is needed to make ftrace work with LTO because the normal record-mcount script doesn't run over the link time output. It should also improve build times slightly in the general case. Link: http://lkml.kernel.org/r/20171127213423.27218-12-andi@firstfloor.org Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions