]> sourceware.org Git - systemtap.git/commit
PR29507: generalize sample python tapset for loose python{2,3} library versions
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 19 Aug 2022 19:00:22 +0000 (15:00 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 19 Aug 2022 19:00:22 +0000 (15:00 -0400)
commiteebb031b776625857a893f469dd352452f1da63e
tree3a08f98c0858687b5d6650001b067a5dcbadaccd
parenteddfa1e6568387b63352ab8952abb1dee8bfb6f6
PR29507: generalize sample python tapset for loose python{2,3} library versions

We can rely on stap 4.2+'s probe-context passing to functions to make
it unnecessary to decorate each @cast() with a libpython path name.
This lets these tests work on a range of python libraries.

These helper functions really should go into the standard python tapset,
rather than sit here in the examples, but that's for later.
testsuite/systemtap.examples/general/tapset/python2_local.stp
testsuite/systemtap.examples/general/tapset/python3_local.stp
testsuite/systemtap.examples/general/tapset/python_local.stpm
This page took 0.026426 seconds and 5 git commands to generate.