summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2008-09-30 18:13:45 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-14 10:39:06 +0200
commit797d3712a9dd75c720558612be05f42c031a7bb5 (patch)
tree8687146ca2a252c208fd78bbcb2a6f4c6a542dc3
parentring_buffer: implement new locking (diff)
downloadlinux-797d3712a9dd75c720558612be05f42c031a7bb5.tar.xz
linux-797d3712a9dd75c720558612be05f42c031a7bb5.zip
tracing/ftrace: adapt mmiotrace to the new type of print_line, fix
Correct the value's type of trace_empty function Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index b542f8837801..c1634068adfa 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -1750,7 +1750,7 @@ static int trace_empty(struct trace_iterator *iter)
}
}
- return TRACE_TYPE_HANDLED;
+ return 1;
}
static enum print_line_t print_trace_line(struct trace_iterator *iter)