gh-156703: Set LD_LIBRARY_PATH in SystemTap trace commands · python/cpython@ee07f6f · GitHub
Skip to content

Commit ee07f6f

Browse files
committed
gh-156703: Set LD_LIBRARY_PATH in SystemTap trace commands
Prefix commands passed to stap -c with LD_LIBRARY_PATH via env, when probes reside in libpython. This allows the interpreter to find libpython when staprun does not preserve the loader path.
1 parent f54fd2a commit ee07f6f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lib/test/test_dtrace.py

Lines changed: 11 additions & 0 deletions

0 commit comments

Comments
 (0)