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 669F3C7EE33 for ; Sat, 27 May 2023 08:35:56 +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:To:From:Subject:References:Mime-Version :Message-Id:In-Reply-To:Date:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8nMU2AvilOo8uKHq4MXJW44RaRKH6WLZZJRtv2soL9Y=; b=bhW5QBLhFLGL5h nSwdhTcAxMBSIVrWf/BfwCPCqqtbKSLlYSLSmoCnbWuw2P/tVD7QUIj6BRHVnVDRSWeFJaxj8LYnP 2PUwjVYWSEs4/PTGfc9RtjgUKeP/w8bnhze6gK3LEbEsn/jfBfFgKzgR/0QiBO77LcBH2jpYJglrU UTRVAha04aRj5dMIxzN527+EBM1pwRT2N6s7hske1Gb+JC1Gc2A301wNi7yxft2ILL7T47qQWXPg2 1dCv4LYttWjvPeT0iiPhbBxnDLBNckNUNsGzWKdC95O0ZIjufAGmcKWRuredAQLmFYsJDCseGJzRj qbX4JB4lXI8qOyRnizGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q2pOu-005FNR-2W; Sat, 27 May 2023 08:35:48 +0000 Received: from mail-qv1-xf49.google.com ([2607:f8b0:4864:20::f49]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q2oGi-0057RN-33 for linux-arm-kernel@lists.infradead.org; Sat, 27 May 2023 07:23:18 +0000 Received: by mail-qv1-xf49.google.com with SMTP id 6a1803df08f44-62609400a3bso21563786d6.2 for ; Sat, 27 May 2023 00:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685172195; x=1687764195; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=xKlpZwIe+ZNMqSgCu8evjP4rcM8k5wR/kLw9LO8buYU=; b=NyH+iz87hULCNIXbc3Xif+vOFadcWlm1EONIt4JZf0arwZfWOI7RrWwH4b7vIuMFpi jeBmUFN86ZKruefgDnRpJczU1k13OaVD0/OhLqLFvkcjkP8P81R/43xEzBNhMjAsVKdm jHNb+hgT7d6B5TY9bpsvfodiOfQpgKF6t3ab6awmgIz7Kxo/PLfws17zd7SLXRAfteVb fMsgUm0ZyfULcs9IXN0bcM3ZNrHOhdNSKVKvrkMahZJe/bp9AF95kA0cqT+c4PqE+yzt PZA4STCKshdFDRVI+PXZEbFIIrxxY5PzuOTEUQwJG4NH7E11VM8NrmgHpzoGklTL9sZ5 ezww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685172195; x=1687764195; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xKlpZwIe+ZNMqSgCu8evjP4rcM8k5wR/kLw9LO8buYU=; b=dsBE3D1sEGP4G9lxe+CbXUmF7nBFzdgwv2YuG3PGaqfcWe1R5GanMG2zkRL7xxhMuR aF2lHcjwOwle9lMbwAVhaczGMbszZkP2r09CEZM3Shwp5X0md40IphQ+6J1wZG8JcRyD /LYTBKsLjT79Sm0Wp+lg/QyEaFgyApzDjndCkcfA2ZVeveGim7Z/ztKQhO2gp049QgIg kfdWCJNY3MJ2MU+6Y4MLWshBb8tssKNxenkYJdxOqoE2zdoSaUU9jk6M/6d54Zl+CCgt 6JH+hAVXKRNVBwZnLf8SlNI0SbvGx26ARUfQnflWlpxMok9mn6w+5WIMgqh1xGT3UKwY SxUQ== X-Gm-Message-State: AC+VfDzL5p/+8R8rlEU2SRvuECzjbEKdOwyWo5XftNlj3C56hAQVjPp0 2I9Y3PT+oYjjJxJUzKKHd9PatxwRLDu8 X-Google-Smtp-Source: ACHHUZ4jekes7nIRnkxzUdy4DbvGJAqgfFnphibXKR3KuIyMq02R8j6YRDjQghdmNBvBIuDqp/vlPDxErrXl X-Received: from irogers.svl.corp.google.com ([2620:15c:2d4:203:3b4e:312c:644:a642]) (user=irogers job=sendgmr) by 2002:a81:a989:0:b0:552:b607:634b with SMTP id g131-20020a81a989000000b00552b607634bmr2512177ywh.4.1685172173971; Sat, 27 May 2023 00:22:53 -0700 (PDT) Date: Sat, 27 May 2023 00:21:45 -0700 In-Reply-To: <20230527072210.2900565-1-irogers@google.com> Message-Id: <20230527072210.2900565-10-irogers@google.com> Mime-Version: 1.0 References: <20230527072210.2900565-1-irogers@google.com> X-Mailer: git-send-email 2.41.0.rc0.172.g3f132b7071-goog Subject: [PATCH v5 09/34] perf evlist: Allow has_user_cpus to be set on hybrid From: Ian Rogers To: Suzuki K Poulose , Mike Leach , Leo Yan , John Garry , Will Deacon , James Clark , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Kajol Jain , Jing Zhang , Kan Liang , Zhengjun Xing , Ravi Bangoria , Madhavan Srinivasan , Athira Rajeev , Ming Wang , Huacai Chen , Sandipan Das , Dmitrii Dolgov <9erthalion6@gmail.com>, Sean Christopherson , Ali Saidi , Rob Herring , Thomas Richter , Kang Minchul , linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230527_002316_988796_DA9E008A X-CRM114-Status: GOOD ( 12.51 ) 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 Now that CPU map propagation only sets valid CPUs for core PMUs, there is no reason to disable "has_user_cpus" for hybrid. Signed-off-by: Ian Rogers Reviewed-by: Kan Liang --- tools/perf/util/evlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c index a0504316b06f..2e2c3509bec3 100644 --- a/tools/perf/util/evlist.c +++ b/tools/perf/util/evlist.c @@ -1067,7 +1067,7 @@ int evlist__create_maps(struct evlist *evlist, struct target *target) if (!cpus) goto out_delete_threads; - evlist->core.has_user_cpus = !!target->cpu_list && !target->hybrid; + evlist->core.has_user_cpus = !!target->cpu_list; perf_evlist__set_maps(&evlist->core, cpus, threads); -- 2.41.0.rc0.172.g3f132b7071-goog _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel