diff options
author | John Reiser <jreiser@bitwagon.com> | 2010-10-13 21:12:54 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-14 22:44:34 +0200 |
commit | 81d3858d3131a589cade0d8b57f95cc1fc699b89 (patch) | |
tree | a79260842b6de29a065e52f891e1527336e6e999 /scripts/recordmcount.h | |
parent | kconfig/x86: Add HAVE_TEXT_POKE_SMP config for stop_machine dependency (diff) | |
download | linux-81d3858d3131a589cade0d8b57f95cc1fc699b89.tar.xz linux-81d3858d3131a589cade0d8b57f95cc1fc699b89.zip |
ftrace: Add C version of recordmcount compile time code
Currently, the mcount callers are found with a perl script that does
an objdump on every file in the kernel. This is a C version of that
same code which should increase the performance time of compiling
the kernel with dynamic ftrace enabled.
Signed-off-by: John Reiser <jreiser@bitwagon.com>
[ Updated the code to include .text.unlikely section as well as
changing the format to follow Linux coding style. ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions