According to [these docs](http://sourceware.org/gdb/onlinedocs/gdb/Tracepoint-Restrictions.html) it isn't possible to get a complete stack backtrace from a tracepoint, but it is possible to get a partial trace by recording a section of the stack.

How do I go about doing this?