add ktap_percpu_state code(not working now)