tracehook_tracer_task

Langue: en

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

Section: 9 (Appels noyau Linux)

NAME

tracehook_tracer_task - return the task that is tracing the given task

SYNOPSIS

struct task_struct * tracehook_tracer_task(struct task_struct * tsk);

ARGUMENTS

tsk

task to consider

DESCRIPTION

Returns NULL if noone is tracing task, or the struct task_struct pointer to its tracer.

Must called under rcu_read_lock. The pointer returned might be kept live only by RCU. During exec, this may be called with task_lock held on task, still held from when tracehook_unsafe_exec was called.