title: How to use TraceX with a small buffer
body: <p>I am developing a microcontroller application using the Azure RTOS ThreadX, and I wanted to use TraceX to publish the results in my master's thesis. The problem is that my application is running on a Cortex M0+ and only have 20k of RAM. From this 20k, I can only allocate 10k to the TraceX buffer.</p>
  <p>I can only think of two ways of solving the problem:</p>
  <ul>
  <li>The TraceX only save, for example, thread switch and event flag signals;</li>
  <li>Be able to put a breakpoint before TraceX starts overwriting and save the buffer, and in the end put it together;</li>
  </ul>
  <p>Someone had the same problem? How do you solve it?</p>