cpu_cached_instruction
interface
and allows callbacks to be installed that trigger only once, i.e., after
the first time they have been invoked they are automatically
removed. Otherwise they are identical to the corresponding methods in the
cpu_cached_instruction
interface.
SIM_INTERFACE(cpu_cached_instruction_once) { void (*register_instruction_before_once_cb)( conf_object_t *cpu, cached_instruction_handle_t *ci_handle, cpu_instruction_cb_t cb, lang_void *user_data, cpu_callback_free_user_data_cb_t free_cb); void (*register_instruction_after_once_cb)( conf_object_t *cpu, cached_instruction_handle_t *ci_handle, cpu_instruction_cb_t cb, lang_void *user_data, cpu_callback_free_user_data_cb_t free_cb); }; #define CPU_CACHED_INSTRUCTION_ONCE_INTERFACE "cpu_cached_instruction_once"
cpu_instrumentation_subscribe
interface.