sampling using perf
i want get program counters every 100M instructions. how to achieve this ? please help
Quoted 2 lines · Arnav
i want get program counters every 100M instructions. how to achieve this ? please help
Based on what's described here:
https://perf.wiki.kernel.org/index.php/Tutorial#Collecting_samples
Does this work?
perf record -e instructions:u -c 100000000 workload perf script -f ip
Chris
Signature · 3 lines
Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project