mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rabin Vincent <rabin@rab.in>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, jreiser@BitWagon.com,
	Rabin Vincent <rabin@rab.in>
Subject: [PATCHv2 1/2] ftrace: ignore any ftrace.o in C version of recordmcount
Date: Tue, 23 Nov 2010 19:44:50 +0530	[thread overview]
Message-ID: <1290521691-5101-1-git-send-email-rabin@rab.in> (raw)
In-Reply-To: <1290454387.30543.304.camel@gandalf.stny.rr.com>

arch/arm/kernel/ftrace.c references mcount like kernel/tracing/ftrace.c,
so change the exclusion filter to match any ftrace.o.

Signed-off-by: Rabin Vincent <rabin@rab.in>
---
 scripts/recordmcount.c |    2 +-
 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 */
 
-- 
1.7.2.3


  reply	other threads:[~2010-11-23 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 18:13 [PATCH] ftrace/ARM: add ARM support for " Rabin Vincent
2010-11-22 19:33 ` Steven Rostedt
2010-11-23 14:14   ` Rabin Vincent [this message]
2010-11-23 14:32     ` [PATCHv2 1/2] ftrace: ignore any ftrace.o in " Steven Rostedt
2010-11-23 14:14   ` [PATCHv2 2/2] ftrace/ARM: add ARM support for " Rabin Vincent

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290521691-5101-1-git-send-email-rabin@rab.in \
    --to=rabin@rab.in \
    --cc=jreiser@BitWagon.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®