ftrace: do not profile lib/string.o
authorSteven Rostedt <srostedt@redhat.com>
Mon, 12 May 2008 19:20:50 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 18:56:43 +0000 (20:56 +0200)
commit3594136ad67a54d77bcb2547e70011754a2f91d5
tree6e0cd72b5679254f4e9ab4959987f8cd96c07b0f
parentcaf8cdebfb6c1cff50ea8077f1a07c2333d6d1fd
ftrace: do not profile lib/string.o

Most archs define the string and memory compare functions in assembly.
Some do not. But these functions may be used in some archs at early
boot up.

Since most archs define this code in assembly and they are not usually
traced, there's no need to trace them when they are not defined in
assembly.

This patch removes the -pg from the CFLAGS for lib/string.o.
This prevents the string functions use in either vdso or early bootup
from crashing the system.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
lib/Makefile