• Steven Rostedt's avatar
    function-graph: Use comment notation for func names of dangling '}' · a094fe04
    Steven Rostedt authored
    When a '}' does not have a matching function start, the name is printed
    within parenthesis. But this makes it confusing between ending '}'
    and function starts. This patch makes the function name appear in C comment
    notation.
    
    Old view:
     3)   1.281 us    |            } (might_fault)
     3)   3.620 us    |          } (filldir)
     3)   5.251 us    |        } (call_filldir)
     3)               |        call_filldir() {
     3)               |          filldir() {
    
    New view:
     3)   1.281 us    |            } /* might_fault */
     3)   3.620 us    |          } /* filldir */
     3)   5.251 us    |        } /* call_filldir */
     3)               |        call_filldir() {
     3)               |          filldir() {
    Requested-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    a094fe04
trace_functions_graph.c 28.7 KB