OS Manuals

function::current_exe_file(3stap)

function::current_exe_file - get the file struct pointer for the current task's executable file

FUNCTION::CURRENT_EX(3stap) Context Functions FUNCTION::CURRENT_EX(3stap)

function::current_exe_file - get the file struct pointer for the current task's executable file


current_exe_file:long()

None

This function returns the file struct pointer for the current task's executable file. Note that the file struct pointer isn't locked on return. The return value of this function can be passed to fullpath_struct_file to get the path from the file struct.

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r0 · enterprise-packages · ingested 2026-10-02