summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_selftest_dynamic.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-18ftrace: Add self-tests for multiple function trace usersSteven Rostedt1-0/+6
Add some basic sanity tests for multiple users of the function tracer at startup. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2008-05-23ftrace: fix dynamic ftrace selftestSteven Rostedt1-0/+7
With the adding of the configuration changes in the Makefile to prevent tracing of functions in the ftrace code, all tracing of all the ftrace code has been removed. Unfortunately, one of the selftests, relied on a function to be traced. With the new change, the function was no longer traced and the test failed. This patch separates out the test function into its own file so that we can add the "-pg" flag to the compilation of that function and the adding of the mcount call to that function. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>