Comments (3)
I would be great if the configure script could introspect the python
command found in the PATH to find out which version of Python to build against. This would make it possible to build a pyflame that matches the python versions in the currently enabled virtualenv.
On a related note, it should be possible to build manylinux1 binary packages for pyflames for common versions of Python and upload those packages to PyPI to make it trivial to install pyflame with pip (in a virtualenv or not):
https://github.com/pypa/manylinux
from pyflame.
That is a pretty good idea, and definitely easier than what I was thinking. When I get a chance to work on this I'll start as a first step.
from pyflame.
I have a POC of this in the deephack
branch, which implements this by abusing C pre-processor macros. It can build an executable capable of profiling both py2 and py3 processes.
Things to do before I submit a real PR:
- redo all of the code that figures out what version of python the target executable is (major task)
- remove a few hard-coded things
from pyflame.
Related Issues (20)
- Cannot build on ubuntu 14.04 arm HOT 1
- Building pyflame on aarch64 HOT 3
- Pyflame fails on multithreaded applications with setuid HOT 3
- Work with uwsgi run on Docker HOT 2
- Add support for Python 3.7 HOT 6
- Support for Chrome 58+ style profiles
- flame-chart-json: ValueError: invalid literal for int() with base 10: '(idle) 135\n' HOT 1
- Python 3.6.7 support, seems broken HOT 3
- Profile until the profiled process is terminated? HOT 2
- How can I get the details of each thread ?
- x86_64 ubuntu14.04 not work for Failed to seize PID HOT 2
- Failed to PTRACE_PEEKDATA - in miniconda environment HOT 4
- Failed to PTRACE_PEEKDATA (pid 25920, addr 0x55c4c233b5a8) in anaconda environment HOT 1
- Make pyflame create output after itself being terminated HOT 1
- Package for pypi/pip HOT 2
- pyflame seems to be unmaintained HOT 3
- [RFC] Supports multiples PID (-p PID1 -p PID2 ...)
- Segfaults with --threads in OSQP
- Failed to locate libpython within timeout period when execute pyflame -p PID in python 2.7 HOT 1
- make fail on agx-xavier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyflame.