From: Heiko Carstens Date: Fri, 9 Jan 2015 12:06:33 +0000 (+0100) Subject: ftrace: allow architectures to specify ftrace compile options X-Git-Tag: fixes-v4.0-rc1~134^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0a80c0c27e5e65b180a25e6c4c2f7ef9e386cd3;p=pandora-kernel.git ftrace: allow architectures to specify ftrace compile options If the kernel is compiled with function tracer support the -pg compile option is passed to gcc to generate extra code into the prologue of each function. This patch replaces the "open-coded" -pg compile flag with a CC_FLAGS_FTRACE makefile variable which architectures can override if a different option should be used for code generation. Acked-by: Steven Rostedt Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed