linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* what is the default frequency and default event period set in "perf record -TP"
@ 2013-11-06 23:52 Peipei Wang
  2013-11-07  0:38 ` David Ahern
  0 siblings, 1 reply; 2+ messages in thread
From: Peipei Wang @ 2013-11-06 23:52 UTC (permalink / raw)
  To: perf group, David Ahern

Hi all/David,

I want to know the frequency in the following command:
        perf record -e cycles -e cache-misses -e cache-references -TP
-o abc.data command

I looked up in the perfwiki, and it says the default value is 1000.
However, when I specify this parameter in the above command,that is,
"perf record -e cycles -e cache-misses -e cache-references -TP -F 1000
-o abc.data command", I found a significant difference between the
file data size.

Using the first command, the size of "abc.data" is about 500MB, but
the second command could generate the raw data size up to over 10GB.


I could not figure out the reason. Is it might because sampling mode
of cycles is based on frequency while the other two events are based
on event period?


Best wishes.
Yours,
Wang Peipei

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

end of thread, other threads:[~2013-11-07  0:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-06 23:52 what is the default frequency and default event period set in "perf record -TP" Peipei Wang
2013-11-07  0:38 ` David Ahern

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).