]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - kernel/trace/trace.c
tracing: Make two symbols static
[thirdparty/kernel/stable.git] / kernel / trace / trace.c
index 1c80521fd43602041d797032a26cac79f665314c..83e08b78dbee9e60bb49f2dde6394e43844289e3 100644 (file)
@@ -6923,7 +6923,7 @@ struct tracing_log_err {
 
 static DEFINE_MUTEX(tracing_err_log_lock);
 
-struct tracing_log_err *get_tracing_log_err(struct trace_array *tr)
+static struct tracing_log_err *get_tracing_log_err(struct trace_array *tr)
 {
        struct tracing_log_err *err;
 
@@ -8192,7 +8192,7 @@ static const struct file_operations buffer_percent_fops = {
        .llseek         = default_llseek,
 };
 
-struct dentry *trace_instance_dir;
+static struct dentry *trace_instance_dir;
 
 static void
 init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer);