Logo
Explore Help
Sign In
starred/linux-legacy
1
0
Fork 0
You've already forked linux-legacy
mirror of https://github.com/genesi/linux-legacy.git synced 2026-08-10 01:40:19 +00:00
Code Issues 2 Packages Projects Releases Wiki Activity
Files
b4ce94de9b4d64e8ab3cf155d13653c666e22b9b
linux-legacy/kernel/trace/trace_selftest_dynamic.c

8 lines
93 B
C
Raw Normal View History

ftrace: fix dynamic ftrace selftest 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>
2008-05-12 21:20:54 +02:00
#include "trace.h"
int DYN_FTRACE_TEST_NAME(void)
{
/* used to call mcount */
return 0;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 831ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API