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 b542f88..c163406 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)