[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-4818d80942b7c0021d213b7c5f1a14a832820a01@git.kernel.org>
Date: Sun, 13 Sep 2009 15:02:35 GMT
From: tip-bot for Jiri Olsa <jolsa@...hat.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
rostedt@...dmis.org, tglx@...utronix.de, jolsa@...hat.com
Subject: [tip:tracing/core] tracing/function-graph: x86_64 stack allocation cleanup
Commit-ID: 4818d80942b7c0021d213b7c5f1a14a832820a01
Gitweb: http://git.kernel.org/tip/4818d80942b7c0021d213b7c5f1a14a832820a01
Author: Jiri Olsa <jolsa@...hat.com>
AuthorDate: Wed, 29 Jul 2009 10:58:37 +0200
Committer: Steven Rostedt <rostedt@...dmis.org>
CommitDate: Sat, 12 Sep 2009 22:13:43 -0400
tracing/function-graph: x86_64 stack allocation cleanup
Only 24 bytes needs to be reserved on the stack for the function graph
tracer on x86_64.
Signed-off-by: Jiri Olsa <jolsa@...hat.com>
LKML-Reference: <20090729085837.GB4998@...sa.lab.eng.brq.redhat.com>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
arch/x86/kernel/entry_64.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S
index c251be7..d59fe32 100644
--- a/arch/x86/kernel/entry_64.S
+++ b/arch/x86/kernel/entry_64.S
@@ -146,7 +146,7 @@ ENTRY(ftrace_graph_caller)
END(ftrace_graph_caller)
GLOBAL(return_to_handler)
- subq $80, %rsp
+ subq $24, %rsp
/* Save the return values */
movq %rax, (%rsp)
@@ -155,10 +155,10 @@ GLOBAL(return_to_handler)
call ftrace_return_to_handler
- movq %rax, 72(%rsp)
+ movq %rax, 16(%rsp)
movq 8(%rsp), %rdx
movq (%rsp), %rax
- addq $72, %rsp
+ addq $16, %rsp
retq
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists