Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp755290rwe; Fri, 14 Apr 2023 09:16:56 -0700 (PDT) X-Google-Smtp-Source: AKy350bNa1juHoWy9pycYLmqZV/JlgaKXTTCjcoJbZbQH+u9udCDsqSwlqIRgfCx4815Cf/Fp4hJ X-Received: by 2002:a9d:6283:0:b0:69f:9de:699f with SMTP id x3-20020a9d6283000000b0069f09de699fmr3149172otk.22.1681489015813; Fri, 14 Apr 2023 09:16:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681489015; cv=none; d=google.com; s=arc-20160816; b=rsz9FGUc3OH2MKSZY+YAIQ0YdNxRHsWZ+v58jjHXLF+tN3obRcJ7UH6PTKx6DaY8qo NqknhKM+jqvxaNzfw0RRTdvO1Yw1jCR69uLNWfVIyMFTAm6L2/uhW12ExAlT4Gbv7+z4 jqPcv5JHsw7bC4q9E1J3bOGTNXggLffuHt4BTNASzzj/PMLk3HpbyjId7WMeyjAYhoMR IY2B1cv1a7GVC6PCUZhC71JHN4i2ESvqQlFxPY/nHKhQukd7IcwgdzBL2tz/xG4qQkzV 2yYc7JShiQhFc5n6zg7wyMBLmcpQ07jYsujKAQdI7OVxBz7SwUPoZcDsRW/oWTiBNj43 STTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=pOItpe4K2B/uyL9ziK41aa/WOEdcNwwsDocQo6Y63jE=; b=Wrh1nP/APQHl6OfOd8FkWAy+r5w9cBNxMjL7hp4mp48cXkJTaqk62y0RM8EBAvA/CW ksOgYT2O6Y6+eb1UhCKITnG7jtygkNCNp38z8Lf0bZsV1wvUKL4ASwp7xFlTCiyFEAMS vm3RKyeNAk9sNVKEpbg1uhMffLjolh3IKXC9j93RM4WPjlpKSN1AeIEY2xKKDDmuPOFQ Muam0PdbUAxeyzbTo3SuhHE4bd+MC/bIBRnEbRvYhzc3kZjRQtcfhj+crwlrYBi3m721 w4nLjIrY/p8JyB5l9wGQQ0ObpROQbKMO0qAmP9F+VRwYH1Qg4HUoQaXE4lA8RFGIM9qN aoMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MtDEII8X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bq11-20020a056830388b00b006a4404569d4si2246644otb.133.2023.04.14.09.16.42; Fri, 14 Apr 2023 09:16:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MtDEII8X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229935AbjDNQKF (ORCPT + 99 others); Fri, 14 Apr 2023 12:10:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229878AbjDNQKE (ORCPT ); Fri, 14 Apr 2023 12:10:04 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9D0272BB for ; Fri, 14 Apr 2023 09:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=pOItpe4K2B/uyL9ziK41aa/WOEdcNwwsDocQo6Y63jE=; b=MtDEII8Xl2535nBe2KGTmM59J6 ltDrxcucvqIGwuQ9C8iNWMDbEsSTbiAgWxlIQC7cpMPj+dfMK+DRPQ9g8B759ra9ADPL8arqp7yHy ccPCc8dG6GkRRZcptlzbUS26YoYajsio1yX0lJ4Lux+VguCtCFrzZdaeQ0TG5kZC+SUcssJV1CNsX WCJE+AkQaHC45wSxFH57gweQLwaX2EOXKK0F8a7jfAiMEZEiwuKmVO5X0Fbh4G9Y51xhjQ8ntOTB0 50oPAvvdDs3IK/aT8C0E4sB5SQ1AKas+FCqDZfL56pWuSzD+pTqUGWygPNg3SZ/bJ/lTQrJXuTzgl Pigdv42Q==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pnLze-008slc-Rs; Fri, 14 Apr 2023 16:09:46 +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 A1FFA3002A3; Fri, 14 Apr 2023 18:09:45 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 819BB2BA5BF83; Fri, 14 Apr 2023 18:09:45 +0200 (CEST) Date: Fri, 14 Apr 2023 18:09:45 +0200 From: Peter Zijlstra To: "Liang, Kan" Cc: mingo@redhat.com, acme@kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, adrian.hunter@intel.com, ak@linux.intel.com, eranian@google.com Subject: Re: [PATCH 2/6] perf: Support branch events logging Message-ID: <20230414160945.GC761523@hirez.programming.kicks-ass.net> References: <20230410204352.1098067-1-kan.liang@linux.intel.com> <20230410204352.1098067-2-kan.liang@linux.intel.com> <20230414103832.GD83892@hirez.programming.kicks-ass.net> <1d62b865-5d31-ec36-99e0-785844f79199@linux.intel.com> <20230414145324.GB761523@hirez.programming.kicks-ass.net> <803927bb-6f74-5c09-3c18-2fd5f423287b@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <803927bb-6f74-5c09-3c18-2fd5f423287b@linux.intel.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 14, 2023 at 11:56:41AM -0400, Liang, Kan wrote: > > If it were to only support 4, then > > we're in counter scheduling contraint hell again > > Unfortunately, yes. > > > and we need to somehow > > group all these things together with the LBR event. > > Group will bring many limits for the usage. For example, I was told > there could be someone wants to use it with multiplexing. You can create two groups, each with an LBR event, no?