Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2687511lqt; Mon, 22 Apr 2024 20:18:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWsOuJdsGul/MJPslc4Q/V68JLmpGKtiK4qSsflfq9bElUz0dG+sMaMvXamM4Xj92Vz2hwBPSnqB2p+NiTQkcXb0YSgtBbG9rEC2bVJMw== X-Google-Smtp-Source: AGHT+IFW9z1VS+jub95JM9ZnWK8Z5BLwrJKorbLp30TSjPIBKyhh0E6ETIfmBt1sZr5xVHXdFEil X-Received: by 2002:a2e:9697:0:b0:2d8:729f:cf3a with SMTP id q23-20020a2e9697000000b002d8729fcf3amr7792151lji.32.1713842293696; Mon, 22 Apr 2024 20:18:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713842293; cv=pass; d=google.com; s=arc-20160816; b=aEmrFfSG3uyfyhOUBLxpyvlfwlkm5/XhzvQFK+EWR9ac20rtlxDVS0S+BVWQt0xLj2 KnyIOVK+4rdAgSrXf1qDFyATIogWgRYD4uq9KSQKt/x0tPa8VOZMOEu/tjcejFNyyTg7 CqEbV7vr7UiSJUtwqT5YbMuhVHjU4TJ1hembepIpZaTl/KhLWQhy/4UJoe0uyZt3r41k VufhiqGpKF4SB5/9zYglFZzfCbA9lWFKiEaE+fnA2I1aoqoNxebfyLEut7R7rKygZ61z fl8nckm9xcRfR/gK6ltnaS+cMSkEfzunbgVOHwuZATQug5OYBKlrt8cpCj0Zq+DZaMw0 K4PA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:in-reply-to:date :dkim-signature; bh=/nhUNWHd/vBo68/OMf2V7DkzBC0fWIc9SzssVfvUJw4=; fh=meKTcT3fMpLU2RG7PNfPWWk4q7T6ep6Rso2yUea2n9s=; b=GQPCuvUywNvyq0LG8FrA/jw40JgL+Jngq7nZiVcezcI3+5C8IuWScEVnGHt18OiSeI jyWtKS9b0zKiINWdWhdR6dNUj6a9Ktbyn/YusZH6KZEt4LyxfcKvzjw/dOVLbIIN5Uyr MN5ddLBff8OIAgB3D30erBD2X+fZHTqL70n6QWAgjpWTwHEpffWSVpH8VidhNCYyK+XX eNfXBpbTpDKiBEO5WaOCKtEsXiV5oWkRuXQq/2QplxYUHWWbTFhlFG8XEJ3/r4EPOiHV vViufyGhXnYpR4X5GyvgZI131STDbV1SsAIqitkiMuiY1T9d9ha3y5INIsdI37B2fkKA h/cA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nf7CR8Xo; 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-154444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ko14-20020a170906aa0e00b00a523ca46639si6428958ejb.537.2024.04.22.20.18.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 20:18:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=nf7CR8Xo; 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-154444-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154444-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6B9BE1F226FD for ; Tue, 23 Apr 2024 03:18:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A27441CF89; Tue, 23 Apr 2024 03:17:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="nf7CR8Xo" 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 817251C6A4 for ; Tue, 23 Apr 2024 03:17:43 +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=1713842264; cv=none; b=VkPZJbPEbQgKisiMNEVCt/Kas0ShL8D88DBMNbsVdtenZEsD/uskBnAyw+LqzKO7xI9EIw61g/tbM342TchIqd+mJbf1Ap9WSRftc4DF/uevZJVgZnwSmyyOGAN2hJpqER+O/P2k3vZMafF3JllgmX3RXBwka7gK0HLx7igjxHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713842264; c=relaxed/simple; bh=lH5HflBC8pWb+z+Kv7k5EJDzEizYIwE8s7tE/0qlMFw=; h=Date:In-Reply-To:Message-Id:Mime-Version:References:Subject:From: To:Content-Type; b=PpmIG8EGhb/t+K5bPGeKF4o9NpF4ucTm0GMuNNrCCzrCXBZ0/qnqJYwXErj1E50EBuknXgHF6mkWmx5Es3KQX/HdljPQrVBkqT3FwRnNejfi7WKLvC1j7f85QEXEOg08ca7jGNFu8EaoFNcD7jXpPI5eMgmdKb8c67ecGymHPME= 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=nf7CR8Xo; 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-61b2ef746c9so91038417b3.1 for ; Mon, 22 Apr 2024 20:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713842262; x=1714447062; darn=vger.kernel.org; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :from:to:cc:subject:date:message-id:reply-to; bh=/nhUNWHd/vBo68/OMf2V7DkzBC0fWIc9SzssVfvUJw4=; b=nf7CR8XopxMclIE2aAo6VLB6BIWihGvzw/uabd4cnJ7bJsjSsmAuYNBRXjnJaEu0GJ KikY/t1NVSjoh9dVKst1rfHeoL0esicXCFf9VUUG+T/w0HTQsJIKupDyVa0GRlEllNWB Bj8zGGZImj0zf3j86m33gOeiYSwtMDDvQ+LsRERafwbyhKKNGNNaKGr/uYJ8ssGjzD0s bWCdCkLPNf536T3W1qSzodKq5SVzLeuIhln8Z25v8lfV3sYkZ/9wxe0P6ha7lR4WO1FC dnDiLKFdCQHDUJCPpqnP63dY3q5dEWG+y/4g1hM2SxIrTyi6+jiUGph5e8uJGdboSguE rDHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713842262; x=1714447062; h=to:from:subject:references:mime-version:message-id:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/nhUNWHd/vBo68/OMf2V7DkzBC0fWIc9SzssVfvUJw4=; b=WUmv/I4YTIP0+7cFgJ3iGJpIDsJ0aTpfXG/4qNw1j3fLxutfbymfYHtXjOnglc+NGj Fct791v8TR1DpAnLM3YIyUJnAN9UNQdF3Aq5TuULEid8MhCXapwpgJMqX7ZzgG7bdHSH 3RTlTJvsOuj0yrH5lIzMiTUUe77oLutorZaN3d4d7NpKkVkY178geUl4e8RhiycPGVnr KCfrBRwdSH2LU5uGzUKCsphct0LKKd0s5Xwms1xrX42WzRo/j8gtjA8/F5Nejri3TRsO 0j6Yq4dIycriTV2jTE9H00RxQ06gDeGSvFE3ol3iVTo5MTZZ28YVam2Y+zIbKGtAH0L1 Cj/Q== X-Forwarded-Encrypted: i=1; AJvYcCXBhggZ2PftAiGDY5p1+VOIxVLxNwsIR1RQu3TF7wtIqeEIfA9VamaKbjvL35wGgwjde7LhEPhg9xZ4XcysH8wZDvuU2Jc9UTbFraK5 X-Gm-Message-State: AOJu0YymNKQzcLueO/Ar2boLm3zs43rKVXCjS8KxuGK1WLGiqOrbKgxT tJsJvrZTrGiiVowxTymPvL6dU3lhCC/a/NWlX/yLN1yYIBAJx+q3crL2lTSOz4pNHUSrhNM3nAr dRrTbMw== X-Received: from irogers.svl.corp.google.com ([2620:15c:2a3:200:4ca4:4d48:a7fe:d70c]) (user=irogers job=sendgmr) by 2002:a0d:d48a:0:b0:618:931c:9a14 with SMTP id w132-20020a0dd48a000000b00618931c9a14mr2819322ywd.4.1713842262540; Mon, 22 Apr 2024 20:17:42 -0700 (PDT) Date: Mon, 22 Apr 2024 20:17:15 -0700 In-Reply-To: <20240423031719.1941141-1-irogers@google.com> Message-Id: <20240423031719.1941141-3-irogers@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240423031719.1941141-1-irogers@google.com> X-Mailer: git-send-email 2.44.0.769.g3c40516874-goog Subject: [PATCH v2 2/6] perf Document: Capture that sysfs event names must be lower case From: Ian Rogers To: Kan Liang , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , Jonathan Corbet , Bjorn Helgaas , Randy Dunlap , Jing Zhang , James Clark , Ravi Bangoria , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" To avoid directory scans in perf it is going to be assumed that sysfs event names are lower case. Signed-off-by: Ian Rogers --- .../ABI/testing/sysfs-bus-event_source-devices-events | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events b/Documentation/ABI/testing/sysfs-bus-event_source-devices-events index 77de58d03822..3e0100e9c664 100644 --- a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events +++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-events @@ -37,6 +37,12 @@ Description: Per-pmu performance monitoring events specific to the running syste performance monitoring event supported by the . The name of the file is the name of the event. + As performance monitoring event names are case + insensitive in the perf tool, the perf tool only looks + for lower case event names in sysfs to avoid scanning + the directory. It is therefore required the name of + the event here is lower case. + File contents: [=][,[=]]... -- 2.44.0.769.g3c40516874-goog