DOKK / manpages / debian 10 / systemtap-doc / function::current_exe_file.3stap.en
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.

October 2018 SystemTap Tapset Reference