Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2439967rdb; Wed, 21 Feb 2024 07:45:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXObMji5jOuJfhJaBfTWMQGn8ak+DqWT/YF6+T5zoOOr6zIX7At3vC4e9JtY3QUcOkiw0JHcCBerYKsImfuTsLb1tsISljA7qnEp/s1HA== X-Google-Smtp-Source: AGHT+IForgjk8gOGCJTj9SLGPdxnU6xph+fAhV1pf6pZ9Cf/G5/PhCnJqxaO4pDjj23L3Nm58Phx X-Received: by 2002:a05:620a:e09:b0:787:1fac:ef05 with SMTP id y9-20020a05620a0e0900b007871facef05mr16672183qkm.23.1708530348491; Wed, 21 Feb 2024 07:45:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708530348; cv=pass; d=google.com; s=arc-20160816; b=ntoIqi3auU+zf7cMR5WmesDUb3DX7+qlNDQAfOTK8HdeqiFEn5WdKJY6iqjebAwwXF xbC3UDRLg0jW8z5Qh2lPkIo1HLgI/FjVF5Kgxp7WySbtVDl4D1kWsA7IiSl0/nC+tJ3b WhpzgQDkmLYkjdeBFQm1LUKvElQ14nQMCn8HMUbI3IB4xXJJ8Yc8+YnqUlJnaGv6orhq n3dIWuOpc1ggD2IBnqresaj4Ejb7xHRIW9U0iYZ0SMi/nGpSGxq1SH/qA0+cKpKweipM /zopOjpsPNcpLqWWFGj+RX2QV9p6nDpUyHVKqaAiWtflH6gwyBipmbQzzHCAfv73//JN Luow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date; bh=aEXVoZFZzz9dLQs/P5NsKDWW+OEz9IffqNy6MFl7GBg=; fh=pzFV+OBUF5V7sBm1LdNXkgAntFrXEe2AQ3kG3OJfyok=; b=A0+gYJ+t8UnY8VaWnZ3c2/F5wEGqL9zFEMlnlm0vO4kXvbzSbUJSApL42HQQ3UUXIT StaaWu7nZjhGhNvnZpJr9ZIFLmqOl9GlUeje3hE3E8cXg1rVyWrYKcyLxRo+PkGgRVOc dH1w8Sy6A9XZpJR/b8FL4a+KIRp58lF9UdLegmEq0v2B63faX6GKkM1oRWLjF1Hpr1wa 82HXZ91IUDA17dY3Br6bklkWHlZIbe7Avlht7vDfzoyF3uZmTcgLYJ8s92TSY6aZ4N5k hGa2O92wp0jnwWgbhnCh0wE/s0YJ68Tl2hRsFDdOobPqYzhqc5/ZHS0dDFbq2IkK3F2F 7qZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-75021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75021-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k25-20020a05620a07f900b00785db113c66si10887657qkk.123.2024.02.21.07.45.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 07:45:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-75021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75021-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 51E821C2453C for ; Wed, 21 Feb 2024 15:45:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6C0380C08; Wed, 21 Feb 2024 15:45:28 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46E6C7FBC0; Wed, 21 Feb 2024 15:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708530328; cv=none; b=tbsJ9eUxVOiP3hAgqlIxr6sdSjo4pOf7/ciAXMFIPzppCd2tHzNf28+5dS/RWmyRgYUYd1MFSD7KfbVmgKDwIQ4IhEqFqIcjiiEms1WIoHgKAlgxPS+zOAfxZhDcxrVQ7c/KjISApcNWXJt3cn9lrzESzZ3Hsj4WpeRRu6ZnkmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708530328; c=relaxed/simple; bh=izx0Q7NNyB7voMGWRFN3PuhM1xFPObSAyP9CPSxruuw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HvuUiSmpsA5mEuL1sDqHGRC9CFXvBCTBc3pw9TpcDC+B+Bg297lBAvOSpVrRWhSZeyvlDD/6d1LCTEoYE2vvGZ5My6gl6LB9Fb/iknKpv3obCbpq5LYB7icOFo6x/BFss4nMEQKmBQ7suCfVrnuwnFQC1kQC6yppiCHz4ddzonA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 907D2C433C7; Wed, 21 Feb 2024 15:45:26 +0000 (UTC) Date: Wed, 21 Feb 2024 10:47:14 -0500 From: Steven Rostedt To: Dmitry Safonov Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Jonathan Corbet , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com> Subject: Re: [PATCH] Documentation/ftrace: Correct wording on trace_options sharing Message-ID: <20240221104714.1f7bc208@gandalf.local.home> In-Reply-To: <1027d6bc-f4c7-4da5-bf46-3809b7c487d4@arista.com> References: <20240220-ftrace-options-docs-v1-1-95448f535056@arista.com> <1027d6bc-f4c7-4da5-bf46-3809b7c487d4@arista.com> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 21 Feb 2024 01:59:53 +0000 Dmitry Safonov wrote: > On 2/20/24 21:00, Dmitry Safonov wrote: > [..] > > diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst > > index 7e7b8ec17934..c79a6bcef3c9 100644 > > --- a/Documentation/trace/ftrace.rst > > +++ b/Documentation/trace/ftrace.rst > > @@ -3603,9 +3603,9 @@ The files in the new directory work just like the files with the > > same name in the tracing directory except the buffer that is used > > is a separate and new buffer. The files affect that buffer but do not > > affect the main buffer with the exception of trace_options. Currently, > > -the trace_options affect all instances and the top level buffer > > -the same, but this may change in future releases. That is, options > > -may become specific to the instance they reside in. > > +most of the options are specific to the instance they reside in, but > > +trace_printk, printk-msg-only and record-cmd are affecting all instances > > +and the top level buffer, but this may change in future releases. > > Actually, it seems that at least on -next these 3 are not shared as > well? (if my tests aren't misbehaving) > > So, just remove the part about trace_options exception? > In reality, if we want to be specific. It should state that all options listed in the instance options directory are unique to the instance. If an option only exists in the top directory, then it is global or for a tracer that can only be used in the top directory. -- Steve