Re: [PATCH] riscv: fix trace_sys_exit hook

From: David Abdurachmanov
Date: Tue Oct 30 2018 - 03:23:36 EST


On Mon, Oct 29, 2018 at 1:15 PM David Abdurachmanov
<david.abdurachmanov@xxxxxxxxx> wrote:
>
> Depends on:
> http://lists.infradead.org/pipermail/linux-riscv/2018-October/001931.html
>
> Why we don't have HAVE_SYSCALL_TRACEPOINTS in arch/riscv/Kconfig?
>

I looked this morning into Documentation/trace/ftrace-design.rst again.

Of all the things the document describes we are only missing
HAVE_SYSCALL_TRACEPOINTS in Kconfig, yet we already have it
implemented in ptrace.c (+ this minor fix). Reading document, I think,
we check all the boxes needed for HAVE_SYSCALL_TRACEPOINTS.

I assume it was just missed (?) and will do v2 later on.

david