aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_boot.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-01-29 18:36:44 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-01-29 08:49:04 -0500
commit5c3469cb899abe998299aafb8f16f325d62d2d68 (patch)
treebb50123ba4123a122e036e75596b7b0ef05135c2 /kernel/trace/trace_boot.c
parenttracing/boot: Include required headers and sort it alphabetically (diff)
downloadlinux-dev-5c3469cb899abe998299aafb8f16f325d62d2d68.tar.xz
linux-dev-5c3469cb899abe998299aafb8f16f325d62d2d68.zip
tracing/boot: Move external function declarations to kernel/trace/trace.h
Move external function declarations into kernel/trace/trace.h from trace_boot.c for tracing subsystem internal use. Link: http://lkml.kernel.org/r/158029060405.12381.11944554430359702545.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '')
-rw-r--r--kernel/trace/trace_boot.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/trace/trace_boot.c b/kernel/trace/trace_boot.c
index 5aad41961f03..4d37bf5c3742 100644
--- a/kernel/trace/trace_boot.c
+++ b/kernel/trace/trace_boot.c
@@ -21,13 +21,6 @@
#define MAX_BUF_LEN 256
-extern int trace_set_options(struct trace_array *tr, char *option);
-extern int tracing_set_tracer(struct trace_array *tr, const char *buf);
-extern ssize_t tracing_resize_ring_buffer(struct trace_array *tr,
- unsigned long size, int cpu_id);
-extern int tracing_set_cpumask(struct trace_array *tr,
- cpumask_var_t tracing_cpumask_new);
-
static void __init
trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node)
{
@@ -76,9 +69,6 @@ trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node)
}
#ifdef CONFIG_EVENT_TRACING
-extern int ftrace_set_clr_event(struct trace_array *tr, char *buf, int set);
-extern int trigger_process_regex(struct trace_event_file *file, char *buff);
-
static void __init
trace_boot_enable_events(struct trace_array *tr, struct xbc_node *node)
{
@@ -252,11 +242,6 @@ trace_boot_init_events(struct trace_array *tr, struct xbc_node *node)
#endif
#ifdef CONFIG_DYNAMIC_FTRACE
-extern bool ftrace_filter_param __initdata;
-extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
- int len, int reset);
-extern int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
- int len, int reset);
static void __init
trace_boot_set_ftrace_filter(struct trace_array *tr, struct xbc_node *node)
{