Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5278360imm; Tue, 26 Jun 2018 08:38:47 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLVh1E0mX60MBzdJjUExR2C/IU1a0wiVTe5B8pARjuIarYYuZ0isxcZhZJDtjTW8MYDL+2x X-Received: by 2002:a65:6114:: with SMTP id z20-v6mr1865962pgu.312.1530027527522; Tue, 26 Jun 2018 08:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530027527; cv=none; d=google.com; s=arc-20160816; b=hOGN3HJlj1eKdXslqg1CmwKdT+YBCLRdzUkzW1CbE02gMABKTRYEX6pT5x4Ag2rtoy Zpl4rYtXBulNTxpbbDb3raCd/AbyFZqL+ciKlv97GJNwsWVqGb1g11/vP7v6kQEj7FOI zzxSoFveSGP6+X8wn3HS4k571czfChvKXu8qokedsMD/jofXuQxDydcZWiGgB6u1gxRk og2TlfZ6nS16xW4e6vZuATd8qy08ZZsRym8D50ayQXJd9eZ8xGCaRIefydt23j3WW4Q+ Qm/IDAkqWFaa44XnFmX7A66XadSGcRaMmmPCdzlRdV9V/TOeHw2AyOYLlro6y4qXim9M nLJA== 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:arc-authentication-results; bh=Abv/BVquM3G1rdpOyLBh043BOt7/FURCkbDS6eSLwX4=; b=ZpRuDE954xAzS0bSJ7EiQeF2uvvW7/J3Ve/ByctuQQmDWTWK7XVkEBh8Sg7UC956uU hqjnqr18/Yc6NdUTugXgIEdPsmPL0skM3vjS8rgiwmIFYaLt/giB2gQRiGTAH367Tdb4 +Y6bJB0bRtccrteOK33XaOXK5hE+PRjhmWyx6UJ35mIjP8ySc6GsBcsV5n4dN8mggDvx gqHscSfsNE5k0nrgATXDO1gxKfFg+fw2Rb829e9MHJplRvYFuCwv9yT15lbJ52V0MPnh pq0cJ/wcqQkeC/WjpOm0PXLn5UYqwHmxGvBY/5dAFygMclYeID3Bes8BcV8En4uipRMX qv7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ursulin-net.20150623.gappssmtp.com header.s=20150623 header.b=IEpihqDS; 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 143-v6si1914251pfa.178.2018.06.26.08.38.32; Tue, 26 Jun 2018 08:38:47 -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=IEpihqDS; 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 S1752179AbeFZPh2 (ORCPT + 99 others); Tue, 26 Jun 2018 11:37:28 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:55600 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752156AbeFZPhV (ORCPT ); Tue, 26 Jun 2018 11:37:21 -0400 Received: by mail-wm0-f65.google.com with SMTP id v16-v6so2493985wmv.5 for ; Tue, 26 Jun 2018 08:37:21 -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=IEpihqDSVTUyQCaUqMufiliAfAI93Pu9qmB15mKu6kz0OB2titpeaUWBWZeVwh5XrE hEfWygbj4b9QpDENl9e34edH4bPm2R/8uJ5ubYqDw9U5HEweHs/0x81urTBNcdBskGm7 BGujQM1ckoenQ4MpGNIvpmt1Wp0haAMy3+JEVJHwLtRTRP3Ze8KdwL86MrqOYIZwWPNj GecUbUbj1hkOGi0NCYO14p4iHjJpsYCs7TqGPRyDN+0pMV9NVNnsux8sNkPRydbKOyYz Tc7HPw8R2JX6HTnlcHoB8VCB3NloA7SkPyYNX8T1WAXnLlYA/LIhT23ncv+/nSlIezqb +pPg== 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=GwtzwrfyWZ1NWqG4oj9T4suOD8GLieKGyAsjNa/I7ZIarApZIIZa4aamgtRhYvDKWE duKa/UM7hrdqT+v4cbWAVvZuHXh9STaEEDi1oY+Fv8Y7p7404MkkneLEcQ/VNSSzfBKW 9zn5XBMZiUboW6CCgwPyvswYEPSitXDDe63Os1pZ2P+XT0+l4go/FDKD0tOwTi/5xR+s kXsvySekSRVA+Wuon4AagmpHISqX7bIHeLNA5+vt2gPRjH27bzs7W6Cwok70RORxGld8 jWcGCXcIsj03Zzf03aL6vNdHJFLirNKYcv+Q1IVhZJTokWKmEEY/PHjIaH26iZz+XQow 0RbA== X-Gm-Message-State: APt69E3iTWlSqpTRh0TODKr5yWV5EASNRh2ceaks390eRhuvkcvVVYY/ W4xHTOx2nN3AN3F8Vp+ndnQhPOEp X-Received: by 2002:a1c:9e95:: with SMTP id h143-v6mr2079172wme.68.1530027440610; Tue, 26 Jun 2018 08:37:20 -0700 (PDT) Received: from localhost.localdomain ([95.146.151.144]) by smtp.gmail.com with ESMTPSA id l84-v6sm3411176wmi.3.2018.06.26.08.37.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Jun 2018 08:37:20 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: linux-kernel@vger.kernel.org Cc: 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/4] perf Documentation: Document the per PMU perf_event_paranoid interface Date: Tue, 26 Jun 2018 16:36:42 +0100 Message-Id: <20180626153642.5587-5-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180626153642.5587-1-tvrtko.ursulin@linux.intel.com> References: <20180626153642.5587-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