Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1256566ybp; Wed, 9 Oct 2019 11:09:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4HU7ehLyGmblmWpxI8rFwUWoHtcDgqZanx5kUIsuHMJobDcOeXB2MYE2TlRgKXdtcP8x1 X-Received: by 2002:a50:cbc2:: with SMTP id l2mr4318167edi.304.1570644561223; Wed, 09 Oct 2019 11:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570644561; cv=none; d=google.com; s=arc-20160816; b=03TIQ/83P97aRzAK9QzjUExOaDmBEDXyvlbJg0o/urGkyuFxbPFdK3kBQUxcrYgYQ5 7UJyhKsUgJPuY6TzaiwnjTYhA88Bsl7filcR0gzuf5FgnbOetwzJx/A5txCaadMT/c/j 1xVsl4b6JaZYf07DhtIXhprARlXk83cTrjkZSRo5I91oeGaq4RsPXCUQ2b5moh/UxAJ5 12lsrl7WkOHDt+JWKwIsTR2Isu1ntSVX1KSY1O0JtNB8gpczRwdOQUlR+RwRMPcOWeGu 1LQov+KMSyL7hgmUGY40VU/Me3UXn5JRfrwSSUGpLz5gXMbmbTwMCF7Xtu5DuXU2nT8Q o2Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=vgD/Ehk6Qj9hL+lCB4ohADvVoVUCbonwVERoWyla32U=; b=c+LiHc2/3h2etS+XD5VbanEOv9QwFVLrsx4PhTJzKWA8G1Bl9q67scW2DwA4ECoy+2 2shJQgkoZrNc8suodd/jfVicnK1GFNRgshigA8kyx30JpYQ+/TnbUOv6xNt+ZSgZPKET 7VN8imY4dM8fNvLncEpMesuK7AFJT2Mx+pzUyH0GAdVCOVkeC6MqIxVq90xFnAvvZIfo kmVuQdbC45PNI/mLxiIJ/ckQQNtAeMdGBMPVASTeaNnn0+APYNJOVJY1aJvxigCHaNP3 w6dXDHs/9hHJcVL7Q3N+aj4NfTYnIIPeX4/dhhSLV+jaW/ir4D1CaLxkGt0MKcQ7W/0c tZ+Q== 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 8si1864549edz.299.2019.10.09.11.08.56; Wed, 09 Oct 2019 11:09:21 -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; 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 S1731382AbfJISIH (ORCPT + 99 others); Wed, 9 Oct 2019 14:08:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:35358 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728804AbfJISIH (ORCPT ); Wed, 9 Oct 2019 14:08:07 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4E3C820679; Wed, 9 Oct 2019 18:08:06 +0000 (UTC) Date: Wed, 9 Oct 2019 14:08:04 -0400 From: Steven Rostedt To: Viktor Rosendahl Cc: Joel Fernandes , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 4/4] ftrace: Add an option for tracing console latencies Message-ID: <20191009140804.74d9ab1f@gandalf.local.home> In-Reply-To: References: <20191008220824.7911-1-viktor.rosendahl@gmail.com> <20191008220824.7911-5-viktor.rosendahl@gmail.com> <20191009141114.GC143258@google.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Oct 2019 16:51:07 +0200 Viktor Rosendahl wrote: > Apologies, I should have replied there but I have been a bit busy the > last few days with other topics, and I felt a bit indecisive about > that point, so I just sloppily addressed the issue in the cover letter > of this new series: > > "I have retained the fourth patch, although it was suggested that is becoming > obsolete soon. I have retained it only because I do not know the status of > the code that will make it obsolete. It's the last patch of the series and > if there indeed is some code that will remove the latency issues from the > printk code, then of course it makes sense to drop it. The first three patches > will work without it." > > I thought that, since it's the last in the series, it would be > possible for maintainers to just take the first three if the last one > is not wanted. > > For me it solves a rather important problem though, so if the code > that will make it obsolete isn't available for some time, then perhaps > it should be considered as a temporary solution. > > Of course, if there is a commitment to never remove any knobs from > /sys/kernel/debug/tracing/trace_options, then I can easily understand > that it's not wanted as a temporary fix. There isn't quite a commitment to not remove knobs, but if a tool starts relying on a knob, then, the answer is yes there is :-p As this will hopefully become something we don't worry about in the future, I would rather have this be a kernel command line option. This way, it wont be something that tools can really check for. If you add a trace_console_latency option to the kernel command line, we can enable it that way. And then when it becomes obsolete, we can simply remove it, without breaking any tools. Would that work for you? -- Steve