code: public static List<TracyEvent> getEvents() {
          TracyThreadContext ctx = threadContext.get();
          List<TracyEvent> events = EMPTY_TRACY_EVENT_LIST;
          if (isValidContext(ctx)) {
              events = ctx.getPoppedList();
          }
          return events;
      }
docs: Once all work has been done, and TracyEvents are ready to be collected you can collect them using this method
  @return list of TracyEvents