Perf Stat vs Perf Record
问题 I am confused about the difference between perf record and perf stat when it comes to counting events like page-faults, cache-misses and anything else from perf list . I have 2 questions below the answer to "Question 1" might also help answer "Question 2" but I wrote them out explicitly in the case that it doesn't. Question 1: It is my understanding that perf stat gets a "summary" of counts but when used with the -I option gets the counts at the specified millisecond interval. With this