tracehook_notify_resume

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

NAME

tracehook_notify_resume - report when about to return to user mode

SYNOPSIS

void tracehook_notify_resume(struct pt_regs * regs);

ARGUMENTS

regs

user-mode registers of current task

DESCRIPTION

This is called when TIF_NOTIFY_RESUME has been set. Now we are about to return to user mode, and the user state in regs can be inspected or adjusted. The caller in arch code has cleared TIF_NOTIFY_RESUME before the call. If the flag gets set again asynchronously, this will be called again before we return to user mode.

Called without locks. However, on some machines this may be called with interrupts disabled.