Name

tracehook_prepare_release_task — task is being reaped, clean up tracing

Synopsis

void tracehook_prepare_release_task (struct task_struct * task);
 

Arguments

task

task in EXIT_DEAD state

Description

This is called in release_task just before task gets finally reaped and freed. This would be the ideal place to remove and clean up any tracing-related state for task.

Called with no locks held.