Re: [tip:perf/core] perf tools: Allow multiple threads or processesin record, stat, top

From: Ingo Molnar
Date: Sat Mar 03 2012 - 02:42:21 EST



* David Ahern <dsahern@xxxxxxxxx> wrote:

> That first cup of coffee is so important.
>
> On 3/2/12 3:56 AM, Ingo Molnar wrote:
> >phoenix:~> perf record -a sleep 1
> >[ perf record: Woken up 1 times to write data ]
> >[ perf record: Captured and wrote 0.023 MB perf.data (~988 samples) ]
> >phoenix:~> perf report --stdio
> >Warning:
> >The perf.data file has no samples!
> ># ========
> ># captured on: Fri Mar 2 12:01:41 2012
> ># hostname : phoenix
> ># os release : 3.3.0-rc5+
> ># perf version : 3.3.rc5.1698.g68a63a.dirty
> ># arch : x86_64
> ># nrcpus online : 16
> ># nrcpus avail : 16
> ># cpudesc : Quad-Core AMD Opteron(tm) Processor 8356
> ># cpuid : AuthenticAMD,16,2,3
>
> Would you mind adding this patch:
> https://lkml.org/lkml/2012/2/29/217
> and see if it fixes your problem?

That one appears to have done the trick - I committed it
yesterday, shortly after I did the testing - unknowing that it
would fix this bug as well :-)

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/