mbox series

[0/2] riscv: enable syscalls tracepoints

Message ID 20181206152635.1869-1-david.abdurachmanov@gmail.com (mailing list archive)
Headers show
Series riscv: enable syscalls tracepoints | expand

Message

David Abdurachmanov Dec. 6, 2018, 3:26 p.m. UTC
Depends on audit patch:
http://lists.infradead.org/pipermail/linux-riscv/2018-October/001931.html

audit patch is already merged into linux-next.

This simply fixes compilation error in do_syscall_trace_exit() and
enables syscalls tracepoints.

David Abdurachmanov (2):
  riscv: fix trace_sys_exit hook
  riscv: add HAVE_SYSCALL_TRACEPOINTS to Kconfig

 arch/riscv/Kconfig         | 1 +
 arch/riscv/kernel/ptrace.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

Comments

Palmer Dabbelt Dec. 7, 2018, 8:32 p.m. UTC | #1
On Thu, 06 Dec 2018 07:26:33 PST (-0800), david.abdurachmanov@gmail.com wrote:
> Depends on audit patch:
> http://lists.infradead.org/pipermail/linux-riscv/2018-October/001931.html
>
> audit patch is already merged into linux-next.
>
> This simply fixes compilation error in do_syscall_trace_exit() and
> enables syscalls tracepoints.
>
> David Abdurachmanov (2):
>   riscv: fix trace_sys_exit hook
>   riscv: add HAVE_SYSCALL_TRACEPOINTS to Kconfig
>
>  arch/riscv/Kconfig         | 1 +
>  arch/riscv/kernel/ptrace.c | 2 +-
>  2 files changed, 2 insertions(+), 1 deletion(-)

I've attempted to add this on top of next-audit, which I've merged into 
for-next.  Let me know if something went wrong.
David Abdurachmanov Dec. 10, 2018, 8:48 p.m. UTC | #2
On Fri, Dec 7, 2018 at 9:32 PM Palmer Dabbelt <palmer@sifive.com> wrote:
>
> On Thu, 06 Dec 2018 07:26:33 PST (-0800), david.abdurachmanov@gmail.com wrote:
> > Depends on audit patch:
> > http://lists.infradead.org/pipermail/linux-riscv/2018-October/001931.html
> >
> > audit patch is already merged into linux-next.
> >
> > This simply fixes compilation error in do_syscall_trace_exit() and
> > enables syscalls tracepoints.
> >
> > David Abdurachmanov (2):
> >   riscv: fix trace_sys_exit hook
> >   riscv: add HAVE_SYSCALL_TRACEPOINTS to Kconfig
> >
> >  arch/riscv/Kconfig         | 1 +
> >  arch/riscv/kernel/ptrace.c | 2 +-
> >  2 files changed, 2 insertions(+), 1 deletion(-)
>
> I've attempted to add this on top of next-audit, which I've merged into
> for-next.  Let me know if something went wrong.

Two things:
- The order of commits are wrong. Right now the commits are in
  reverse order, i.e. audit patches are on top.
- Intel kbuild test bot found compilation errors with riscv-allmodconfig
  config. I fixed those and posted two patches:
  http://lists.infradead.org/pipermail/linux-riscv/2018-December/002508.html