CFLAGS_REMOVE_rtmutex-debug.o = -pg
CFLAGS_REMOVE_cgroup-debug.o = -pg
CFLAGS_REMOVE_sched_clock.o = -pg
-- CFLAGS_REMOVE_sched.o = -mno-spe -pg
++ CFLAGS_REMOVE_sched.o = -pg
endif
+ifdef CONFIG_FUNCTION_RET_TRACER
+CFLAGS_REMOVE_extable.o = -pg # For __kernel_text_address()
+CFLAGS_REMOVE_module.o = -pg # For __module_text_address()
+endif
obj-$(CONFIG_FREEZER) += freezer.o
obj-$(CONFIG_PROFILING) += profile.o
"stacktrace",
"sched-tree",
"ftrace_printk",
- #ifdef CONFIG_BRANCH_TRACER
+ "ftrace_preempt",
- #endif
+ "branch",
+ "annotate",
NULL
};
* internal tracing to verify that everything is in order.
* If we fail, we do not register this tracer.
*/
- - for_each_tracing_cpu(i) {
+ + for_each_tracing_cpu(i)
tracing_reset(tr, i);
- - }
+ +
current_trace = type;
- tr->ctrl = 0;
/* the test is responsible for initializing and enabling */
pr_info("Testing tracer %s: ", type->name);
ret = type->selftest(type, tr);