Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753018AbcD0Q1R (ORCPT ); Wed, 27 Apr 2016 12:27:17 -0400 Received: from mail-io0-f178.google.com ([209.85.223.178]:33618 "EHLO mail-io0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752463AbcD0Q1P (ORCPT ); Wed, 27 Apr 2016 12:27:15 -0400 Subject: Re: [PATCH/RFC v3] perf core: Allow setting up max frame stack depth via sysctl To: Frederic Weisbecker , Arnaldo Carvalho de Melo References: <20160425162706.GB25218@kernel.org> <20160425192229.GC25218@kernel.org> <20160425200646.GA23875@ast-mbp.thefacebook.com> <20160425201750.GD25218@kernel.org> <20160425215947.GA25915@ast-mbp.thefacebook.com> <20160425234138.GA16708@kernel.org> <20160426000724.GA28705@ast-mbp.thefacebook.com> <20160426002928.GB16708@kernel.org> <20160426215806.GA15680@lerouge> <20160427125358.GM11033@kernel.org> <20160427160903.GA31971@lerouge> Cc: Alexei Starovoitov , Peter Zijlstra , Ingo Molnar , Adrian Hunter , Brendan Gregg , Alexander Shishkin , Alexei Starovoitov , He Kuang , Jiri Olsa , Masami Hiramatsu , Milian Wolff , Namhyung Kim , Stephane Eranian , Thomas Gleixner , Vince Weaver , Wang Nan , Zefan Li , Linux Kernel Mailing List From: David Ahern Message-ID: <5720E860.10400@gmail.com> Date: Wed, 27 Apr 2016 10:27:12 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160427160903.GA31971@lerouge> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 508 Lines: 12 On 4/27/16 10:09 AM, Frederic Weisbecker wrote: >>> I first thought that this should be a tunable per event instead of a global sysctl >> >> Yeah, I'll work on that too. > > There is no rush though. The sysfs limit will probably be enough for most users. Unless > someone requested it? > I have. I spent time last winter (2015) looking into how to do it. The userspace syntax was more of a pain than passing the parameters to the kernel side as the intent is to specify N kernel frames and M user frames.