Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2382780ybp; Thu, 10 Oct 2019 06:40:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqya7HctVfaYwae0Z04RNqpE32LgkB17wwAhOZIwADC2v47ftjQP8rYFqdtvCG0W9TJ7aDij X-Received: by 2002:a17:906:bfcb:: with SMTP id us11mr8214482ejb.299.1570714826876; Thu, 10 Oct 2019 06:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570714826; cv=none; d=google.com; s=arc-20160816; b=bpGi2YFgpq9e/d1msPzWVOCUUcnFnhV9hUtRcYSJYuNb+rHucmplWNf5LgMXhErZfB YWPQMqxcpDHQMu/ZVPovs/Etwl+dl8c/KNApQsC3CSDfzW95Tw/Ve0nTBMtzW3MhuRAB De0wHGLlZuC7o8QRDsSKd456hQfPrTbUfRkC3XLgZ9gmTS1lOzB/7hjkcwO8Nd3zv7iZ uBgynyAJdnwZskjWiIdbJFfS3mUxUj29KwbKvv8kJUCb08Cf1DxFxHpoOjtRlY6qOHnt xYWNKiIJ07FwSvhjOoBT2uPP6NAFbMwqzGBlnTOl9UWBimicVH/ToFb1OrkMkQH31fFM HftQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=DpjmsunDNPUJyqCYgmDVZgxA64+LBlY5h378hE92Hqs=; b=IVl/MVG78Yak5qebgt5mzh1LBmfrQ/brLMRva5cU9/BwFM8v3JVIf5XrYsrgYN+M5R mmRf/PAYKZdECCWWyIR6jUerLLj7vIkEyYbCezvTJVhoFahV1b1KBF6RN8Bw9M/89IEp +jhHLpfDvtrPZF8NLu3vQyi/Aod68CKITPlfNrhqGoetA6C+Ov4zjYY31HseljDrnRvz H+WoNNUI6dBN3GfVE2v/70S6NyO21zIrGasjyZecHUVNK0vHdgKfaEPlj8UwC52WXNL+ bmNXyqxkJVn4ju1jFIAK+59rhBSKqIqXma9ylmlzZsHDen/zBKiwodGUorUyh///7jmQ RiHQ== 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 l23si3018136eds.310.2019.10.10.06.40.00; Thu, 10 Oct 2019 06:40:26 -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 S2388089AbfJJNit (ORCPT + 99 others); Thu, 10 Oct 2019 09:38:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:55212 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728393AbfJJNit (ORCPT ); Thu, 10 Oct 2019 09:38:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B178DAEB3; Thu, 10 Oct 2019 13:38:47 +0000 (UTC) Date: Thu, 10 Oct 2019 15:38:20 +0200 (CEST) From: Miroslav Benes To: Steven Rostedt cc: Petr Mladek , jikos@kernel.org, Joe Lawrence , jpoimboe@redhat.com, mingo@redhat.com, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [PATCH 0/3] ftrace: Introduce PERMANENT ftrace_ops flag In-Reply-To: <20191010091403.5ecf0fdb@gandalf.local.home> Message-ID: References: <20191007081714.20259-1-mbenes@suse.cz> <20191008193534.GA16675@redhat.com> <20191009112234.bi7lvp4pvmna26vz@pathway.suse.cz> <20191009102654.501ad7c3@gandalf.local.home> <20191010085035.emsdks6xecazqc6k@pathway.suse.cz> <20191010091403.5ecf0fdb@gandalf.local.home> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Oct 2019, Steven Rostedt wrote: > On Thu, 10 Oct 2019 10:50:35 +0200 > Petr Mladek wrote: > > > It will make the flag unusable for other ftrace users. But it > > will be already be the case when it can't be disabled. > > Honestly, I hate that flag. Most people don't even know about it. It > was added in the beginning of ftrace as a way to stop function tracing > in the latency tracer. But that use case has been obsoleted by > 328df4759c03e ("tracing: Add function-trace option to disable function > tracing of latency tracers"). I may just remove the damn thing and only > add it back if somebody complains about it. That would of course solve the issue too and code removal is always better. Miroslav