[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130822123714.2611671a@gandalf.local.home>
Date: Thu, 22 Aug 2013 12:37:14 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Tony Lu <zlu@...era.com>
Cc: <linux-kernel@...r.kernel.org>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...hat.com>
Subject: Re: [PATCH] tile: support ftrace on tilegx
On Fri, 9 Aug 2013 13:26:09 -0400
Tony Lu <zlu@...era.com> wrote:
> diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
> index 858966a..a674fd5 100755
> --- a/scripts/recordmcount.pl
> +++ b/scripts/recordmcount.pl
> @@ -364,6 +364,10 @@ if ($arch eq "x86_64") {
> } elsif ($arch eq "blackfin") {
> $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
> $mcount_adjust = -4;
> +} elsif ($arch eq "tilegx") {
> + $mcount_regex = "^\\s*([0-9a-fA-F]+):.*\\s__mcount\$";
> + $type = ".quad";
> + $alignment = 8;
> } else {
> die "Arch $arch is not supported with CONFIG_FTRACE_MCOUNT_RECORD";
> }
If you want faster build times, you may want to update recordmcount.c,
and then add HAVE_C_RECORDMCOUNT
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists