add smp trace support