From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) (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 7591437E313 for ; Mon, 23 Feb 2026 23:14:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771888490; cv=none; b=SSRLVWC9OhMirnXipHZ6eyzyzsqQal/g2FY1e0QcIwVrqiGjJvuNEIwOBqVIjL/GqjfFyHcbiLNu+YbSHJmy6//DUfa828c22jPTGOUEs02/HCIE7HtwEjy9wdYa0bREBoPMvHDOiCj4h4eQ4iUznYeMm9ieCz9/8x7/OvhZv90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771888490; c=relaxed/simple; bh=JyP8xZsY798o/0PE1UPbXTVaou8v7v8Te0+LuhPVmxo=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=JkR7ZD+ZcApafTdnTKn0iYUGi7bMBfsUGR5jtGKdvcIoQa2ECRMyRsis5haZQiTSqC7fmyBZJThSS10Fykl+kUuvQKOUO41P2Qkdifv295cKgpZhTUiDxeI+CMs6aOWKwWMGdd4W3Aac6J1B3q3EXzsMFmThbhYMC133WAdtUlM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M61VmCZB; arc=none smtp.client-ip=209.85.222.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M61VmCZB" Received: by mail-ua1-f44.google.com with SMTP id a1e0cc1a2514c-94dd2d71231so119794241.0 for ; Mon, 23 Feb 2026 15:14:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771888488; x=1772493288; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=Fbph/XM0xt7O8t9uLxxk2AnhFh/nLkRg8Z1c3orIPEA=; b=M61VmCZBdFgMRPExBy4IKcjdoIFaiKElNADFaN75LSheF1rcvTNUjA+tnm5b0DorEL MtMvMbOtepxvewiH1DSmzwR8gEtvGCXWRADNs68kZmgDZ5ErlsSgGWHoWOZ5IEMSijj6 OqxoKEMmDbVSq/V/Iqy3A6krPb8DPxRXg69kxIsWIux0oA7VVAcMt8gK9T3i8HCHD6bH TSOXgP+f7LoesU5ewU7Oa6ewuUCxi3n6hnjQYItX9vsblIXe8a0PpW43Odf2vJLikTSF U1BFXOHy8jfQdmUSqujuO6GniDegtGQsffMll6PYgZglxvtl88NtKLGnPSaeSG9LFkQT JZiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771888488; x=1772493288; h=content-transfer-encoding:mime-version:message-id:references :in-reply-to:user-agent:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fbph/XM0xt7O8t9uLxxk2AnhFh/nLkRg8Z1c3orIPEA=; b=tpQT2qy4b3AghLujLJ7RlszJ4KqMZ4SdsTVWTNpGY1naJIJYk35apCMnCVIIKSF3Gn O0bfiLggzRUxTHpDboQ4XbMnQ83yPYKVAtKsvvrOlXZ0weTYGc3kNXt7bbzY/nLZ3lus bJ4AnwLQ2w+nlkdRZWxNjfFN5b3t/RT60SCG28Bdv5NTeuyZ260D6jkrW2yiHkvcnCFr CUt4Zmg7ZpPXh8aXDIvjNKtK+qoB9IheW6L7BBPAuL8fBPdSaAPad3B0mEJIEnxB11+d oZ30JQ8LxriUaN6B5372BfXFt61QON+LOrZQIVQhuBpHBiy1QJHGWklGGj8QSi30McPU gUhQ== X-Gm-Message-State: AOJu0YyV96gQTkdcPT17HCw2t90LXUZRphfxU/xgRDEBkj9Ll7cl14kA Mtj099PxL5iXkZaf6ib0kHBgM2cWvtR5K/zhh0HOI+o7fAHKmXkbqLkQ X-Gm-Gg: ATEYQzwxqB6TpI8oO6cd2oAu1700LssIDR2cb0O6v5YXceVZGvPuUvezR5lXHyR+St5 BFgl5xQLbHvATSxJAsTLGb2g3e8P+A88dR58kfqoYQE12hT4kLVZ2Gq3RjskwuCEmIIqe9SDw6Q LFfTfB6GqvK+O4Bu32FFyeSqKMe+1+R+ZU0mNnzQ/y40Pazx7l0ITTzMRS5kyItxyifiTaiX5sE qwPGvsbNv/MEgXl42VwD/zyMNXDutsUaNIoFityh/bWZmHqLUFbfV5WejhgqkMtb2srSGuJ8ibY 6IJdPUn8BgjOIY700LUX4mSj9L7k+VntTPzKjhGSNbrrud3AwRi745c+O3hGtuaGlccKjqqvIO7 5yyOagnrM9ZHOg0qGStCwNiFnV/n1WLQil2XSzuW7ZsEi2dVYANEcOdAkD/Cp3sy/Hr/QkQj35E 6J3o3Cm3D0CB4pldfLsX6sIMq898rhvN6Bk4LN X-Received: by 2002:a05:6102:3a0a:b0:5f5:5925:defb with SMTP id ada2fe7eead31-5feb2ea36d9mr4002898137.10.1771888488425; Mon, 23 Feb 2026 15:14:48 -0800 (PST) Received: from ehlo.thunderbird.net ([186.208.68.154]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-5feb6485fd5sm9152375137.11.2026.02.23.15.14.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Feb 2026 15:14:47 -0800 (PST) Date: Mon, 23 Feb 2026 20:14:12 -0300 From: Arnaldo Melo To: Namhyung Kim , Thomas Richter CC: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org, agordeev@linux.ibm.com, gor@linux.ibm.com, sumanthk@linux.ibm.com, hca@linux.ibm.com, japo@linux.ibm.com Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_v2=5D_perf_symbol=3A_Remove_?= =?US-ASCII?Q?psw=5Fidle=28=29_from_list_of_idle_symbols?= User-Agent: Thunderbird for Android In-Reply-To: References: <20260219113850.354271-1-tmricht@linux.ibm.com> Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On February 23, 2026 6:46:21 PM GMT-03:00, Namhyung Kim wrote: >On Thu, Feb 19, 2026 at 12:38:50PM +0100, Thomas Richter wrote: >> Commit fa2ae4a377c0 ("s390/idle: Rewrite psw_idle() in C") >>=20 >> removes symbols psw_idle() and psw_idle_exit() from the linux >> kernel for s390=2E Remove them in perf tool's list of idle >> functions=2E They can not be detected anymore=2E > >But I think old kernels may still run somewhere=2E It seems the above >commit was merged to v6=2E10=2E Maybe we should wait some more time befo= re >removing it in the tool=2E Right, people keep asking if one can use a new version of perf on an old k= ernel and vice versa=2E=20 So I think we should not apply this patch=2E=20 There has been efforts in the past to try to have have some info per sampl= e indicating the "context" for a sample, if it was in idle processing, hard= /soft irq processing, etc, but that didn't come to fruition so far=2E=20 With that we could get rid of this flaky heuristic of looking at a symbol = name=2E - Arnaldo > >Thanks, >Namhyung > >>=20 >> Signed-off-by: Thomas Richter >> Suggested-by: Heiko Carstens >> --- >> tools/perf/util/symbol=2Ec | 2 -- >> 1 file changed, 2 deletions(-) >>=20 >> diff --git a/tools/perf/util/symbol=2Ec b/tools/perf/util/symbol=2Ec >> index 814f960fa8f8=2E=2E575951d98b1b 100644 >> --- a/tools/perf/util/symbol=2Ec >> +++ b/tools/perf/util/symbol=2Ec >> @@ -752,8 +752,6 @@ static bool symbol__is_idle(const char *name) >> "poll_idle", >> "ppc64_runlatch_off", >> "pseries_dedicated_idle_sleep", >> - "psw_idle", >> - "psw_idle_exit", >> NULL >> }; >> int i; >> --=20 >> 2=2E53=2E0 >>=20 - Arnaldo