tracing: fix recursive register_callsite
deadlock
#2634
Merged
register_callsite
deadlock
#2634