summaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2010-11-30 17:33:53 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-04 11:30:26 +0000
commitcd3478f2bd8f2cec19f9247a8a9cd711cbe37683 (patch)
tree876261165b814f766d576011ad315cf25b3419bd /scripts/recordmcount.c
parente8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff)
downloadop-kernel-dev-cd3478f2bd8f2cec19f9247a8a9cd711cbe37683.zip
op-kernel-dev-cd3478f2bd8f2cec19f9247a8a9cd711cbe37683.tar.gz
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>
Diffstat (limited to 'scripts/recordmcount.c')
-rw-r--r--scripts/recordmcount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/recordmcount.c b/scripts/recordmcount.c
index f2f32ee..ac6e51c 100644
--- a/scripts/recordmcount.c
+++ b/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 */
OpenPOWER on IntegriCloud