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 4F8EBC77B73 for ; Mon, 5 Jun 2023 09:34:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To: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=+Chror1/xY6FANrrMQi0qijLlnaEfI0g76uZaMlkuGM=; b=EX3AG4CYVZyFez WjzqE89QsJVTvrE3LDth99vQHgsqTV4THIFbyID6etu1dOVVE9z+fXyTXqFce8oz/f71xIC6cQG7A Ew4rQX6hAAXPO2x7IxFwmwYk9rNZrsm4lvrttieSkV4N/o7wsCErQ2lo/CZyDJYkFoNzuYqd3i2z7 hnEeN0F7N/aqKYpkZ96Row+3zyARXYCCgzwLXFXkwXk7RwlSATevVlgzdrFY1zxcz6L582tEc+oTP FhfQA12o4j7aI6griYRxSQS7rBJKmfACjW/vzLlBA0YCbTGe5UJ7IEfqf1vuLUwKd5Iv9DphEVyv0 bfvFgrAIADu0Gv68Aq9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q66bI-00Erwk-1y; Mon, 05 Jun 2023 09:34:08 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q66bH-00Erw9-25 for linux-arm-kernel@bombadil.infradead.org; Mon, 05 Jun 2023 09:34:07 +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-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=U6Rs8a1yqf5xr+ElMRlsYvavjPCQLMdxxIEBLNZIQtY=; b=bNe5Cm5J5NgNKQ+iPXJml2TpTZ 1DZrkOF/s1GlcWpc01qwugGA7J1GHRnHXb6eqisktBUsHsrU9BbpluPUo95gp5NVuAfM4rg5sqaYQ ksEsrwiF1NZ+txiRRx+a7yHCFvWUztsmI2LnFuSUg8notAi45jWw9SwGDmgFpQPl50Bn7SIRtFyM8 4YUj/RwEb5kCv4+JvIA+x9JgsFUb1uymk/cceGqa07t9v6vuJcGhS6o4DbX3Z0SJomVrCGSWEjxVN afaRCpZMMuil9ar5pVal2G1NAU6XvJK5abq0wj4Wyk7eu+UsdIBhZ1MZZsPyOBsuyIXh0408B0j8p P2mUf5Wg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q66bC-003KDV-1Q; Mon, 05 Jun 2023 09:34:03 +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 11AE0300274; Mon, 5 Jun 2023 11:34:01 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id EDCD620AC06F5; Mon, 5 Jun 2023 11:34:00 +0200 (CEST) Date: Mon, 5 Jun 2023 11:34:00 +0200 From: Peter Zijlstra To: Mark Rutland Cc: Krzysztof Kozlowski , Ravi Bangoria , jolsa@kernel.org, irogers@google.com, bp@alien8.de, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "regressions@lists.linux.dev" Subject: Re: [REGRESSION][BISECT] perf/core: Remove pmu linear searching code Message-ID: <20230605093400.GK38236@hirez.programming.kicks-ass.net> References: <3abd3693-ad87-9abf-a762-337076638fcc@linaro.org> <20230605092731.GZ4253@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230605092731.GZ4253@hirez.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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 05, 2023 at 11:27:31AM +0200, Peter Zijlstra wrote: > On Mon, Jun 05, 2023 at 08:10:15AM +0100, Mark Rutland wrote: > > > How does this work on x86? Do you have pseudo-PMUs for PERF_TYPE_HARDWARE and > > PERF_TYPE_RAW ? > > Generic code maps TYPE_HARDWARE and TYPE_HW_CACHE to TYPE_RAW for a > first go, only if that fails it will try the actual type. > > And x86 has the (first) CPU PMU has TYPE_RAW, on hybrid, it will > transparently pick the right actual PMU. Oh, I might've misread that last bit.. TYPE_RAW is always the big core, it will not magic the thing. If you want little events you gotta manually find the little pmu. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel