Is there a good open-source linux tool to measure C++ std::mutex lock contention?
the really old (and maybe a bit skewed) way to do that is "strace -f -c <program>"
-
-
if you want a very low-perf-impact, fancy way, you could also use PERF_EVENT_IOC_SET_BPF with two kprobe perf fds
-
then use eBPF with an eBPF map to count in-kernel, and let userspace grab those statistics in the end
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.