Re: 2.6.37 kernel warning in perf_events code

2011-02-10 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 09, 2011 at 06:50:09PM -0800, Arun Sharma escreveu: > [ Not sure if this is known and fixed in newer kernels. My machine > becomes unusable after this warning triggers ] > > perf record -g -p cs -o csw.data -- sleep 3 What kernel are you using? Peter, rings any bells? - Arnaldo >

Re: 2.6.37 kernel warning in perf_events code

2011-02-10 Thread Arun Sharma
On Thu, Feb 10, 2011 at 11:08 AM, Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 09, 2011 at 06:50:09PM -0800, Arun Sharma escreveu: >> [ Not sure if this is known and fixed in newer kernels. My machine >> becomes unusable after this warning triggers ] >> >> perf record -g -p cs -o csw.data -- sle

Re: 2.6.37 kernel warning in perf_events code

2011-02-10 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 10, 2011 at 12:02:20PM -0800, Arun Sharma escreveu: > On Thu, Feb 10, 2011 at 11:08 AM, Arnaldo Carvalho de Melo > wrote: > > Em Wed, Feb 09, 2011 at 06:50:09PM -0800, Arun Sharma escreveu: > >> [ Not sure if this is known and fixed in newer kernels. My machine > >> becomes unusable af

Re: 2.6.37 kernel warning in perf_events code

2011-02-10 Thread Arun Sharma
On Thu, Feb 10, 2011 at 12:20 PM, Arnaldo Carvalho de Melo wrote: > >> >> perf record -g -p cs -o csw.data -- sleep 3 > > Arun, are you shure the above line is right? I guess it should read: > > > perf record -g -p -e cs -o csw.data -- sleep 3 > > To specify the context switches soft event, righ

Re: 2.6.37 kernel warning in perf_events code

2011-02-10 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 10, 2011 at 12:46:07PM -0800, Arun Sharma escreveu: > On Thu, Feb 10, 2011 at 12:20 PM, Arnaldo Carvalho de Melo wrote: > >> >> perf record -g -p cs -o csw.data -- sleep 3 > > Arun, are you shure the above line is right? I guess it should read: > > perf record -g -p -e cs -o csw.dat

Re: 2.6.37 kernel warning in perf_events code

2011-02-10 Thread Arun Sharma
On Thu, Feb 10, 2011 at 4:42 PM, Arnaldo Carvalho de Melo wrote: > Is it possible for you to test this with 2.6.38-rc4? At least the user > level tools, just do: I tried the 2.6.38rc3 perf binary on two machines: kernel = 2.6.37: The machine hung solid on the first try. kernel = 2.6.38rc3: I cou