tracing/ftrace: adapt mmiotrace to the new type of print_line, fix
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 30 Sep 2008 16:13:45 +0000 (18:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:39:06 +0000 (10:39 +0200)
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>
kernel/trace/trace.c

index b542f88378018db97b2218a8dac46b227b69d6dc..c1634068adfa4644724a90c14adbb6d1916c7226 100644 (file)
@@ -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)