From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E814C43334 for ; Tue, 12 Jul 2022 03:04:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229883AbiGLDEN (ORCPT ); Mon, 11 Jul 2022 23:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbiGLDEJ (ORCPT ); Mon, 11 Jul 2022 23:04:09 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DFFE9255B7; Mon, 11 Jul 2022 20:04:08 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 213BC1A25; Mon, 11 Jul 2022 20:04:09 -0700 (PDT) Received: from [10.162.42.8] (unknown [10.162.42.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 54C053F792; Mon, 11 Jul 2022 20:04:06 -0700 (PDT) Message-ID: <06670b4a-7888-f0a8-87f4-dfe9c7138aa2@arm.com> Date: Tue, 12 Jul 2022 08:34:03 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] perf/core: Add macros for possible sysctl_perf_event_paranoid values Content-Language: en-US To: Peter Zijlstra Cc: James Clark , linux-kernel@vger.kernel.org, Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , linux-perf-users@vger.kernel.org References: <20220701063949.1769434-1-anshuman.khandual@arm.com> From: Anshuman Khandual In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/11/22 17:49, Peter Zijlstra wrote: > On Mon, Jul 11, 2022 at 02:55:12PM +0530, Anshuman Khandual wrote: >> Enumerating [-1, 0, 1, 2] paranoid range values in kernel too, does not add >> much value as well ? > > That's what the user-interface requires as well. How is obscuring the > values the user has to explicitly poke in help things? Right, users still have the write raw numbers into the sysfs file.