Support configurable backtrace collection