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

configurable maxframes #24

Closed pspacek closed 2 months ago

pspacek commented 2 months ago

Hello and thank you for pstack!

Could you please expose maxframes as a configurable parameter? Sometimes the hardcoded value 20 is too limiting.

Thank you.

pspacek commented 2 months ago

Please ignore me, it can already be done using option -M. I got confused because it's not mentioned in the man page but it is present in pstack -h.