浏览代码

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: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Rabin Vincent 14 年之前
父节点
当前提交
cd3478f2bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/recordmcount.c

+ 1 - 1
scripts/recordmcount.c

@@ -357,7 +357,7 @@ do_file(char const *const fname)
 int
 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 n_error = 0;  /* gcc-4.3.0 false positive complaint */