From: Heiko Carstens Date: Fri, 9 Jan 2015 12:08:28 +0000 (+0100) Subject: s390/ftrace: hotpatch support for function tracing X-Git-Tag: fixes-v4.0-rc1~134^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6d60b368b45b9be3aa068f8e5fa98c3487c9d4e;p=pandora-kernel.git s390/ftrace: hotpatch support for function tracing Make use of gcc's hotpatch support to generate better code for ftrace function tracing. The generated code now contains only a six byte nop in each function prologue instead of a 24 byte code block which will be runtime patched to support function tracing. With the new code generation the runtime overhead for supporting function tracing is close to zero, while the original code did show a significant performance impact. Acked-by: Steven Rostedt Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed