Counting Counters on Zen 4: Identifying the Cause of a Segfault using my CPU's Manual
Introduction While working on my previous blog post , I had tried to use likwid-perfctr instead of perf-stat . likwid-perfctr -e segfaulted on my machine. This article goes into how I triaged this issue and reported it to the LIKWID devs. It was “fun” in the way that having to open your CPU’s processor programming reference manual is fun. The Crash Just like perf stat ,…