From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2A4AC433F5 for ; Tue, 21 Dec 2021 11:22:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237056AbhLULWA (ORCPT ); Tue, 21 Dec 2021 06:22:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230391AbhLULV7 (ORCPT ); Tue, 21 Dec 2021 06:21:59 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B74ECC061574 for ; Tue, 21 Dec 2021 03:21:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=h/1jCTTprJQtIMsCfPUfXow4tl5XPnfP0BfgxIdMdjI=; b=glWm5qBcjxcCMwcY0p88TsHtKw G2cHr9fsXevCxqp+ggwVeMfNzIKFQ2Moh2kfh8J4Qiy05iQgo4gAKj+DxnJ7+Cy9uCTaBgy+i6Ym7 gET5qtZFexhBovuEgL0d9mfz60UCp5ABlxGT/4l7pjPAnKFNlcRm+q9t3scOevZZjIJpRgq49Yt9D Ps9SJDuGPFtVY7F6OW70Y3Jb2+mOFcBG9MGtevwg4WcWH3pT8GJcCI5fsylr33evhhW3z1Du/2OoU DVx5o4E1BL2utbTZOC7RZGke+3TF3aT7crrdVjjMm0nzRtLuXHMIs32xo3fdna+fKZE3r4gpt4rYA LcVv5KGw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzdD9-002its-JP; Tue, 21 Dec 2021 11:21:39 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id A08EE30003C; Tue, 21 Dec 2021 12:21:38 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8B6503005A8F7; Tue, 21 Dec 2021 12:21:38 +0100 (CET) Date: Tue, 21 Dec 2021 12:21:38 +0100 From: Peter Zijlstra To: Song Liu Cc: Namhyung Kim , Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , Mark Rutland , Alexander Shishkin , LKML , Stephane Eranian , Andi Kleen , Ian Rogers Subject: Re: [PATCH v3] perf/core: Set event shadow time for inactive events too Message-ID: References: <20211205224843.1503081-1-namhyung@kernel.org> <20211210103341.GS16608@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 21, 2021 at 07:23:16AM +0000, Song Liu wrote: > I think we need to forward the declaration of calc_timer_values? Curse these last minute cleanups :-) I've moved the whole function up. > With that fixed, this passes the test for enabled time. > > Tested-by: Song Liu Thanks both!