Relative Content

Tag Archive for linuxx86perf

per-instruction instruction counts on linux?

If I run my program under perf on linux, it will easily give me the total count of instructions executed. Is it possible to somehow (maybe also with perf but that’s not a requirement) get a count of instructions executed, broken down by instruction? e.g. it might look like this (but with presumably many more instructions and much higher numbers)