Commit cd3478f2 authored by Rabin Vincent's avatar Rabin Vincent Committed by Russell King

ARM: 6509/1: ftrace: ignore any ftrace.o in C version of recordmcount

arch/arm/kernel/ftrace.c references mcount like kernel/tracing/ftrace.c,
so change the exclusion filter to match any ftrace.o.
Acked-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Signed-off-by: default avatarRabin Vincent <rabin@rab.in>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent e8a7e48b
...@@ -357,7 +357,7 @@ do_file(char const *const fname) ...@@ -357,7 +357,7 @@ do_file(char const *const fname)
int int
main(int argc, char const *argv[]) main(int argc, char const *argv[])
{ {
const char ftrace[] = "kernel/trace/ftrace.o"; const char ftrace[] = "/ftrace.o";
int ftrace_size = sizeof(ftrace) - 1; int ftrace_size = sizeof(ftrace) - 1;
int n_error = 0; /* gcc-4.3.0 false positive complaint */ int n_error = 0; /* gcc-4.3.0 false positive complaint */
......
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