summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-02-26 12:52:13 -0500
committerSteven Rostedt <rostedt@goodmis.org>2014-03-07 10:06:08 -0500
commitf479447ad94879299b08b3f0b40f481baaff7eb7 (patch)
tree8c797e72cec8e1ac378e8a563fd47128836416b8 /include/trace
parentb196e2b9e262be01737dc2bbf9e3c7c87340fa4d (diff)
downloadlinux-rpi3-f479447ad94879299b08b3f0b40f481baaff7eb7.tar.gz
linux-rpi3-f479447ad94879299b08b3f0b40f481baaff7eb7.tar.bz2
linux-rpi3-f479447ad94879299b08b3f0b40f481baaff7eb7.zip
tracing: Fix event header writeback.h to include tracepoint.h
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@goodmis.org Fixes: 455b2864686d "writeback: Initial tracing support" Cc: Dave Chinner <dchinner@redhat.com> Cc: Jens Axboe <jaxboe@fusionio.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/writeback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/events/writeback.h b/include/trace/events/writeback.h
index c7bbbe794e65..309a086e2a0b 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>