trace-graph: Fix the displaying of events

When an event is by itself, information is displayed about it.
But it was displaying the wrong information.

This patch adds a separate variable to keep track of what should
be displayed and removes the confusion with trying to use other
variables.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed