Scroll to navigation

ENUM UTRACE_RESUME_A(9) utrace core API ENUM UTRACE_RESUME_A(9)

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.

April 2023 Kernel Hackers Manual 2.6.