koute / not-perf

A sampling CPU profiler for Linux
Apache License 2.0
868 stars 40 forks source link

Add support for GCC and Android armv7-a. #17

Open unpluggedcoder opened 4 years ago

unpluggedcoder commented 4 years ago

Only tested on my own Android AArch64 and armv7-a environment 😀

fabricedesre commented 3 years ago

@unpluggedcoder I tried this patch on 32bits android, but I'm facing an issue with the fork() interception: The current code expects libc, not bionic, and uses __libc_fork as the external symbol. But bionic only exposes fork with no alias. Did you workaround that somehow?

unpluggedcoder commented 3 years ago

I only use the nwind crate from the memory-profiler for Android platform. Haven't try not-perf.