Received: by 10.223.164.202 with SMTP id h10csp415883wrb; Tue, 14 Nov 2017 03:46:26 -0800 (PST) X-Google-Smtp-Source: AGs4zMYUFOBz2W99XWe3U2E0choKbUZtAz3EInLIOQDQwdYsBnYf1WE8qsim31dPBoqFFDgIhXpn X-Received: by 10.98.64.141 with SMTP id f13mr13528947pfd.213.1510659986750; Tue, 14 Nov 2017 03:46:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510659986; cv=none; d=google.com; s=arc-20160816; b=IuwaNMlX9Ok+NAIRttBVazvebxHUmXMgYNlB8n11KU7BIfsZ5bC1AlUxbcSZR8X34d 4rk58nSQJ3EZ82aGJochM23qjGr9Y177WdlViViDxfNezwvnCBy+JHNh+YoYLjzPqWWa WiRQFaoyB+r0trzD6oak8KTb5HjvqgG4K+PtLM7FeJvKptLZ6dL1iBu/coRjsu4m6Rlk LBbZtOGGKD5BXfoLyfpoY/TV+l28SkHIcNK+EQgaa6OeBd4J6UPE/iYIvxjSg5bVAQUa rM89EpkfOUEn8yEbm1LL1WiSqwmJoVg7+wuCRd0k9e4jxBNAeKDoe0z6J9+ImOFXj7mq anQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:arc-authentication-results; bh=NpCmrlgBDyQIP9kR7KXXCpN9R5fjrot0x3q3aECZlj8=; b=TkXrAym17t8a+6jxr0bfvnyJB0oo8A3aTUUC+8V3WTvvJRpX0QenFzTdSNwnjpGPGw fhFsnbg5AyiyX8mkNh/szGeGdQRA1gtpG0zuJWqrpiuYxDUADI+ZVjNsM6xjnEKcq1lX 8npWr0gB074J3jLzqWW47YxjABqg9kYRijQ+8NkathfoVQM+7A7OiB83+OZ6wOfTT/K4 dFxvLhXTob8kWmmjL9IKyLeQdGfPjF/L3RMQ/HD4gu2VzydKMwS5UUUcxK+Goxf50puR f51xTvS9m8CjGPVeEPfQOR88gKSwxKven3B7cXiAUAOjxQbMuQWr22WENUR+kK8pV12B KM1Q== ARC-Authentication-Results: i=1; mx.google.com; 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 f81si17448363pfj.30.2017.11.14.03.46.13; Tue, 14 Nov 2017 03:46:26 -0800 (PST) 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; 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 S1754831AbdKNLa2 convert rfc822-to-8bit (ORCPT + 88 others); Tue, 14 Nov 2017 06:30:28 -0500 Received: from mail.fireflyinternet.com ([109.228.58.192]:53051 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753125AbdKNLaU (ORCPT ); Tue, 14 Nov 2017 06:30:20 -0500 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 9585984-1500050 for multiple; Tue, 14 Nov 2017 11:28:56 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: linux-kernel@vger.kernel.org From: Chris Wilson In-Reply-To: <20171113130708.17790-1-chris@chris-wilson.co.uk> Cc: intel-gfx@lists.freedesktop.org, "Steven Rostedt" , "Peter Zijlstra" , "Ingo Molnar" , "Tomi Sarvela" , "Joonas Lahtinen" , "Daniel Vetter" References: <20171113130708.17790-1-chris@chris-wilson.co.uk> Message-ID: <151065893212.20436.11129102894513744987@mail.alporthouse.com> User-Agent: alot/0.3.6 Subject: Re: [PATCH] ftrace: Allow configuring global trace buffer size (for dump-on-oops) Date: Tue, 14 Nov 2017 11:28:52 +0000 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Chris Wilson (2017-11-13 13:07:08) > We have recently turned on ftrace-dump-on-oops for i915's CI and an > issue we have encountered is that the trace buffer size greatly exceeds > the pstore capabilities; we get the tail of the oops but not the > introduction. > > Currently the global buffer size is controllable on the cmdline, but at > the request of our CI sysadmin, we would like to add a control to the > Kconfig as well. The rationale being the cmdline carries the temporary > hacks that we want to eradicate, and we want to track the permanent > configuration in .config. > > I have kept the Kconfig option hidden from the user as the default > should suffice for the majority of users; reserving the configuration > for those that eschew the cmdline option. Odd, by removing the prompt the default value will always override the user value in .config. I had to restore a prompt "Global ftrace buffer size" if EXPERT to keep it configurable. -Chris From 1583956820697590976@xxx Mon Nov 13 13:15:38 +0000 2017 X-GM-THRID: 1583956820697590976 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread