Scroll to navigation

TRACEHOOK_PREPARE_RE(9) Kernel Internals TRACEHOOK_PREPARE_RE(9)

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.

May 2024 Kernel Hackers Manual 2.6.