All of lore.kernel.org
 help / color / mirror / Atom feed
* Getting started with perf; a couple of questions
@ 2013-05-31  5:26 Andrew Davidoff
  2013-05-31  5:41 ` David Ahern
  0 siblings, 1 reply; 9+ messages in thread
From: Andrew Davidoff @ 2013-05-31  5:26 UTC (permalink / raw)
  To: linux-perf-users

Hi,

I am getting started with perf and have a couple of questions.

* Does the version of perf being used need to be built from the source
for the running kernel, or is it supported to use a build from a newer
kernel source? I am currently running perf built from 3.9.4 kernel
sources on a machine running kernel 2.6.32.

* I am getting event output with a specific `perf stat` invocation,
but when I run the same invocation under `perf record`, `perf report`
complains "The perf.data file has no samples". Why would that be? The
invocation looks like this:

perf record -e cache-misses,page-faults,minor-faults,major-faults,cpu-migrations,L1-dcache-load-misses,L1-dcache-store-misses,L1-icache-load-misses,LLC-load-misses,LLC-store-misses,dTLB-load-misses,dTLB-store-misses,iTLB-load-misses
-- {program} {arg} {arg} ... {arg}


Any info/advice is appreciated.

Thanks.
Andy

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-06-08  0:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-31  5:26 Getting started with perf; a couple of questions Andrew Davidoff
2013-05-31  5:41 ` David Ahern
2013-05-31  7:09   ` Andrew Davidoff
2013-05-31 20:35     ` Andrew Davidoff
2013-06-06 14:01       ` David Ahern
2013-06-06 18:26         ` Andrew Davidoff
2013-06-07 15:05           ` David Ahern
2013-06-07 23:49             ` Andrew Davidoff
2013-06-08  0:08               ` David Ahern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.