On Fri, 9 Aug 2013 13:26:09 -0400
Tony Lu <z...@tilera.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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to