]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Kernel access to Ftrace instances
authorDivya Indi <divya.indi@oracle.com>
Wed, 20 Mar 2019 18:28:51 +0000 (11:28 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 2 Apr 2019 22:24:06 +0000 (18:24 -0400)
commit905fc8db117317fb0ed750e923ca92d1afd0f201
tree26f5a37a5e1d60fd553a2cf583c19ac9df49d9a9
parent5310d44b2e7837d286fda5761d630c79b11f22ce
tracing: Kernel access to Ftrace instances

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.

Link: http://lkml.kernel.org/r/1553106531-3281-2-git-send-email-divya.indi@oracle.com
Signed-off-by: Divya Indi <divya.indi@oracle.com>
Reviewed-by: Joe Jin <joe.jin@oracle.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace_events.c