Messages in this thread | | | Date | Thu, 22 Aug 2013 12:37:14 -0400 | From | Steven Rostedt <> | Subject | Re: [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
| |