DOKK / manpages / debian 12 / systemtap-doc / probe::stap.cache_add_mod.3stap.en
PROBE::STAP.CACHE_(3stap) SystemTap Translator Tapset PROBE::STAP.CACHE_(3stap)

probe::stap.cache_add_mod - Adding kernel instrumentation module to cache

stap.cache_add_mod 

dest_path

the path the .ko file is going to (incl filename)

source_path

the path the .ko file is coming from (incl filename)

Fires just before the file is actually moved. Note: if moving fails, cache_add_src and cache_add_nss will not fire.

tapset::stap_staticmarkers(3stap)

November 2022 SystemTap Tapset Reference