function_graph: Support recording and printing the return value of function
[linux-2.6-microblaze.git] / include / linux / ftrace.h
index b23bdd4..49f279f 100644 (file)
@@ -1018,6 +1018,9 @@ struct ftrace_graph_ent {
  */
 struct ftrace_graph_ret {
        unsigned long func; /* Current function */
+#ifdef CONFIG_FUNCTION_GRAPH_RETVAL
+       unsigned long retval;
+#endif
        int depth;
        /* Number of functions that overran the depth limit for current task */
        unsigned int overrun;