Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp250958rdb; Wed, 14 Feb 2024 21:17:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVhUHO3y6pD4uu9RWo7KfJqdA+d+RY5eyykasK+q3QB0ZbDnHvVn0+SxQM4D3mciM/ivZZHYjNYqr9KqOkg8YdqThoL7oSZEk9wyUVIlw== X-Google-Smtp-Source: AGHT+IF4DbIPwXbGudYs+hiGfZ+XjbAcFeJ/jHZRLp5QrfHWGIA/NOrgB8RpbfY1XMJJtwLeLdnM X-Received: by 2002:a05:622a:103:b0:42d:b355:1538 with SMTP id u3-20020a05622a010300b0042db3551538mr981436qtw.55.1707974221779; Wed, 14 Feb 2024 21:17:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707974221; cv=pass; d=google.com; s=arc-20160816; b=nl0OWWlBoXkNUlZz3s5KNIqJwH/v099AA5bF4QHlz0wsBU66E0D+qigk/t2sRh4Vss Sigvab8y3gcZbF9/37NglmhwYHtTZ81Dw3yO2hbu4iV/h6nKfqSpVlJuM9tzW7j9o3qw AqXunGQm8VFY6OASGH2by1efp/OtCp4XcX/2ojjLQN9DkLTWe6wYpedFIX8uFczOaphb Sg4ikCXIdeZrRQPXVMvoqITcjiH0g/rSdyPXyY26lQ32KF50w8zMgQddnj25yYDb0KJw 3oiiIxswriZ9gqHSCcdQpdUWAItueodTS1aMz5EuFGhcUky6f/N++Opw6HKLjmJzRa+e S81w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=4ruwll+hxpV2Wzn+JcenNTjZZjZj6kJ1R9W9xEqhdl8=; fh=A3sQ6NvbTgnWvcza8SsOFqIDplALj3dbLtzJynrHsf0=; b=rIUgxENvlsBNPaUruU8pqr0t2+6h4Vh8Tme4Z12KzdJKA447w+RWzzbFpaCqjyEr2a +6rGmuhoJzUpT2BjfuHOwJ30hYMzkNptPKO5cSZjeZLg25L7qaRq4r329FqpxLHLROjS MPGVy5s0ORLdcsoddSYhCBFLp7YoEi5PPBd1GnAzUY/lu1ReSDHpnFU+VNlwzzaiST1M 8xtCd6drm6cCIivtmwI1UbA3Dkg3gL+ZQGEAyUiyV+iVYWKXebfcCGrCWVPUqSgNI6JE UEkVp0pngnLheh79KQ+75w3HTXKDXE07dMj5lDHTFICwG7Gt80+ggkR7cHHqFrI6qB0G 78lQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-66304-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id kq12-20020ac8618c000000b0042c5c7dd314si603316qtb.272.2024.02.14.21.17.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 21:17:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66304-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-66304-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 88E7A1C22D01 for ; Thu, 15 Feb 2024 05:17:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 879039476; Thu, 15 Feb 2024 05:16:53 +0000 (UTC) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5AD98C1E; Thu, 15 Feb 2024 05:16:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707974213; cv=none; b=eSbIY6N0CWt7ntS7Es1Ed8K3THufQuZ5ES2QZ5bMIjsw+JQql0+bPNhScSHcA+jf6QIpj8euoFLL5OgRZMaoTPGB7esZinphHSyOLyoPjmwZWFHyNrqoRTiPI8q3tjUIM81JbFRZE2lPU7sPUOOs9OwDMIUEtl60TiJmPXnsxdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707974213; c=relaxed/simple; bh=WKtwSdl5mpFfEMXteLY1/ZKYrOUDBVq7SR6RNuUdqqc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=hH3RGRfWsZOFqRLLZy+YTR0mNa0BjW7TmkOnZeQ5ePbguPAtHwB0FtiQBcn0OiBrnv3KMbq5IIawuCpEXMtjppZsiU+joUHUaAuEEpH90dGyVWp96LQ7vKVeydGoPViU1/1/UOZ6VX4jz0vgwMkR3GCS8rxFULgm7JejJ2moGrE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.215.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-5d8b887bb0cso412019a12.2; Wed, 14 Feb 2024 21:16:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707974211; x=1708579011; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4ruwll+hxpV2Wzn+JcenNTjZZjZj6kJ1R9W9xEqhdl8=; b=RdZOQ1ka8m/GaU+LSHU/WUz0UBnPQnDm9aR4VPtZxrWh0qZyCcgHw0YQNomRcZWjMo qNvLMVQvDB095FJhhh9a45SnQ5L/TmSG0aM3fGqK8h32OVK/s/6Onu17ospESZzLd7v0 gWGDHnTpfAnv1ixbqTXIsPht1fMoVEe6bO0cprQmJ5KiETPDPV948PY91OvBCbZH4cwi 3Z6CHns6d8fgA27zKSQT31sAb/GDvM52KgIYhm6IfwjJuDjZBNhMeB4kWCbYmmUM+eGY uqYjTtEoL09W9wpoJfYjlxESaxDc5RFWaeuWAD5cKbgIc3eFCmV7u8m09NcSYA88HBSL yplg== X-Forwarded-Encrypted: i=1; AJvYcCXFDtJA0/5MA2W+ZW91fD7rvrfZITPepdsjpLCWUguJZS028rgjuQkitnP4+VKPw91sqbA9EfI+hQnqMcbheY4duqRyx7mkdi8xLk0mSijo7akfmI45/6WIcqKezJCImoG9haivDFjjn9kvhOo5Og== X-Gm-Message-State: AOJu0Yx0/s8AgVXqC1e6BB5MNNAhp2LrllawWmYXsCGnXZDCiSVg0dr5 YdE1fUTL42mgNQDG316Nrgjoc1TR7qZO4dgURzQQI6i1zv791KMjQbo8DYDz9325tRzSzv6FQJE 3sxsh1geZ8m+5pJeAxI54T6EXzFo= X-Received: by 2002:a17:90b:4a06:b0:298:b0b6:3824 with SMTP id kk6-20020a17090b4a0600b00298b0b63824mr716577pjb.48.1707974210848; Wed, 14 Feb 2024 21:16:50 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240213075256.1983638-1-namhyung@kernel.org> <20240213075256.1983638-2-namhyung@kernel.org> In-Reply-To: From: Namhyung Kim Date: Wed, 14 Feb 2024 21:16:39 -0800 Message-ID: Subject: Re: [PATCH 1/4] libperf evlist: Update group info in perf_evlist__remove() To: Ian Rogers Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2024 at 3:50=E2=80=AFPM Ian Rogers wro= te: > > On Mon, Feb 12, 2024 at 11:52=E2=80=AFPM Namhyung Kim wrote: > > > > When an event in a group is removed, it should update the group status > > including the pointer to leader and number of member events. > > > > Signed-off-by: Namhyung Kim > > Should we worry about evlist's all_cpus that could also be stale now? Hmm.. right. I will refresh the cpu list after removal. Thanks, Namhyung