Skip to content

Commit cd3478f

Browse files
vitkyrkaRussell King
authored andcommitted
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>
1 parent e8a7e48 commit cd3478f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/recordmcount.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ do_file(char const *const fname)
357357
int
358358
main(int argc, char const *argv[])
359359
{
360-
const char ftrace[] = "kernel/trace/ftrace.o";
360+
const char ftrace[] = "/ftrace.o";
361361
int ftrace_size = sizeof(ftrace) - 1;
362362
int n_error = 0; /* gcc-4.3.0 false positive complaint */
363363

0 commit comments

Comments
 (0)