From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f73.google.com (mail-dl1-f73.google.com [74.125.82.73]) (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 5239637883A for ; Thu, 12 Mar 2026 03:19:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773285575; cv=none; b=NDJ+w//EFgHzIIBceF3YQLplAZEGfp+HJJsZfOZNqQan93O77wr++oKwwDxlgFt4wGqdRHPKYltkHC+J9aVMu3uYzAwIhHljY0ohibvD5/ab0MMlekpM1O3A82YI6h6Gfdl8EadviSZwrLy3swyeQ+Elo8bPQMXOr1EZ9je6edo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773285575; c=relaxed/simple; bh=B7pLGrhr1M3AUUWzljLJh9qQCW/pH11OsJvYTeDvP/Q=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=do9fJCe2rOogrDJnqcK639ah5PwTTCufBP1M/Rur+VbA51vYamTNsV9WAb2ydhYu5rurVBEAfDoVdUuDZ5w32/GM1PrT+QUjxegTBCr4QkzjuKiaQa11S8Zif11RYw65wQ5a7iLuTIZtdZrAcl4+W9wOkhXLzrRBC8jahY5ZmTs= 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.73 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-f73.google.com with SMTP id a92af1059eb24-128d0a51897so20645268c88.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=hUYG2TPEVs7N7OC6CjFBanirE+rBhzUL68qOUdbSBeQrpYRVc0m64f49MRh6dnp+3b SJBaGZWphRxbIfrBor8tx/S1gHc7LEW2bgkBwEntq+DV4SWuDHQVZUiRz8H2ltY3iLGA vFFDayHd54+4x9j7AjOwCu3k/QfW+QuWs2LMFQlX5qMdFAxLMeGohieyRsUoJ2Q2h+J4 V7n5gW4xJiEprNssfvLCsYfXZ6YkmIO4ZQgW3QcJ32nRqk7LB5gAdb270wJ9J6V/Gfh9 Pg4OOjeVTj7NilNOmuxktDDToDMU57NG0PjUlipEGnrE3np8yMwVgM90s1paxLyouSsf Hs0g== X-Forwarded-Encrypted: i=1; AJvYcCXxsPytiQL83WmANt90CHTUGpEuZFQC/IlhS6NHpHS16yRtBD5YyEEEydUjnYA8KJaJ84JBKrsPmANDeaY=@vger.kernel.org X-Gm-Message-State: AOJu0YwC71lhLY4ynoXyrdnitMNce/80TqsrjKY3p8KPaqIeFDR5IR/5 4DI8Hbpiu0I1dADwzv+bqzqlrMukVBRpaFKgD+0GL8gvMzQo0cleKOycM4Wq9grg6RM/8+bqQwh UzihwqzmnFA== 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-kernel@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