enum vfork_hook_phase

Overview

Phases for running vfork hooks, as by run_vfork_hooks() More…

#include <agentlib.h>

enum vfork_hook_phase {
    VFORK_HOOK_PHASE_PREPARE,
    VFORK_HOOK_PHASE_CHILD,
    VFORK_HOOK_PHASE_PARENT,
    VFORK_HOOK_N_PHASES,
};

Detailed Documentation

Phases for running vfork hooks, as by run_vfork_hooks()

Enum Values

VFORK_HOOK_PHASE_PREPARE

Before vfork()

VFORK_HOOK_PHASE_CHILD

After vfork() in child

VFORK_HOOK_PHASE_PARENT

After vfork() in parent

VFORK_HOOK_N_PHASES

Total number of phases