Commit 6beecb95 authored by Steven Rostedt (Red Hat)'s avatar Steven Rostedt (Red Hat) Committed by Steven Rostedt

tile: ftrace: Remove check of obsolete variable function_trace_stop

Nothing sets function_trace_stop to disable function tracing anymore.
Remove the check for it in the arch code.

Cc: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Zhigang Lu<zlu@tilera.com>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent fdc841b5
...@@ -128,7 +128,6 @@ config TILEGX ...@@ -128,7 +128,6 @@ config TILEGX
select SPARSE_IRQ select SPARSE_IRQ
select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ select GENERIC_IRQ_LEGACY_ALLOC_HWIRQ
select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_TRACER
select HAVE_FUNCTION_TRACE_MCOUNT_TEST
select HAVE_FUNCTION_GRAPH_TRACER select HAVE_FUNCTION_GRAPH_TRACER
select HAVE_DYNAMIC_FTRACE select HAVE_DYNAMIC_FTRACE
select HAVE_FTRACE_MCOUNT_RECORD select HAVE_FTRACE_MCOUNT_RECORD
......
...@@ -77,15 +77,6 @@ STD_ENDPROC(__mcount) ...@@ -77,15 +77,6 @@ STD_ENDPROC(__mcount)
.align 64 .align 64
STD_ENTRY(ftrace_caller) STD_ENTRY(ftrace_caller)
moveli r11, hw2_last(function_trace_stop)
{ shl16insli r11, r11, hw1(function_trace_stop); move r12, lr }
{ shl16insli r11, r11, hw0(function_trace_stop); move lr, r10 }
ld r11, r11
beqz r11, 1f
jrp r12
1:
{ move r10, lr; move lr, r12 }
MCOUNT_SAVE_REGS MCOUNT_SAVE_REGS
/* arg1: self return address */ /* arg1: self return address */
...@@ -119,15 +110,6 @@ STD_ENDPROC(ftrace_caller) ...@@ -119,15 +110,6 @@ STD_ENDPROC(ftrace_caller)
.align 64 .align 64
STD_ENTRY(__mcount) STD_ENTRY(__mcount)
moveli r11, hw2_last(function_trace_stop)
{ shl16insli r11, r11, hw1(function_trace_stop); move r12, lr }
{ shl16insli r11, r11, hw0(function_trace_stop); move lr, r10 }
ld r11, r11
beqz r11, 1f
jrp r12
1:
{ move r10, lr; move lr, r12 }
{ {
moveli r11, hw2_last(ftrace_trace_function) moveli r11, hw2_last(ftrace_trace_function)
moveli r13, hw2_last(ftrace_stub) moveli r13, hw2_last(ftrace_stub)
......
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