add trace mode for cpu in monitor