* sampling using perf
@ 2014-10-29 17:44 Arnav
2014-10-30 21:03 ` Christopher Covington
0 siblings, 1 reply; 2+ messages in thread
From: Arnav @ 2014-10-29 17:44 UTC (permalink / raw)
To: linux-perf-users
i want get program counters every 100M instructions.
how to achieve this ? please help
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sampling using perf
2014-10-29 17:44 sampling using perf Arnav
@ 2014-10-30 21:03 ` Christopher Covington
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Covington @ 2014-10-30 21:03 UTC (permalink / raw)
To: Arnav; +Cc: linux-perf-users
On 10/29/2014 01:44 PM, Arnav wrote:
> 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
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-30 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29 17:44 sampling using perf Arnav
2014-10-30 21:03 ` Christopher Covington
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).