Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967Ab3IJMnM (ORCPT ); Tue, 10 Sep 2013 08:43:12 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:64358 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470Ab3IJMnL (ORCPT ); Tue, 10 Sep 2013 08:43:11 -0400 MIME-Version: 1.0 In-Reply-To: References: <20130903132933.GA24955@gmail.com> <20130909100544.GI31370@twins.programming.kicks-ass.net> <20130910115306.GA6091@gmail.com> From: Ramkumar Ramachandra Date: Tue, 10 Sep 2013 18:12:29 +0530 Message-ID: Subject: Re: PEBS bug on HSW: "Unexpected number of pebs records 10" (was: Re: [GIT PULL] perf changes for v3.12) To: eranian@gmail.com Cc: Ingo Molnar , Peter Zijlstra , Linus Torvalds , Linux Kernel Mailing List , Arnaldo Carvalho de Melo , Thomas Gleixner , Andi Kleen Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1640 Lines: 28 Stephane Eranian wrote: > [ 2229.021966] Call Trace: > [ 2229.021967] [] dump_stack+0x46/0x58 > [ 2229.021976] [] warn_slowpath_common+0x8c/0xc0 > [ 2229.021979] [] warn_slowpath_fmt+0x46/0x50 > [ 2229.021982] [] intel_pmu_drain_pebs_hsw+0xa8/0xc0 > [ 2229.021986] [] intel_pmu_handle_irq+0x220/0x380 > [ 2229.021991] [] ? sched_clock_cpu+0xc5/0x120 > [ 2229.021995] [] perf_event_nmi_handler+0x34/0x60 > [ 2229.021998] [] nmi_handle.isra.3+0x88/0x180 > [ 2229.022001] [] do_nmi+0xe0/0x330 > [ 2229.022004] [] end_repeat_nmi+0x1e/0x2e > [ 2229.022008] [] ? intel_pmu_pebs_enable_all+0x33/0x40 > [ 2229.022011] [] ? intel_pmu_pebs_enable_all+0x33/0x40 > [ 2229.022015] [] ? intel_pmu_pebs_enable_all+0x33/0x40 > [ 2229.022016] <> [] intel_pmu_enable_all+0x23/0xa0 > [ 2229.022021] [] x86_pmu_enable+0x274/0x310 > [ 2229.022025] [] perf_pmu_enable+0x27/0x30 > [ 2229.022029] [] perf_event_context_sched_in+0x79/0xc0 Unnecessary repetition of the same task on multiple cores seems to be the issue, although I'm not sure. Haven't gone through mingo's trace yet. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/