Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp175274rdb; Mon, 22 Jan 2024 16:27:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfd9XRKKnRSFYZGhccz4nUZy8b9fxWngZeqTc9xui8j8cYpjZF+5tGrM+6yJFviUtD7qZq X-Received: by 2002:a05:620a:564c:b0:783:1b18:e911 with SMTP id vw12-20020a05620a564c00b007831b18e911mr6026046qkn.91.1705969635309; Mon, 22 Jan 2024 16:27:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705969635; cv=pass; d=google.com; s=arc-20160816; b=YpX2XBYaKQmD1DWfG9O5BzCdjfXPPzVR8reHabddbgaU5aH6aeVXjiRxePNLQgzvRe 2U9Ts4A4JspfDIqu7+DBW7ZTvb0X/ch1eWR6FTE5PZBLOZ4Ew6/Dlpe1tOW08Xhnlg4O QXFL9sQgVk/JG5GIC3zYCsNXRiwBcxq/dg7lNXQSDWM0JJlTLrgoY7QCBINyvbFpCQMo La3+XHHS0wXuDGgwPY7j97S4u3OiQOfsMFJCAklFSI6BfSMTHkfZoRpUv/2jPNK1TW0w TQptMNxtq0clj2ptnojtSpwEKIZfo39Z49yBePk5qeWFjnai61lWjIj73q1GyYCJBsQp oTsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:date:dkim-signature; bh=AXffGr7LphP1tXOOtskGblZIv2JUqybLVLOLn41CS90=; fh=OSPvvrodhCXrbS0tgWY7ZQ1FjQjyOgKyIFsZYsPrQ8s=; b=ut/szYMEXyfvA0ZY0eCncN9slB8trM50Xm0vlXujOqVH3qSbmXV8H3/RiGoRUFYqej tQ34Eoc0p+46jRIePHAv89vLwupFABxHYjn6RIFYDDd4a9NJsU3c5y3MA0pkFtCRX1mF joIyunqVgMxaAn95ipqfC90GeG9MR6g0DhapcCqLfOzH5Ld/eEVDWUfR0qDlzNTjNFiF EAW1VEOSlCC5SqAmyWrcXH0+ZwKhqJKv+IJeQMbd41WyNr/2FLzD2kINr5+eFJIwroIr sunXx1ht5AN9pHBXqSzoUBhX1lHz9c5k9fmk2PF4GXH/9eNlBOr2Sf3BEGfVfUfpJdmi ChgA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=U3iOaORx; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-34435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34435-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ov17-20020a05620a629100b0078373d502f3si7137712qkn.140.2024.01.22.16.27.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 16:27:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34435-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; dkim=pass header.i=@google.com header.s=20230601 header.b=U3iOaORx; arc=pass (i=1 spf=pass spfdomain=flex--irogers.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-34435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34435-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 0B43C1C27B5D for ; Tue, 23 Jan 2024 00:27:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D6C4E145B2B; Tue, 23 Jan 2024 00:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="U3iOaORx" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (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 A04E1E56B for ; Tue, 23 Jan 2024 00:06:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705968374; cv=none; b=ft+NDpGIRlRaf+mg6n2w6cnNlk9nNj06mA5WFPeEMEGw7FTcZ8i9cz7T+Vp9Pnsef+ei9eghK9mcPSsS/JwUclGMdfi784BdAo6icam+9uyz6punCZ4XdJDTqIL9sEjmi58pD7iXnXZ70k0VwjkayC5Y7SB5TOWz8HbGTsQK2SE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705968374; c=relaxed/simple; bh=WyYDJ5I8crHfIjGKOEWsj+g+4ZRWKdyhFy1bp2Mbx4w=; h=Date:Message-Id:Mime-Version:Subject:From:To:Content-Type; b=Mks/W/OqQmlHI1vXa5mgLLq2sgUG7Tx5lg2zrlNGA1szHwDp2hZ6GLDs4V+RdTCfBbY4JrytXZJvSuD6PyWPBjLogEXe/hvX2opSaaXp7pFmiiTKCVPJR68g1EKm4kB2VdZWtQ0/a2XIj4Dumjb+Fmt5YLyVOZnBrJ1rhRODib8= 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=U3iOaORx; arc=none smtp.client-ip=209.85.128.202 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 Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-5ff7cf2fd21so39194287b3.1 for ; Mon, 22 Jan 2024 16:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705968371; x=1706573171; darn=vger.kernel.org; h=to:from:subject:mime-version:message-id:date:from:to:cc:subject :date:message-id:reply-to; bh=AXffGr7LphP1tXOOtskGblZIv2JUqybLVLOLn41CS90=; b=U3iOaORxg3/OGMRqn8GRR6dNEf3KGq2XfoeM6hI+Dgt/4QnMHrHLluh/u0uzDreaBN 5WD8c3+ZrM/Q4a26qoSAB/je2+pY60/gsP/zV5tFNfBtUVJ8VKyRHfIX7KfjcWhylhSu o5ztNWGqEeLBaSTRFbIGs26KYoXrMCaFVrelNetWfl3AaT/BIyb+yK3rdU8luQgTa3f2 KR9S7EL+idb7tlrUeq9L8ZicCAzrqMm71qtlRd12hWfsglyM2c2tHrutLTqIIjhs/vNf I46E9ajucTzPf9OJLcC/bSlqQRIi/0WvQJE34diYel/vp12uMEfOahooKXpUY6Ot+bGa 0uxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705968371; x=1706573171; h=to:from:subject:mime-version:message-id:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AXffGr7LphP1tXOOtskGblZIv2JUqybLVLOLn41CS90=; b=ZEW37cGxe4e8HqSSbv2wm4STY1xFyswOl5GUfwaIrQIEKgfBXGFZWlBBJrZ7EIDU/o M1KjzU7nJTbD5mBafGagFTwyXwrn6zoBLwu352qRop7pUbpKD4i2sKdXSEJ/h8g12VZZ W+FKrseFkIFn06sPi1mKeTOwVaWTOPvGRzhk7GRKPsusaIy2A0dGCc2FVdYJXUFrt+35 2QjHLEofqr8d8jk840jz1rB+/F15yxWc/R8npC22lUgp0w0UWWSgNjGP2yGkQOKrMLyO cxUwXb88LWhAAZIi1SrSnK/5TfewDj+IGIB7FMsMoLRZsnTOl49e6V1I6CsaSL5vWTj8 062g== X-Gm-Message-State: AOJu0YwVHB1sy1wuL3Hks90bxolUk9ReNXXGdyBRRidKDuUD8vzTebML /U6shwT753+PJcWaCOkK96kjM8pIlujUlJulG0g0pur7fksdsyC/fUgmCdkfR4o/OR6XvX+nh4R CS2hU2A== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:6aba:f97a:4dc7:7e92]) (user=irogers job=sendgmr) by 2002:a81:9805:0:b0:5fc:7f94:da64 with SMTP id p5-20020a819805000000b005fc7f94da64mr2150138ywg.5.1705968371736; Mon, 22 Jan 2024 16:06:11 -0800 (PST) Date: Mon, 22 Jan 2024 16:05:59 -0800 Message-Id: <20240123000604.1211486-1-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog Subject: [PATCH v1 0/5] Fixes for 6.8 PR1 From: Ian Rogers To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Ravi Bangoria , Ross Zwisler , Athira Rajeev , Shirisha G , Kajol Jain , Kan Liang , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Discovered some testing issues around perf list, perf script and perf daemon based on Linux 6.8-rc1. Some of the issues were discovered in the context of an Alderlake system. Ian Rogers (5): perf list: Switch error message to pr_err perf list: Add output file option perf test: Workaround debug output in list test perf test: Fix script test for python being disabled perf test: Make daemon signal test less racy tools/perf/Documentation/perf-list.txt | 4 + tools/perf/builtin-list.c | 211 +++++++++++++++---------- tools/perf/tests/shell/daemon.sh | 34 ++-- tools/perf/tests/shell/list.sh | 21 ++- tools/perf/tests/shell/script.sh | 3 +- tools/perf/util/print-events.c | 2 +- 6 files changed, 177 insertions(+), 98 deletions(-) -- 2.43.0.429.g432eaa2c6b-goog