trace-cmd profile: Handle stacktraces for fgraph events

Because the stack traces for functions come before the function graph
event, the handling of function stacks needs to be different than
other events with respect to stack traces, as it needs to add the stack
to the event that comes before it.

Signed-off-by: root <root@bxtest.local.home>
1 file changed