stlink: Use callback to increase frequency of trace data sampling