I had a go at writing a Python to .stp compiler Motivation: gdb can be scripted in Python, and I have a substantial body of Python code that uses gdb's Python interface to poke at backtraces and values in inferior processes. It seems worth sharing that code somehow with SystemTap. I'm attaching the minimal "compiler" I wrote (though it's far too premature for that :) )
Created attachment 5985 [details] Very early and primitive .py -> .stp converter
Created attachment 5986 [details] The input .py file I've been using $ sudo py2stp.py test.py works, generating a minimal test.stp, which prints "hello world" as it starts
(progress on this clever idea is unlikely)