peadar / pstack

Print stack traces from running processes, or core files. Supports aarch64, x86_64, and i386
BSD 2-Clause "Simplified" License
128 stars 30 forks source link

does there is a plan pstack to support powerpc linux ? #3

Open RogerYaozhenyu opened 6 years ago

RogerYaozhenyu commented 6 years ago

hi,
does there is a plan to support powerpc linux platform? thanks . or , if i want to migrate this to powerpc , could you give me some advise? thanks.

peadar commented 6 years ago

It hadn't crossed my mind. I don't have any physical hardware, but if PPC uses normal DWARF unwinding tables it should be pretty easy to make it work. I'll fire up a qemu instance and see how far I get sometime this weekend.

On 9 August 2018 at 04:53, RogerYaozhenyu notifications@github.com wrote:

hi, does there is a plan to support powerpc linux platform? thanks .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/peadar/pstack/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnmjbLje_Ij4X_B9iE-5Vl3gYjXAen3ks5uO7IfgaJpZM4V1AFl .

RogerYaozhenyu commented 5 years ago

thanks for your reply , i checked some documents about DWARF , i fund that there are some difference between arm and ppc archeture. for arm , it is the same as x86, both are little endian,but ppc is big endian . i will go to dig into more about DWARF unwinding table. if you could point me that how to learn it , i will appreciate it in advance . thanks .