Re: [patches] [PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms

2018-02-07 Thread Alan Kao
On Wed, Feb 07, 2018 at 04:37:10PM -0800, Palmer Dabbelt wrote: > On Thu, 18 Jan 2018 07:45:39 PST (-0800), noner...@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 cal

Re: [patches] [PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms

2018-02-07 Thread Alan Kao
On Wed, Feb 07, 2018 at 04:37:10PM -0800, Palmer Dabbelt wrote: > On Thu, 18 Jan 2018 07:45:39 PST (-0800), noner...@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 cal

Re: [patches] [PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms

2018-02-07 Thread Palmer Dabbelt
On Thu, 18 Jan 2018 07:45:39 PST (-0800), noner...@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

[PATCH v3 0/6] Add dynamic ftrace support for RISC-V platforms

2018-01-18 Thread Alan Kao
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