From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaldo Carvalho de Melo Subject: Re: 2.6.37 kernel warning in perf_events code Date: Thu, 10 Feb 2011 17:08:43 -0200 Message-ID: <20110210190843.GE20676@ghostprotocols.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx1.redhat.com ([209.132.183.28]:46189 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751334Ab1BJTIz (ORCPT ); Thu, 10 Feb 2011 14:08:55 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Arun Sharma Cc: Peter Zijlstra , Linux Kernel Mailing List , linux-perf-users@vger.kernel.org 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 > 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: [] > warn_slowpath_null+0x15/0x17 > Feb 7 15:28:36 localhost kernel: [] > task_ctx_sched_out+0x45/0x67 > Feb 7 15:28:36 localhost kernel: [] > task_ctx_sched_out+0x45/0x67 > Feb 7 15:28:36 localhost kernel: [] > perf_event_exit_task+0xca/0x196 > Feb 7 15:28:36 localhost kernel: [] > perf_event_exit_task+0xca/0x196 > Feb 7 15:28:36 localhost kernel: [] do_exit+0x2c5/0x6e6 > Feb 7 15:28:36 localhost kernel: [] do_exit+0x2c5/0x6e6 > Feb 7 15:28:36 localhost kernel: [] complete_and_exit+0x0/0x1e > Feb 7 15:28:36 localhost kernel: [] complete_and_exit+0x0/0x1e > Feb 7 15:28:36 localhost kernel: [] > system_call_fastpath+0x16/0x1b > Feb 7 15:28:36 localhost kernel: [] > system_call_fastpath+0x16/0x1b > > > 1301 > 1302 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx)) > 1303 return; > > -Arun