public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tracing: mark get_parent_ip() notrace
@ 2009-04-02  6:18 Lai Jiangshan
  2009-04-02 12:26 ` Frederic Weisbecker
  2009-04-14  0:13 ` [tip:sched/urgent] tracing, sched: " tip-bot for Lai Jiangshan
  0 siblings, 2 replies; 6+ messages in thread
From: Lai Jiangshan @ 2009-04-02  6:18 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Ingo Molnar, LKML, Frederic Weisbecker


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@cn.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;



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-04-14  0:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-02  6:18 [PATCH] tracing: mark get_parent_ip() notrace Lai Jiangshan
2009-04-02 12:26 ` Frederic Weisbecker
2009-04-13  6:17   ` Lai Jiangshan
2009-04-13 14:43     ` Steven Rostedt
2009-04-14  0:11       ` Ingo Molnar
2009-04-14  0:13 ` [tip:sched/urgent] tracing, sched: " tip-bot for Lai Jiangshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox