rewrite calltrace module.