Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751558AbdIEM7q (ORCPT ); Tue, 5 Sep 2017 08:59:46 -0400 Received: from merlin.infradead.org ([205.233.59.134]:54848 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751110AbdIEM7n (ORCPT ); Tue, 5 Sep 2017 08:59:43 -0400 Date: Tue, 5 Sep 2017 14:59:24 +0200 From: Peter Zijlstra To: Alexey Budankov Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Andi Kleen , Kan Liang , Dmitri Prokhorov , Valery Cherepennikov , Mark Rutland , Stephane Eranian , David Carrillo-Cisneros , linux-kernel , Vince Weaver , Thomas Gleixner Subject: Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping Message-ID: <20170905125924.pjn5reyh66bu7jc6@hirez.programming.kicks-ass.net> References: <20170822204743.GR32112@worktop.programming.kicks-ass.net> <2a426aa2-42c8-e839-1cec-aa3971651f3e@linux.intel.com> <20170831171837.njnc6r6elsvkl7lt@hirez.programming.kicks-ass.net> <46f72a3f-f18b-0227-3d78-fb23c8a6e18e@linux.intel.com> <20170904120843.oazlv73phoxoinlj@hirez.programming.kicks-ass.net> <385005b6-51ea-383e-df81-43365f3f5152@linux.intel.com> <20170904154145.xl4fyg7vhgbnmhwi@hirez.programming.kicks-ass.net> <9c3c1fc7-5a2e-2745-dab1-390dc7d58d50@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 981 Lines: 24 On Tue, Sep 05, 2017 at 03:06:26PM +0300, Alexey Budankov wrote: > [ 6614.226305] WARNING: CPU: 45 PID: 43385 at kernel/events/core.c:239 event_function+0xb3/0xe0 > [ 6614.226563] Call Trace: > [ 6614.226577] remote_function+0x3b/0x50 > [ 6614.226585] generic_exec_single+0x9a/0xd0 > [ 6614.226592] smp_call_function_single+0xc8/0x100 > [ 6614.226599] cpu_function_call+0x43/0x60 > [ 6614.226606] ? cpu_clock_event_read+0x10/0x10 > [ 6614.226612] perf_event_read+0xc7/0xe0 > [ 6614.226619] ? perf_install_in_context+0xf0/0xf0 > [ 6614.226625] __perf_read_group_add+0x25/0x180 > [ 6614.226632] perf_read+0xcb/0x2b0 > [ 6614.226640] __vfs_read+0x37/0x160 > [ 6614.226648] ? security_file_permission+0x9d/0xc0 > [ 6614.226655] vfs_read+0x8c/0x130 > [ 6614.226661] SyS_read+0x55/0xc0 > [ 6614.226670] do_syscall_64+0x67/0x180 > [ 6614.226678] entry_SYSCALL64_slow_path+0x25/0x25 Hmm.. must be the perf_event_read() rewrite, let me stare at that. Thanks for testing.