linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf record: per-event sampling period
@ 2013-06-17 18:18 Yuanfang Chen
  2013-06-18  6:39 ` Runzhen Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Yuanfang Chen @ 2013-06-17 18:18 UTC (permalink / raw)
  To: linux-perf-users

Hi all,

Is the per-event sampling period supported now? I'm searching around,
found [1] using "-c 100,1000" method, [2] using
"cpu/----/period=1000". However, neither of these work in my box
(fedora 18, 3.8.11-200.fc18.x86_64, with perf package from fedora 18
repo ).

thanks,
yuanfang

[1]https://lkml.org/lkml/2010/11/23/122
[2]http://cscads.rice.edu/workshops/summer-2012/slides/performance-tools/CSCADS_2012_perf_events_status_update.pdf

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

* Re: perf record: per-event sampling period
  2013-06-17 18:18 perf record: per-event sampling period Yuanfang Chen
@ 2013-06-18  6:39 ` Runzhen Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Runzhen Wang @ 2013-06-18  6:39 UTC (permalink / raw)
  To: Yuanfang Chen; +Cc: linux-perf-users

Hi, Yuanfang,

Usually, the package from fedora offical repo is stable but not
includes some new feature, so, maybe you can download the latest 
linux kernel source code from kernel.org, change directory to 
tools/perf .

Then, be a root to 'make', and try ./perf record .......

the perf tool is small, compile it needs no more than 1min, please 
have a try. ;-)

Thanks
Runzhen

On Mon, Jun 17, 2013 at 02:18:52PM -0400, Yuanfang Chen wrote:
> Hi all,
> 
> Is the per-event sampling period supported now? I'm searching around,
> found [1] using "-c 100,1000" method, [2] using
> "cpu/----/period=1000". However, neither of these work in my box
> (fedora 18, 3.8.11-200.fc18.x86_64, with perf package from fedora 18
> repo ).
> 
> thanks,
> yuanfang
> 
> [1]https://lkml.org/lkml/2010/11/23/122
> [2]http://cscads.rice.edu/workshops/summer-2012/slides/performance-tools/CSCADS_2012_perf_events_status_update.pdf
> --
> To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-06-18  6:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 18:18 perf record: per-event sampling period Yuanfang Chen
2013-06-18  6:39 ` Runzhen Wang

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