Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Problems using mmv with Python #90
Comments
|
At least one bug evident in the python mmv bindings: diff --git a/src/python/pcp/mmv.py b/src/python/pcp/mmv.py which triggers a stack-smashing crash under glibc/ffi |
taintedkernel
referenced this issue
May 13, 2016
Closed
Python bindings: Fixing bug where name isn't set in mmv_metric #91
taintedkernel
commented
May 13, 2016
|
Actually see a few other issues as well, going to continue to work on this. |
natoscott
closed this
May 19, 2016
|
Oops, meant to comment on close: "all should be resolved in pcp git master branch now ... lemme know if issues persist" |
taintedkernel commentedMay 13, 2016
Registering this issue after discussing the problem in #pcp without any resolution.
After discovering the ability to instrument Python code with PCP, I attempted to do so with example code provided in the module - src/python/pcp/mmv.py. With a few modifications to get it to run, I had problems retrieving the data with pminfo. I also compiled the acme.c example, which worked just fine - pminfo -f mmv saw it without problems (and /var/lib/pcp/tmp/mmv/acme had data). Strace returned nothing for /var/lib/pcp/tmp/mmv on the Python code, so something appears to be broken on the binding.
This is on a RHEL6 box with latest packages (3.11.3 as of writing) built from scratch via Makepkgs and Python2.6. I can provide the full strace or example Python code if necessary.