linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Tony Lu <zlu@tilera.com>
Cc: <linux-kernel@vger.kernel.org>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Ingo Molnar <mingo@redhat.com>
Subject: Re: [PATCH] tile: support ftrace on tilegx
Date: Thu, 22 Aug 2013 12:37:14 -0400	[thread overview]
Message-ID: <20130822123714.2611671a@gandalf.local.home> (raw)
In-Reply-To: <2c9c68a646dd67eb51d89d878966c08941efa055.1376076465.git.cmetcalf@tilera.com>

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

      parent reply	other threads:[~2013-08-22 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 17:26 [PATCH] tile: support ftrace on tilegx Tony Lu
2013-08-09 19:08 ` [PATCH] tile: support kprobes " Tony Lu
2013-08-12  5:49   ` Masami Hiramatsu
2013-08-13 14:08     ` [PATCH v2] " Tony Lu
2013-08-19  6:10       ` Masami Hiramatsu
2013-08-22 16:37 ` Steven Rostedt [this message]

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=20130822123714.2611671a@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=zlu@tilera.com \
    /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;
as well as URLs for NNTP newsgroup(s).