summaryrefslogtreecommitdiffstats
path: root/lib/proportions.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-01-09 13:08:28 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-01-29 09:19:25 +0100
commite6d60b368b45b9be3aa068f8e5fa98c3487c9d4e (patch)
treeabe83543f72b5cd5d5de309dab8551f93c34f023 /lib/proportions.c
parent61f552141c9c0e88b3fdc7046265781ffd8fa68a (diff)
downloadtalos-obmc-linux-e6d60b368b45b9be3aa068f8e5fa98c3487c9d4e.tar.gz
talos-obmc-linux-e6d60b368b45b9be3aa068f8e5fa98c3487c9d4e.zip
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 <rostedt@goodmis.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'lib/proportions.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud