Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp688688imm; Wed, 19 Sep 2018 05:28:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZMXtPGcYUfOS9tmSNvKNKzW6av/XmDrki6NhkgP0rMBHnA94yUrfId/iPdIBUFgK/dbVvJ X-Received: by 2002:a63:6a89:: with SMTP id f131-v6mr32982750pgc.165.1537360117143; Wed, 19 Sep 2018 05:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537360117; cv=none; d=google.com; s=arc-20160816; b=s2qe1uWwp8mbnxVIH1OMUSjSZkU+WBjzQmhA4oPyFeNt0fSgw+/Igpg9kcLPLPXY+A gQnQ5gxr2N9mVxzsEa6hHzoXMgGlVtS9sKMa9W8JapxEMh9UOfg5nX96f8dmMBWrmwBR 0mOruR6tpuL9FduyyGZHIagSh/mU47xDuzlnMxOYglUDj9lTHDP7fRJ+r5tIWjstH40M +itz679hrQ4t3hI48HsyrHPyZGAIbxQWWjI/d6lrF4ZvvfCpw9xlTHvnAbCCOwm0wXUF Kt2tLgdAqPDKTqFcFGEU45iPYhaFuvUCxZenRUT6eOQYVWW64mMPDq3zMNjkuPSlaelj aZaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Abv/BVquM3G1rdpOyLBh043BOt7/FURCkbDS6eSLwX4=; b=jX5ztM26XCCSIhZWMSZzIoN5a666KslNYF2lZ1jpa0ylM1nYSPq19GEtkS9EiznUvH jAvb4+LKeX/yXo9tisFZmV79G6evDsoKuCTETF4TrRwscmR0LMbFqQ919tE9GJW2xsqQ oVdZ3pv1281F2M3z/B3M5IV1A9XRKPHm2AGgUefxGwC00XyXQzh6uGbuGGwiHQ/2oHxb 6EzV5HmfPThaJBIiKiZPnqzU9t2zcMgATb+pukp82oc7fQWfPl6qsoj4GJ5QBsgpWWrI bknQ3uMrXNgm40IkNUwZHhH8ubiQoUxXv3/wmlCng4lKRSxb0qAPqmQj5VMPryGdMcNG ulhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ursulin-net.20150623.gappssmtp.com header.s=20150623 header.b=rDud9yTJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j14-v6si21918750pgb.496.2018.09.19.05.28.21; Wed, 19 Sep 2018 05:28:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ursulin-net.20150623.gappssmtp.com header.s=20150623 header.b=rDud9yTJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731654AbeISSFr (ORCPT + 99 others); Wed, 19 Sep 2018 14:05:47 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41803 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731629AbeISSFq (ORCPT ); Wed, 19 Sep 2018 14:05:46 -0400 Received: by mail-wr1-f65.google.com with SMTP id j15-v6so1524282wrt.8 for ; Wed, 19 Sep 2018 05:28:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Abv/BVquM3G1rdpOyLBh043BOt7/FURCkbDS6eSLwX4=; b=rDud9yTJ/CeVLl1kXquNaRJ5pkommUoJHosDRmi6kgwJX8pZHnowIYVE5WFmGcXIxf 5GygPRt14E0iyTUf6M0clwyXjr4wJ8P1wXwXmpafSrTRymk70y6h/rD+x73Ato4yJQsK wehVEjr+24EoE+UL3mYP/foscopg8ATCpu4eGO611RVquw9flVLPVbGl9vFhF+ecpHya gbdr6SKPeztvIY/gWbuPuhj++DRRk+9MKprMcK3VsmBfR+Tk70i+DhGKBgMXpSRBl507 YX6XpJf0VXuk8naOdHefJ1yr2TAIkSM7dW6T2P/Xmj0RemHW0WbDORbo07t/aNNQ8w5f fauw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Abv/BVquM3G1rdpOyLBh043BOt7/FURCkbDS6eSLwX4=; b=QT6qBuBmm9wHISNxvsne3VAh/GwoFX45z0mu97ZO9UZvpt2gH7GFd4NSB9f5a3H9Fa vi4zqXuuXb4c2/wTQ+dtkwsqDeN/06gK2viX7KR+Pm1O/r+e1A0oKn5QVnMCM84xo21z oGdiyhwbDkWUdmt59H3reZCBY7ZbpqUT81Chret13RZkKQu1kJvcsWp9Tq+NeUb/4JVy ChNLq36hmSlsgXDZmvndIrSu4YOGNpAKJPjuJo4t1hLgOmH0crz9XpR0ZVGsf16oTNC4 4HPtlH+66epk5Bkv5mHE6aVDMXRE+GgYkQRUms3xTq+PExb+8gGkpDfh5d6ClcKuqLpn +3yQ== X-Gm-Message-State: APzg51AYwgi3LqGC/NPppfugHKiewYO23GFudW3+L0TvyL+57UuIojKC KnRhlLn/qCLkBDCitOU9LS2W+FXxCe0= X-Received: by 2002:a5d:4684:: with SMTP id u4-v6mr29347130wrq.76.1537360082223; Wed, 19 Sep 2018 05:28:02 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id l18-v6sm19412403wru.75.2018.09.19.05.28.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 05:28:01 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: linux-kernel@vger.kernel.org Cc: tursulin@ursulin.net, tvrtko.ursulin@linux.intel.com, Tvrtko Ursulin , Thomas Gleixner , Peter Zijlstra , Ingo Molnar , "H. Peter Anvin" , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Madhavan Srinivasan , Andi Kleen , Alexey Budankov , x86@kernel.org Subject: [RFC 4/5] perf Documentation: Document the per PMU perf_event_paranoid interface Date: Wed, 19 Sep 2018 13:27:50 +0100 Message-Id: <20180919122751.12439-5-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180919122751.12439-1-tvrtko.ursulin@linux.intel.com> References: <20180919122751.12439-1-tvrtko.ursulin@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tvrtko Ursulin Explain behaviour of the new control knob along side the existing perf event documentation. Signed-off-by: Tvrtko Ursulin Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Madhavan Srinivasan Cc: Andi Kleen Cc: Alexey Budankov Cc: linux-kernel@vger.kernel.org Cc: x86@kernel.org --- .../testing/sysfs-bus-event_source-devices-events | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events b/Documentation/ABI/testing/sysfs-bus-event_source-devices-events index 505f080d20a1..b3096ae9be6f 100644 --- a/Documentation/ABI/testing/sysfs-bus-event_source-devices-events +++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-events @@ -92,3 +92,17 @@ Description: Perf event scaling factors This is provided to avoid performing floating point arithmetic in the kernel. + +What: /sys/bus/event_source/devices//perf_event_paranoid +Date: 2018/06/26 +Contact: Linux kernel mailing list +Description: Per PMU access control file + + This is the per PMU version of the perf_event_paranoid sysctl + which allows controlling the access control level for each + individual PMU. + + Writes to the sysctl will propagate to all PMU providers. + + For explanation of supported values please consult the sysctl + documentation. -- 2.17.1