trace clean buffer num