add write trace point for performance analysis