koute / not-perf

A sampling CPU profiler for Linux
Apache License 2.0
870 stars 41 forks source link

PowerPC support #7

Open lu-zero opened 5 years ago

lu-zero commented 5 years ago

Currently nwind does not support PowerPC, from what I could see to support a new architecture src/arch/${arch}.rs and src/arch/${arch}_get_regs.s are the main components.

here the ABI specification.

koute commented 5 years ago

That's correct. In general as long as a given architecture uses DWARF instead of something custom (*cough* ARM *cough*) it should be pretty straightforward to add support for a new architecture.