Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36858033rwd; Tue, 11 Jul 2023 06:38:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlEy6W0wQ6Le4Y/cLcI4Ou/OPolIORL2H+3Hi9ri063xC5o5cyMJJpTThK89iMVUSD+wpeEG X-Received: by 2002:a05:6a20:7da6:b0:12e:2fdb:7865 with SMTP id v38-20020a056a207da600b0012e2fdb7865mr19132068pzj.0.1689082699401; Tue, 11 Jul 2023 06:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689082699; cv=none; d=google.com; s=arc-20160816; b=d19/ycSdmLRPZdQSi49sMxpzfzlIMVeQSNbyj+cID1tGtcHLyPS4/7iLRaMlby6ht2 PQFbD2wxWiE81Nd2IBlcEef1W8q9df3I+kEXcq3+02qyRNL7mjvywG/+dyyvliejpBC3 SBMtU5pmSJt6MvayVUfETKjStIx/5b2kDHVJ9mOU6W1+eRncJrEKbyg4N55eyYmyMGcc Avtu3uhqO6aBF7laYG7jsXytYEzmqYIRv1lyNlCIkdgWt2IEMlUTHp64rM8xGd35z0Mt kzF5C6rBR50daCPhbeUNNoMsgWEdiQ0JaGbTP+pM+KYmT7nlD9wh8E70tb4SXKzX30Nr zpAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=50brX0dAGzV/41unamisAQyWpHQt3BVzkzzBwjspMdE=; fh=sS995pMA8Mdx5HpitCC33gYYce2JeOL+w44x+IfFB+o=; b=OdbW7tOyk0a68WUzrQu3gMpkl/e5jutjaahnTFtmphYwbvcE9juNBQ2KUnPgkEOeLZ ZHFINFzRS/lx84msg32YUEPGhIK2w7KGfnvD5Hg8Sb9ScjGDe9MDNP0VrXpucXSkGaVU Y3pUmbjGs9qWROkk1NL2TthSALt30LKVlS+IMo2YxusmSAZW6W1/2RTL1sMtA2HdjQQv NATsUBbgCLfmnl8GALA83t+BAHicvJl51SopRgwAvrJ6czhzwJ7OZkChgMl2A9FxkSUB KC60UJ9P6w7Y4pHueDHXmNL+jpNkK3ytkj/DfQQ7otZK+sSrqW6cMXXOJBv00O+fOmCf 743A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Ex5L4Zsm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a63d807000000b005573ca1a657si1375754pgh.118.2023.07.11.06.38.06; Tue, 11 Jul 2023 06:38:19 -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=@intel.com header.s=Intel header.b=Ex5L4Zsm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232814AbjGKNNO (ORCPT + 99 others); Tue, 11 Jul 2023 09:13:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232953AbjGKNNK (ORCPT ); Tue, 11 Jul 2023 09:13:10 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1798FE4F; Tue, 11 Jul 2023 06:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689081188; x=1720617188; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=50brX0dAGzV/41unamisAQyWpHQt3BVzkzzBwjspMdE=; b=Ex5L4ZsmDh3IPjlOJsNArHqNnDkINtWKLYZV38jGuqra54Uvby0bZxD4 BHtA6Eln5v3jCKFd/1sIwBYdsH6cdeqeedrHjvjOdnK/nzvEZLl7qQTxM hhrkiPagfMBXC3dC6SGsAK9yyTbqS+5Ba2tJsyl9RHkj/bPmQH4FBBtXz 6EPCn+X7jqvC6KmDKJ4cVwKoiGG9rxe0mSaQkywMWaMj971b0Hyn4Ntbh g1D6k0ytKNPHL4903wM7qUtMi1kmtFuqJw9YqZYQrrJ1oyGWolvb/6pVk jeFO/CDmk0WuVb7cVLfIFeOzKTs8IHt4+Ebc1PWm2z9h1xwMwCGeaq1yi g==; X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="363476380" X-IronPort-AV: E=Sophos;i="6.01,196,1684825200"; d="scan'208";a="363476380" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2023 06:13:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10768"; a="786620562" X-IronPort-AV: E=Sophos;i="6.01,196,1684825200"; d="scan'208";a="786620562" Received: from ahunter6-mobl1.ger.corp.intel.com (HELO [10.0.2.15]) ([10.252.44.50]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jul 2023 06:12:56 -0700 Message-ID: <180925f8-57f3-c97a-15c4-db2c73abe4a2@intel.com> Date: Tue, 11 Jul 2023 16:12:52 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.13.0 Subject: Re: [PATCH 1/5] perf evlist: Export perf_evlist__propagate_maps() To: Yang Jihong , peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, irogers@google.com, kan.liang@linux.intel.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org References: <20230704074217.240939-1-yangjihong1@huawei.com> <20230704074217.240939-2-yangjihong1@huawei.com> Content-Language: en-US From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki In-Reply-To: <20230704074217.240939-2-yangjihong1@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 4/07/23 10:42, Yang Jihong wrote: > For dummy events that keep tracking, we may need to modify its cpu_maps. > For example, change the cpu_maps to track side-band events for all CPUS. > Export perf_evlist__propagate_maps () to support this scenario. __perf_evlist__propagate_maps() is quite low-level so it would be better to avoid exporting it.