tracing: Have branch tracer use recursive field of task struct