Commit 132380a0 authored by Lai Jiangshan's avatar Lai Jiangshan Committed by Ingo Molnar

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: default avatarLai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Acked-by: default avatarSteven Rostedt <srostedt@redhat.com>
LKML-Reference: <49D458B1.5000703@cn.fujitsu.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2e1c63b7
...@@ -4846,7 +4846,7 @@ void scheduler_tick(void) ...@@ -4846,7 +4846,7 @@ void scheduler_tick(void)
#endif #endif
} }
unsigned long get_parent_ip(unsigned long addr) notrace unsigned long get_parent_ip(unsigned long addr)
{ {
if (in_lock_functions(addr)) { if (in_lock_functions(addr)) {
addr = CALLER_ADDR2; addr = CALLER_ADDR2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment