[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49D458B1.5000703@cn.fujitsu.com>
Date: Thu, 02 Apr 2009 14:18:25 +0800
From: Lai Jiangshan <laijs@...fujitsu.com>
To: Steven Rostedt <srostedt@...hat.com>
CC: Ingo Molnar <mingo@...e.hu>, LKML <linux-kernel@...r.kernel.org>,
Frederic Weisbecker <fweisbec@...il.com>
Subject: [PATCH] tracing: mark get_parent_ip() notrace
Impact: remove redundancy tracing log
When tracer is "function" or "function_graph", too much
"get_parent_ip" are recorded in ring_buffer.
Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
---
diff --git a/kernel/sched.c b/kernel/sched.c
index 706517c..a0ec10c 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4860,7 +4860,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