DOKK / manpages / debian 12 / systemtap-doc / function::task_fd_lookup.3stap.en
FUNCTION::TASK_FD_LO(3stap) Context Functions FUNCTION::TASK_FD_LO(3stap)

function::task_fd_lookup - get the file struct for a task's fd


task_fd_lookup:long(task:long,fd:long)

task

task_struct pointer.

fd

file descriptor number.

Returns the file struct pointer for a task's file descriptor.

November 2022 SystemTap Tapset Reference