[XFS] Clean up function name handling in tracing code