DOKK / manpages / debian 11 / systemtap-doc / probe::stap.system.return.3stap.en
PROBE::STAP.SYSTEM(3stap) SystemTap Translator Tapset PROBE::STAP.SYSTEM(3stap)

probe::stap.system.return - Finished a command from stap

stap.system.return 

ret

a return code associated with running waitpid on the spawned process; a non-zero value indicates error

Fires just before the return of the stap_system function, after waitpid.

tapset::stap_staticmarkers(3stap)

November 2020 SystemTap Tapset Reference