tracing, function: Fix trace header to follow context-info option