• Steven Rostedt's avatar
    ftrace: do not profile lib/string.o · 3594136a
    Steven Rostedt authored
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    3594136a
Makefile 2.77 KB