]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/x86: Add support for C version of recordmcount
authorSteven Rostedt <srostedt@redhat.com>
Wed, 13 Oct 2010 21:12:30 +0000 (17:12 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Oct 2010 20:52:41 +0000 (16:52 -0400)
commit7d7763578728cff10c3e094b5f7167dad821e6cd
tree3b02aecebf718f1cb6e9752b809e825b237527da
parent8a783925640272a6d9a34c7b0676ba213b26e70b
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>
Makefile
arch/x86/Kconfig
kernel/trace/Kconfig
scripts/Makefile
scripts/Makefile.build