[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-132380a06b24704fd6c9be55c44d4ef3972cead2@git.kernel.org>
Date: Tue, 14 Apr 2009 00:13:04 GMT
From: tip-bot for Lai Jiangshan <laijs@...fujitsu.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
fweisbec@...il.com, srostedt@...hat.com, tglx@...utronix.de,
laijs@...fujitsu.com, mingo@...e.hu
Subject: [tip:sched/urgent] tracing, sched: mark get_parent_ip() notrace
Commit-ID: 132380a06b24704fd6c9be55c44d4ef3972cead2
Gitweb: http://git.kernel.org/tip/132380a06b24704fd6c9be55c44d4ef3972cead2
Author: Lai Jiangshan <laijs@...fujitsu.com>
AuthorDate: Thu, 2 Apr 2009 14:18:25 +0800
Committer: Ingo Molnar <mingo@...e.hu>
CommitDate: Tue, 14 Apr 2009 02:11:05 +0200
tracing, sched: mark get_parent_ip() notrace
Impact: remove overly redundant tracing entries
When tracer is "function" or "function_graph", way too much
"get_parent_ip" entries are recorded in ring_buffer.
Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
Acked-by: Frederic Weisbecker <fweisbec@...il.com>
Acked-by: Steven Rostedt <srostedt@...hat.com>
LKML-Reference: <49D458B1.5000703@...fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
kernel/sched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/sched.c b/kernel/sched.c
index 5724508..e90e70e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4846,7 +4846,7 @@ void scheduler_tick(void)
#endif
}
-unsigned long get_parent_ip(unsigned long addr)
+notrace unsigned long get_parent_ip(unsigned long addr)
{
if (in_lock_functions(addr)) {
addr = CALLER_ADDR2;
--
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