NXP-12688 Add guard on Trace related Operations