From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f74.google.com (mail-dl1-f74.google.com [74.125.82.74]) (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 47D5D34253B for ; Thu, 12 Mar 2026 03:19:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773285574; cv=none; b=aVyuhKreansNf+wlckNfGJqG05e/bLUgffJPfE7nj08dMBJhLD0eN4X1Jmdu3AhVoJi2GmA8VHLbkvdo4IuC3amf/u6z/k2lJ826YWAd+mpBqYyQHksbmqqd3Cq6XjwvK31mA9i9Tt/G1a2PPdd+rbabbwdCT9WprsbF0hL3hjs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773285574; c=relaxed/simple; bh=B7pLGrhr1M3AUUWzljLJh9qQCW/pH11OsJvYTeDvP/Q=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=cWNAR8lOhZWLbbAfDX+nY+iWnahoqCrgSrt3i45eh4KPrV8GpHieu4tgPeKriuonE4K6uMTDN6vAMiOxLpra57BoFPL1zmm80kHehSWsmwLWN90LNylZz5jwagl0XGSnAHNKcQe+GirA3aDcFarhp4YYhavwFjG4kSJ+TrVd2OM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=h2CrqDhe; arc=none smtp.client-ip=74.125.82.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--irogers.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="h2CrqDhe" Received: by mail-dl1-f74.google.com with SMTP id a92af1059eb24-128d0a51897so20645270c88.0 for ; Wed, 11 Mar 2026 20:19:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1773285572; x=1773890372; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=6nJNlw9AbBLbWaDxnsrG+aJBf6+0dB3NQVrAkWPs2QY=; b=h2CrqDhe/j2te1JaFtqy4k35qCSVN+9JG6Mbhm5WK/xXK7IDnVzyTX17iC06CwuWkm FlLI8sj7xg/btUVU2NT0EyCW7/0x/IOIAKjdylQbJVBfMymCaikWcJIDAczQIyEzcYhc HC7N8/z1sHYbLiEqhajfLpaR8+BeRaplsY6mmi+oFdZ4rIcPkRHtugmBucoX+D4pYgtv 8IVdO9KcP5LfRrZW3Dat58uJz3xmVhkCVq/m9Uo3jzLBJ4YAT7jElHjyZecKnFcAwUPa ip31R2cwob/AVA4EBwMxYOA8PDhxvSTyFI7JIAF1tEErwUCyj70m79QJ6gIfH7a1XTy1 JWCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773285572; x=1773890372; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6nJNlw9AbBLbWaDxnsrG+aJBf6+0dB3NQVrAkWPs2QY=; b=V5xYMBXk1qBpeaLAwPuAwsyH+ryMSxDNsiTmrAJu5Xd0b06NaLCDZh3/kW5aWJUpiK SjjdP2OOC/DxRTkGuuj98C3NCcQbQwBUwcycpCC/W6yDvLMYH2ikplVkfwAHaO68B9yv 22gU+CckMpfpRjHZ1mIEfLgEVyggVc5NQo+rPgZyR6Z7VXQrEi3ft6pX+SNifUCOl97k zhDwIeFRhPmvGlODRrZD7rk9j0r8jLLtGVCOKksaly/nGODitFUMUk57AZmfS95YmrGK KWQG0ODxV+W9+pH5yqJVseqItm8+R9mf7nqoYgSp9070zZuHxr50yhWYNwFbSQQfHAlu nFjw== X-Forwarded-Encrypted: i=1; AJvYcCXAmQb/EN/U/EUNEsPJ83k4t8u2JBrFdQeleHXjmWMJJr/s0MZlu8IiAQmgpR7tJTk0X+qNFLpbCEPKJIDf06oD@vger.kernel.org X-Gm-Message-State: AOJu0YzD6fs2U2l+jOFTRPbVx2BD6h0RNH7y0c9mSjDa8WSFfK3/h3dZ Nm7OBXyvAdmV+zbcyE1oq6I90yVOfctPGIngn7HkHDODOm8IVx+puXPN1LrOOEediaRfgcxPDKd zR4hxU5xJgQ== X-Received: from dldz19-n1.prod.google.com ([2002:a05:701b:4193:10b0:128:cff2:6560]) (user=irogers job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:61a2:b0:128:cf5c:5362 with SMTP id a92af1059eb24-128e77aed60mr2077124c88.12.1773285572154; Wed, 11 Mar 2026 20:19:32 -0700 (PDT) Date: Wed, 11 Mar 2026 20:19:26 -0700 In-Reply-To: <131d7e1e-701e-4f5b-961f-c85af74f1d96@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <131d7e1e-701e-4f5b-961f-c85af74f1d96@linux.ibm.com> X-Mailer: git-send-email 2.53.0.851.ga537e3e6e9-goog Message-ID: <20260312031928.1494864-1-irogers@google.com> Subject: [PATCH v1 0/2] perf evsel fallback changes From: Ian Rogers To: tmricht@linux.ibm.com Cc: acme@kernel.org, agordeev@linux.ibm.com, gor@linux.ibm.com, hca@linux.ibm.com, irogers@google.com, japo@linux.ibm.com, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-s390@vger.kernel.org, namhyung@kernel.org, sumanthk@linux.ibm.com Content-Type: text/plain; charset="UTF-8" Discussion with Thomas Richter in: https://lore.kernel.org/lkml/20260306071002.2526085-1-tmricht@linux.ibm.com/ showed that the evsel__fallback wasn't working for s390. These patches avoid the problematic frame pointer callchain on s390 and fix evsel__fallback from a range of problems when falling back to a software event. I simulated failures when developing the patches but they are untested other than that. Ian Rogers (2): perf evsel: Improve falling back from cycles perf evsel: Don't configure framepointer callchains on s390 tools/perf/util/evsel.c | 49 +++++++++++++++++++++++++++++------------ tools/perf/util/evsel.h | 2 ++ 2 files changed, 37 insertions(+), 14 deletions(-) -- 2.53.0.851.ga537e3e6e9-goog