Hacker News new | ask | show | jobs
by caf 3380 days ago
Yes, this is what "perf stat <command>" does. Add more -d options to see more counters, or use -e to ask for specific counter(s) ("perf list" to list them).