lkml.org 
[lkml]   [2013]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tile: support ftrace on tilegx
On Fri, 9 Aug 2013 13:26:09 -0400
Tony Lu <zlu@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


\
 
 \ /
  Last update: 2013-08-22 19:01    [W:0.268 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site