diff options
author | Andi Kleen <[email protected]> | 2017-11-27 13:34:13 -0800 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2018-05-28 12:49:51 -0400 |
commit | 96f60dfa5819a065bfdd2f2ba0df7d9cbce7f4dd (patch) | |
tree | 98102816257e20f2be705a016b7049d16b159636 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 2824f5033248600673e3e126a4d135363cbfd9ac (diff) |
trace: Use -mcount-record for dynamic ftrace
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/[email protected]
Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions