bcc icon indicating copy to clipboard operation
bcc copied to clipboard

PyPerf requires libpython.so (does not work with a "normal" python invocation).

Open etep opened this issue 3 years ago • 0 comments

It appears that examples/cpp/pyperf/PyPerf requires that a python program be "embedded" into a C program such that when it is running, it maps in libpython.so [1]. (Perhaps there is another way to have a Python program map in libpython?) Can it be made to work both with libpython and "just" python.

[1] Looking at the following line of code, PyPerfUtil.cc:94:

const static std::string kPy36LibName = "libpython3.6";

etep avatar May 24 '22 00:05 etep