linux perf record: difference between count (-c) and frequency (-F) options
问题 I'm trying to understand what the -c and -F options of perf record really do but I cannot explain what I'm seeing. I'm running these commands: perf record -a -F <frequency> sleep 1 and perf record -a -c <count> sleep 1 trying different values of frequency and count . The results I get are the following In the first table I set the frequency and in the second one the count. How do frequency and count affect the number of events? I thought the number of events was independent on the frequency