public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Kao <nonerkao@gmail.com>
To: Palmer Dabbelt <palmer@sifive.com>
Cc: albert@sifive.com, rostedt@goodmis.org, mingo@redhat.com,
	yamada.masahiro@socionext.com, n54@gmx.com,
	akpm@linux-foundation.org, patches@groups.riscv.org,
	linux-kernel@vger.kernel.org, sorear2@gmail.com,
	alankao@andestech.com, greentime@andestech.com
Subject: Re: [patches] [PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms
Date: Thu, 8 Feb 2018 08:52:47 +0800	[thread overview]
Message-ID: <20180208005245.GA26140@75c3b24ef355> (raw)
In-Reply-To: <mhng-375db8f6-17f2-41d6-922f-33b0c7fc9e1c@palmer-si-x1c4>

On Wed, Feb 07, 2018 at 04:37:10PM -0800, Palmer Dabbelt wrote:
> On Thu, 18 Jan 2018 07:45:39 PST (-0800), nonerkao@gmail.com wrote:
> > This patch set includes the building blocks of dynamic ftrace features
> > for RISC-V machines.
> > 
> > Changes in v3:
> >  - Replace the nops at the tracer call sites into a "call ftrace_stub"
> >    instruction for better understanding (1/6 and 2/6)
> > 
> > Changes in v2:
> >  - Fix the return value as writing to kernel text goes wrong (2/6)
> >  - Replace manual comparisons by calling memcmp (2/6)
> >  - Simplify the conditional assignment in the Makefile (1/6)
> > 
> > Alan Kao (6):
> >   riscv/ftrace: Add RECORD_MCOUNT support
> >   riscv/ftrace: Add dynamic function tracer support
> >   riscv/ftrace: Add dynamic function graph tracer support
> >   riscv/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support
> >   riscv/ftrace: Add DYNAMIC_FTRACE_WITH_REGS support
> >   riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support
> > 
> >  arch/riscv/Kconfig              |   3 +
> >  arch/riscv/Makefile             |   3 +
> >  arch/riscv/include/asm/ftrace.h |  47 ++++++++
> >  arch/riscv/kernel/Makefile      |   5 +-
> >  arch/riscv/kernel/ftrace.c      | 142 ++++++++++++++++++++++-
> >  arch/riscv/kernel/mcount-dyn.S  | 241 ++++++++++++++++++++++++++++++++++++++++
> >  arch/riscv/kernel/mcount.S      |  22 ++--
> >  arch/riscv/kernel/stacktrace.c  |   6 +
> >  scripts/recordmcount.pl         |   5 +
> >  9 files changed, 461 insertions(+), 13 deletions(-)
> >  create mode 100644 arch/riscv/kernel/mcount-dyn.S
> 
> Sorry it took me a while to get around to these.  Do you mind submitting a
> v4 that's based on linux-4.15?  I'm getting all sorts of merge errors trying
> to "git am" these.

Sure.  But do you mean the riscv-linux-4.15 at the github repo or
Linus's linux-4.15-rc......,says, rc8?

Also, we have fixed our internal email server issue, so I will send this
v4 set using alankao@andestech.com, by which I signed off all previous
ftrace patches, instead of the current gmail one.  I hope this won't be
confusing to you.

Thanks,
Alan

  reply	other threads:[~2018-02-08  0:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18 15:45 [PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms Alan Kao
2018-01-18 15:45 ` [PATCH v3 1/6] riscv/ftrace: Add RECORD_MCOUNT support Alan Kao
2018-01-18 15:45 ` [PATCH v3 2/6] riscv/ftrace: Add dynamic function tracer support Alan Kao
2018-01-18 15:45 ` [PATCH v3 3/6] riscv/ftrace: Add dynamic function graph " Alan Kao
2018-01-18 15:45 ` [PATCH v3 4/6] riscv/ftrace: Add ARCH_SUPPORTS_FTRACE_OPS support Alan Kao
2018-01-18 15:45 ` [PATCH v3 5/6] riscv/ftrace: Add DYNAMIC_FTRACE_WITH_REGS support Alan Kao
2018-01-18 15:45 ` [PATCH v3 6/6] riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support Alan Kao
2018-02-08  0:37 ` [patches] [PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms Palmer Dabbelt
2018-02-08  0:52   ` Alan Kao [this message]
2018-02-08  2:57   ` Alan Kao

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=20180208005245.GA26140@75c3b24ef355 \
    --to=nonerkao@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=alankao@andestech.com \
    --cc=albert@sifive.com \
    --cc=greentime@andestech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=n54@gmx.com \
    --cc=palmer@sifive.com \
    --cc=patches@groups.riscv.org \
    --cc=rostedt@goodmis.org \
    --cc=sorear2@gmail.com \
    --cc=yamada.masahiro@socionext.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