Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf-tools: Fix klockstat to finish with -R
On extremely heavy lock contention, klockstat can be stuck in the loop in print_stats() since it keeps adding new entries to the stat_map. Instead of deleting the elements in the loop, process them all and then delete them at the end.
- Loading branch information