Commit 0b07436d authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt

ring-buffer: Remove trace.h from ring_buffer.c

ring_buffer.c use to require declarations from trace.h, but
these have moved to the generic header files. There's nothing
in trace.h that ring_buffer.c requires.

There's some headers that trace.h included that ring_buffer.c
needs, but it's best that it includes them directly, and not
include trace.h.

Also, some things may use ring_buffer.c without having tracing
configured. This removes the dependency that may come in the
future.
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 567cd4da
...@@ -3,8 +3,10 @@ ...@@ -3,8 +3,10 @@
* *
* Copyright (C) 2008 Steven Rostedt <srostedt@redhat.com> * Copyright (C) 2008 Steven Rostedt <srostedt@redhat.com>
*/ */
#include <linux/ftrace_event.h>
#include <linux/ring_buffer.h> #include <linux/ring_buffer.h>
#include <linux/trace_clock.h> #include <linux/trace_clock.h>
#include <linux/trace_seq.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/uaccess.h> #include <linux/uaccess.h>
...@@ -21,7 +23,6 @@ ...@@ -21,7 +23,6 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <asm/local.h> #include <asm/local.h>
#include "trace.h"
static void update_pages_handler(struct work_struct *work); static void update_pages_handler(struct work_struct *work);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment