Re: [PATCH] tracing: Kernel access to Ftrace instances

From: Steven Rostedt
Date: Wed Mar 27 2019 - 12:29:16 EST


On Wed, 20 Mar 2019 11:28:51 -0700
Divya Indi <divya.indi@xxxxxxxxxx> wrote:

> Ftrace provides the feature âinstancesâ that provides the capability to
> create multiple Ftrace ring buffers. However, currently these buffers
> are created/accessed via userspace only. The kernel APIs providing these
> features are not exported, hence cannot be used by other kernel
> components.
>
> This patch aims to extend this infrastructure to provide the
> flexibility to create/log/remove/ enable-disable existing trace events
> to these buffers from within the kernel.
>
> Signed-off-by: Divya Indi <divya.indi@xxxxxxxxxx>
> Reviewed-by: Joe Jin <joe.jin@xxxxxxxxxx>
> ---


I added this to my queue, for 5.2 and then we'll see what it will do.

-- Steve