OSL trace call

Set the parent in the previous `P == sg->P` test to save comparisons.