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

From: divya . indi
Date: Wed Mar 20 2019 - 14:21:18 EST


Sure, thanks for taking the time to review.

There are a few issues with the patch styling and some minor modifications. I will shortly send the v2 for the same.


Regards,
Divya


On 03/19/2019 01:16 PM, Steven Rostedt wrote:
On Fri, 15 Mar 2019 16:35:25 -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.


Thanks for sending this. I'm currently working on some other changes,
but will look in this when I'm finished with the other work. Should be
within this week.

-- Steve