-
Antonio Caggiano authored
In order to avoid bugs when multiple concurrent tracing sessions are active, it is mandatory to avoid using static member variables, like `state` or `sampling_period`. Consequently, we move sleeping logic from the main function into the trace callback. Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com> Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
17a38208