Name

enum utrace_resume_action — engine's choice of action for a traced task

Synopsis

enum utrace_resume_action {
  UTRACE_STOP,
  UTRACE_INTERRUPT,
  UTRACE_REPORT,
  UTRACE_SINGLESTEP,
  UTRACE_BLOCKSTEP,
  UTRACE_RESUME,
  UTRACE_DETACH,
  UTRACE_RESUME_MAX
};  

Constants

UTRACE_STOP

Stay quiescent after callbacks.

UTRACE_INTERRUPT

Make report_signal() callback soon.

UTRACE_REPORT

Make some callback soon.

UTRACE_SINGLESTEP

Resume in user mode for one instruction.

UTRACE_BLOCKSTEP

Resume in user mode until next branch.

UTRACE_RESUME

Resume normally in user mode.

UTRACE_DETACH

Detach my engine (implies UTRACE_RESUME).

UTRACE_RESUME_MAX

-- undescribed --

Description

See utrace_control for detailed descriptions of each action. This is encoded in the action argument and the return value for every callback with a u32 return value.

The order of these is important. When there is more than one engine, each supplies its choice and the smallest value prevails.