[PATCH -tip 4/5] tracing: return accurate value for print_graph_prologue

From: Wenji Huang
Date: Wed Feb 24 2010 - 02:41:38 EST


Return TRACE_TYPE_HANDLED instead of zero to avoid confusion.

Signed-off-by: Wenji Huang <wenji.huang@xxxxxxxxxx>
---
kernel/trace/trace_functions_graph.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/trace_functions_graph.c b/kernel/trace/trace_functions_graph.c
index 112561d..bd0bdeb 100644
--- a/kernel/trace/trace_functions_graph.c
+++ b/kernel/trace/trace_functions_graph.c
@@ -806,7 +806,7 @@ print_graph_prologue(struct trace_iterator *iter, struct trace_seq *s,
return TRACE_TYPE_PARTIAL_LINE;
}

- return 0;
+ return TRACE_TYPE_HANDLED;
}

static enum print_line_t
--
1.5.6

--
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/