]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - kernel/trace/trace.c
tracing: Set up infrastructure to allow tracers for instances
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Thu, 7 Nov 2013 03:42:48 +0000 (22:42 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 20 Feb 2014 17:13:10 +0000 (12:13 -0500)
commit607e2ea167e56db84387f3ab97e59a862e101cab
treefc464e41f7a6f26aa04684bd1f92ea5182b52646
parentbf6065b5c7014ab30383405718c7a6b96d2cbdb2
tracing: Set up infrastructure to allow tracers for instances

Currently the tracers (function, function_graph, irqsoff, etc) can only
be used by the top level tracing directory (not for instances).

This sets up the infrastructure to allow instances to be able to
run a separate tracer apart from the what the top level tracing is
doing.

As tracers need to adapt for being used by instances, the tracers
must flag if they can be used by instances or not. Currently only the
'nop' tracer can be used by all instances.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_nop.c