Hi again,
What I'm looking for is creating performance traces. Let's say I've a
program running for 5 seconds, and I wanna collect performance data for
every 10 ms. In the end, I'll have a trace with 500 stats (1 stat for each
10ms). I don't want just the averages, rather I'd like to have a trace. Is
it possible to do that with perf?
Thanks a lot,
On Fri, Feb 11, 2011 at 7:39 PM, stephane eranian <eran...@googlemail.com>wrote:
> On Fri, Feb 11, 2011 at 11:12 PM, Can Hankendi <hanke...@gmail.com> wrote:
> > Thanks, I will try that. Also is it possible to sample, like collecting
> data
> > for every 10ms and reset counters ?
> >
> use perf record for that.
>
> >
> >
> > On Fri, Feb 11, 2011 at 4:07 PM, stephane eranian <
> eran...@googlemail.com>
> > wrote:
> >>
> >> On Fri, Feb 11, 2011 at 9:54 PM, Can Hankendi <hanke...@gmail.com>
> wrote:
> >> > I receive an error when I try to use -A. ""Error: unknown switch"
> >> > How can I update the tool to use -A ability.
> >> >
> >> The tool comes with the kernel in tools/perf.
> >> Use the one from 2.6.38, it will have the -A option for perf stat -a.
> >>
> >> >
> >> >
> >> > On Fri, Feb 11, 2011 at 2:44 PM, Arun Sharma <a...@sharma-home.net>
> >> > wrote:
> >> >>
> >> >> [ bcc: perfmon2-devel, +linux-perf-users ]
> >> >>
> >> >> On Fri, Feb 11, 2011 at 11:16 AM, Can Hankendi <hanke...@gmail.com>
> >> >> wrote:
> >> >> > Hi,
> >> >> >
> >> >> > I'm using 2.6.38 kernel and trying to run performance tests for
> >> >> > individual
> >> >> > cores on my system. But it seems like current kernel doesn't
> include
> >> >> > the
> >> >> > patches for perf events. I tried to collect data per core with -A
> >> >> > and
> >> >> > also
> >> >> > -G parameters but I got "Error: unknown switch". Where can I find
> the
> >> >> > latest
> >> >> > patch for perf tool? How can I update the perf tools so that i can
> >> >> > use
> >> >> > the
> >> >> > new capabilities of perf tool?
> >> >> >
> >> >>
> >> >> Per CPU collection is:
> >> >>
> >> >> perf record -C <cpulist> -e <events>
> >> >>
> >> >> -Arun
> >> >
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
> >> > XE:
> >> > Pinpoint memory and threading errors before they happen.
> >> > Find and fix more than 250 security defects in the development cycle.
> >> > Locate bottlenecks in serial and parallel code that limit performance.
> >> > http://p.sf.net/sfu/intel-dev2devfeb
> >> > _______________________________________________
> >> > perfmon2-devel mailing list
> >> > perfmon2-devel@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
> >> >
> >> >
> >
> >
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel