ARMv7 support
Hello,
Are there any plans to add ARMv7 support (For Raspberry Pi and the like?)
Pull requests are very welcome! Usually there is not that much to do for another architecture, still it needs a little fiddling. Have you tried to install vmprof from source on raspberry pi?
Yes, it breaks when trying to compile _vmprof.c -> with error 'platform not supported'
Hi, any updates on this topic?
You can try beb98c if that works for you. I have tested it on an armv7l (raspberry pi) and it compiles. I have tried the cpuburn.py example and it gives some reasonable output:
(vmprof3) pi $ python vmprof/test/cpuburn.py
Running for 30 seconds ..
Actual run-time: 1077.972173690796 / Requested run-time: 1000, 2 iterations. Total iterations: 200000
....
(vmprof3) pi $ vmprofshow vmprof_cpuburn.dat
100.0% <module> 100.0% vmprof/test/cpuburn.py:1
100.0% .. test 100.0% vmprof/test/cpuburn.py:36
100.0% .... burn 100.0% vmprof/test/cpuburn.py:27
100.0% ...... _iterate 100.0% vmprof/test/cpuburn.py:20
52.2% ........ _next_rand 52.2% vmprof/test/cpuburn.py:15