perf record -e icache.ifdata_stall ./test-program-binary
perf report
This is on linux, btw, but it should work fine with wine.