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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB0A4C433EF for ; Tue, 3 May 2022 04:18:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230513AbiECEVs (ORCPT ); Tue, 3 May 2022 00:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231131AbiECEVp (ORCPT ); Tue, 3 May 2022 00:21:45 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C6123CA64 for ; Mon, 2 May 2022 21:18:14 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id i5-20020a258b05000000b006347131d40bso14662909ybl.17 for ; Mon, 02 May 2022 21:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=b34dyzAkv3FpeidZX/hRwae+MMN4Fpbu6ur7DPv1sVY=; b=dLAMg9xp1Bq+8oU3LmNvjKFIrXLGRCu8ItgNKNl0yBRM/IPgPUjZR4T9cwl4AjprKX VH2eP91Vr9upMXDatSrCR7UCNj+lSpjaCv/Q6bGAzT4okUalpNpTa4OQ7JEh7PQO6nS7 XJoxtC1aL/9MLXcCnlh9iqm2wqoTb1C7IDB97XRTMQhHCMFJadDYzRBqRpv2A+Ot/Muv dHlAdyMc23yT/+tjQCHZzD6WBXnVUVfoCYXXfHFt5eeNNzbdq+iMvYTa7dkVy16dCqs1 2/bM4Jr69/xn/SONvckwuQpya2n84ceLgapNYrSDvgCX1OrMfqfImxGEuz8M6N6cpQOA e+pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=b34dyzAkv3FpeidZX/hRwae+MMN4Fpbu6ur7DPv1sVY=; b=fb1lcSX7Jme4Mh/MZ2TeBBYp7hbISz/0GpuQABy9bKYHgN1oabTXjz5pCFLKxG2pMl yfcY7ZEHmgtF/A4jQ3laD+T+bWUeqleHLtFwbHFp08csHDhiNLNyFNU5sKBrH5hn/g1m W4nvEdgNaHI1UZekXowtePzd1BaTtIfkhXVNvuLiMp1HR7fab5PM/4s3DfD1wGqJYBKK 1m71efmeBCzVGe68Y2yRmcZmflj4R1glX18CJ0Jc1QdX6s0fbiPbkgwx0PyBrRVTjLed MN/eNTRM76dIaNmA0+wygVzVmKsgYRumo6XPzhC+0N5y6edyJ3sLGo/n+rBpILEJmxkR SCKQ== X-Gm-Message-State: AOAM531kBiCxhU1yVVoLiC+wKY13MDLQXPN/Gq11zimZPXL/x6L9HyOt KmgP1Od4IOK1rNw66/GTwL1IvsGi19Bi X-Google-Smtp-Source: ABdhPJyoF2H6Ud94AgIlUYETrlX7d0C8Y18ge1BtOFYyIMXyyoBHWH5yQIbJtH6V5bU9IQmL3ldGrs8QkD4Z X-Received: from irogers.svl.corp.google.com ([2620:15c:2cd:202:dd4b:52bb:771d:7bb4]) (user=irogers job=sendgmr) by 2002:a25:250c:0:b0:645:781c:3ec4 with SMTP id l12-20020a25250c000000b00645781c3ec4mr11902163ybl.143.1651551493698; Mon, 02 May 2022 21:18:13 -0700 (PDT) Date: Mon, 2 May 2022 21:17:56 -0700 In-Reply-To: <20220503041757.2365696-1-irogers@google.com> Message-Id: <20220503041757.2365696-6-irogers@google.com> Mime-Version: 1.0 References: <20220503041757.2365696-1-irogers@google.com> X-Mailer: git-send-email 2.36.0.464.gb9c8b46e94-goog Subject: [PATCH v5 5/6] perf evlist: Add to user_requested_cpus documentation From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Leo Yan , John Garry , Will Deacon , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Kajol Jain , James Clark , German Gomez , Adrian Hunter , Riccardo Mancini , Andi Kleen , Alexey Bayduraev , Alexander Antonov , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Stephane Eranian , Ian Rogers Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Document a key use-case in propagation. Signed-off-by: Ian Rogers --- tools/lib/perf/include/internal/evlist.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lib/perf/include/internal/evlist.h b/tools/lib/perf/include/internal/evlist.h index e3e64f37db7b..74541bd87aa9 100644 --- a/tools/lib/perf/include/internal/evlist.h +++ b/tools/lib/perf/include/internal/evlist.h @@ -21,7 +21,8 @@ struct perf_evlist { bool has_user_cpus; /** * The cpus passed from the command line or all online CPUs by - * default. + * default. For evsels with no or dummy cpu maps, this cpu map replaces + * their cpus during propagation. */ struct perf_cpu_map *user_requested_cpus; /** The union of all evsel cpu maps. */ -- 2.36.0.464.gb9c8b46e94-goog