[for-next][PATCH 09/20] tracing: Fix event header writeback.h to include tracepoint.h

From: Steven Rostedt
Date: Fri Mar 07 2014 - 10:15:54 EST


From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>

The trace event headers are required to include tracepoint.h. The only reason
they worked now is because module.h included tracepoint.h, and that will soon
change.

Link: http://lkml.kernel.org/r/20140226190644.442886305@xxxxxxxxxxx

Fixes: 455b2864686d "writeback: Initial tracing support"
Cc: Dave Chinner <dchinner@xxxxxxxxxx>
Cc: Jens Axboe <jaxboe@xxxxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
include/trace/events/writeback.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h
index c7bbbe7..309a086 100644
--- a/include/trace/events/writeback.h
+++ b/include/trace/events/writeback.h
@@ -4,6 +4,7 @@
#if !defined(_TRACE_WRITEBACK_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_WRITEBACK_H

+#include <linux/tracepoint.h>
#include <linux/backing-dev.h>
#include <linux/writeback.h>

--
1.8.5.3


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/