cleanup trace module