diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-10-13 23:12:30 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-14 22:52:41 +0200 |
commit | 72441cb1fd77d092f09ddfac748955703884c9a7 (patch) | |
tree | 3b02aecebf718f1cb6e9752b809e825b237527da /scripts/Makefile | |
parent | ftrace: Add C version of recordmcount compile time code (diff) | |
download | linux-72441cb1fd77d092f09ddfac748955703884c9a7.tar.xz linux-72441cb1fd77d092f09ddfac748955703884c9a7.zip |
ftrace/x86: Add support for C version of recordmcount
This patch adds the support for the C version of recordmcount and
compile times show ~ 12% improvement.
After verifying this works, other archs can add:
HAVE_C_MCOUNT_RECORD
in its Kconfig and it will use the C version of recordmcount
instead of the perl version.
Cc: <linux-arch@vger.kernel.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Cc: John Reiser <jreiser@bitwagon.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index 842dbc2d5aed..2e088109fbd5 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -11,6 +11,7 @@ hostprogs-$(CONFIG_KALLSYMS) += kallsyms hostprogs-$(CONFIG_LOGO) += pnmtologo hostprogs-$(CONFIG_VT) += conmakehash hostprogs-$(CONFIG_IKCONFIG) += bin2c +hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount always := $(hostprogs-y) $(hostprogs-m) |