tracing, sched: mark get_parent_ip() notrace
authorLai Jiangshan <[email protected]>
Thu, 2 Apr 2009 06:18:25 +0000 (14:18 +0800)
committerIngo Molnar <[email protected]>
Tue, 14 Apr 2009 00:11:05 +0000 (02:11 +0200)
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 <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
LKML-Reference: <49D458B1.5000703@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched.c

index 5724508c3b66b30d8182f32bc0cde560f790ba01..e90e70ed36a3099d59a43c032c4164aa142b3e39 100644 (file)
@@ -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;