Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information