Re: 2.6.37 kernel warning in perf_events code
From: Arnaldo Carvalho de Melo <hidden>
Date: 2011-02-10 19:08:56
Also in:
lkml
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 <pid> cs -o csw.data -- sleep 3
What kernel are you using? Peter, rings any bells? - Arnaldo
Feb 7 15:28:36 localhost kernel: WARNING: at kernel/perf_event.c:1302 task_ctx_sched_out+0x45/0x67() .. Feb 7 15:28:36 localhost kernel: [<ffffffff8103c60d>] warn_slowpath_null+0x15/0x17 Feb 7 15:28:36 localhost kernel: [<ffffffff8109e3b6>] task_ctx_sched_out+0x45/0x67 Feb 7 15:28:36 localhost kernel: [<ffffffff8109e3b6>] task_ctx_sched_out+0x45/0x67 Feb 7 15:28:36 localhost kernel: [<ffffffff810a207f>] perf_event_exit_task+0xca/0x196 Feb 7 15:28:36 localhost kernel: [<ffffffff810a207f>] perf_event_exit_task+0xca/0x196 Feb 7 15:28:36 localhost kernel: [<ffffffff8103fb3f>] do_exit+0x2c5/0x6e6 Feb 7 15:28:36 localhost kernel: [<ffffffff8103fb3f>] do_exit+0x2c5/0x6e6 Feb 7 15:28:36 localhost kernel: [<ffffffff81040021>] complete_and_exit+0x0/0x1e Feb 7 15:28:36 localhost kernel: [<ffffffff81040021>] complete_and_exit+0x0/0x1e Feb 7 15:28:36 localhost kernel: [<ffffffff8100293b>] system_call_fastpath+0x16/0x1b Feb 7 15:28:36 localhost kernel: [<ffffffff8100293b>] system_call_fastpath+0x16/0x1b 1301 1302 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx)) 1303 return; -Arun