cpudist: Protect against potentially negative time deltas
It seems from experimentation that the calculated timestamps between on- and off-CPU switch events can produce incorrect results, with a later event having a smaller timestamp. Discard events when the resulting delta time would be negative.
Showing
Please register or sign in to comment