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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D1B5AC35FF1 for ; Tue, 11 Mar 2025 11:37:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fRHIjCyQ/PiBBvxdoAc2u4R5/Wp/k6YbQ2LIfCHzQ6U=; b=TkK8Lt5CNYXunnTQHvQv08EYGJ GWWYAP46ln60n/rTP2NG5z6EBW1ZbqblfUgoeWDz2FESSDcljzmqK53LLxg5ktbXZmVwFPsfShtxW 7Or2SsOOQ5GogawVPEzq9VlFYLDBaHjbE3H7MBewY3ZuOP/4rHcMaw7spXFpPvATBWr00mFRLJ6Hp WnBWoJHrAT7osybZYiknp5Q00dy/QAm7nGgkvg4Fls+kq2qVeSfgP2ORArvzvRcspF4fb1DeYOHcF SosK314MreXzAf2LMEAExdoCDKnLuC3Z0d6RrrvktxfI2p+taZQsC7L7NNcJnHjcSv4Zu/cXNHKu8 LmZxeVfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1trxv7-00000005UkR-38sv; Tue, 11 Mar 2025 11:37:13 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1trxtU-00000005UUA-2vFn for linux-arm-kernel@bombadil.infradead.org; Tue, 11 Mar 2025 11:35:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=fRHIjCyQ/PiBBvxdoAc2u4R5/Wp/k6YbQ2LIfCHzQ6U=; b=Xbb8eFP8WKMU6pPMHzrwRD3zcz 1YInEF1jdvWWpQpk7wfSujd4RLlLu4i26vK5cCW61YjrlYPc0YgFHSUczx1Yy741YZ7ELzUpp9MnZ +2RPzVN7s9wDQMYEypiHXSGmbyGzH7/ZBCDtPNGEktjX4LlrCT/9mo6Kh8NbXJ3shpY+m+Pb2U7J7 DopRK4fBm2JZCEqy00xvCEOthBO/fowl3DHQzYAQCdCZnwAaVFon6nL0ofqjDH35XNmNTrrf7Q9pv qTk5bqjjp0B5/yRihUltc424AuwQoQd3BCznH/a5s7bdrs68BpujxOFMX7E8Cm3xDaPfU82bCU7SN gK99Q09Q==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.98 #2 (Red Hat Linux)) id 1trxtS-000000028WB-2LuY; Tue, 11 Mar 2025 11:35:30 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 252CE3002C7; Tue, 11 Mar 2025 12:35:30 +0100 (CET) Date: Tue, 11 Mar 2025 12:35:30 +0100 From: Peter Zijlstra To: mark.barnett@arm.com Cc: mingo@redhat.com, acme@kernel.org, namhyung@kernel.org, irogers@google.com, ben.gainey@arm.com, deepak.surti@arm.com, ak@linux.intel.com, will@kernel.org, james.clark@arm.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 3/5] perf: Allow adding fixed random jitter to the alternate sampling period Message-ID: <20250311113530.GA9968@noisy.programming.kicks-ass.net> References: <20250307202247.648633-1-mark.barnett@arm.com> <20250307202247.648633-4-mark.barnett@arm.com> <20250311113128.GD19424@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250311113128.GD19424@noisy.programming.kicks-ass.net> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Mar 11, 2025 at 12:31:29PM +0100, Peter Zijlstra wrote: > diff --git a/kernel/events/core.c b/kernel/events/core.c > index b87a5ac42ce2..e5a93edf3b5f 100644 > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -8,6 +8,7 @@ > * Copyright © 2009 Paul Mackerras, IBM Corp. > */ > > +#include "linux/random.h" > #include > #include > #include Argh, this is neovim trying to be 'helpful'. If anybody reading this knows how to make it stop adding headers, please let me know, its driving me nuts.