sc_trace function is added.