Rechercher une page de manuel
utrace_finish_examine
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
Sommaire
NAME
utrace_finish_examine - complete an examination of thread stateSYNOPSIS
- int utrace_finish_examine(struct task_struct * target, struct utrace_engine * engine, struct utrace_examiner * exam);
ARGUMENTS
target
- thread of interest, a struct task_struct pointer
engine
- engine pointer returned by utrace_attach_task
exam
- pointer passed to utrace_prepare_examine call
DESCRIPTION
This call completes an examination on the thread target begun by a paired utrace_prepare_examine call with the same arguments that returned success (zero).
When target is current, this call is superfluous. When target is another thread, this returns zero if target has remained unscheduled since the paired utrace_prepare_examine call returned zero.
When this returns an error, any examination done since the paired utrace_prepare_examine call is unreliable and the data extracted should be discarded. The error is -EINVAL if engine is not keeping target stopped, or -EAGAIN if target woke up unexpectedly.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre