Closed matthiasdiener closed 3 years ago
Current status: It works on powerpc64, but only for the Python callstack:
$ vmprofshow vmprof_cpuburn.dat tree
100.0% <unknown code> 100.0% <unknown>
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
51.6% |.|.|.|. _next_rand 51.6% vmprof/test/cpuburn.py:15
Not sure if this is a libbacktrace or libunwind issue.
It seems that native profiling is not available in ppc64le (no getcontext in libunwind https://github.com/libunwind/libunwind/issues/33), so setting this as ready for review.
Gentle ping for @fijal @mattip for a review.
Thanks @matthiasdiener
Since we are running CI on travis, I think it would be nice to add a ppc64le job
WIP - not working yet andlooking for feedback.A few questions:
Where areEdit: Nevermind, fixed in https://github.com/vmprof/vmprof-python/pull/237/commits/aa02cc788200b34ec73ebb3afd032746f71aaf06unwind-aarch64
etc. built?vmprof_eval
function?cc: @fijal @mattip