Skip to contentSkip to conversation

sampling using perf

DISCUSSION Arnav 2 participants 2 messages Oct 29, 2014 – Oct 30, 2014

lore
Share & tools
lore

Arnav

author
#0 lore raw

i want get program counters every 100M instructions. how to achieve this ? please help

#1 lore raw
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