Older staprun is not able to work properly with recent stap modules. Loading module created by latest version from git using staprun 1.2 gives following kernel messages (repeated many times): Systemtap Error at _stp_do_relocation:24 STP_RELOCATE message size mismatch (264 vs 136) Using old staprun is a convenient scenario when admin/developer writes script and deploys resulting module on many machines. Some distributions already have systemtap in their repositories, but it's usually not the recent version. The solution obviously should not require updating old staprun binaries. Maybe another option similar to --compatibility could be added? There is no point in supporting ancient versions, but 1.2 should not be treated as such.
Created attachment 5338 [details] proposed patch
Thank you, Frank. Works flawlessly (so far).
commit a743989