[WIP][FX] Optionally record stack traces when symtracing (#53081)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/53081
Test Plan: Imported from OSS
Reviewed By: ansley
Differential Revision: D26742402
Pulled By: jamesr66a
fbshipit-source-id: 7987f9ddf061f6de3b4a638d98e0fae6d68d90c6