Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp232376rdh; Wed, 7 Feb 2024 03:14:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlKktdGkOrQ7UfBOmH0u13ZdbRwTs72rFV+1O13FF+j+MHU+mu68co3L616sYV0m7LAUP3 X-Received: by 2002:a05:6808:17a6:b0:3be:bc00:4c68 with SMTP id bg38-20020a05680817a600b003bebc004c68mr6900516oib.4.1707304488334; Wed, 07 Feb 2024 03:14:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707304488; cv=pass; d=google.com; s=arc-20160816; b=C0mZauJkT1FTkKGUtBPZXYtkfoJjywvzIbkLGbpoXT2ONWVijTy0pJE5drXcHA/IZa KH/oeE5ntdiugM5Q4IQnyE3pPYNc5UXEAD9De/eN3BS8c3dKbcvy5+zMJNVWmwEcazWL 3gP4dexf8bRYgmOB9yU4jRFh82CK5dzkK6HfGg70s/HYZBJDl/69PYzPhLrXM/F7+aRz yVK41Mcw/5Xp8pTNVqgQYD3QouN7LYgFe7MurubLRcwnz9UbbgiYpB1BZwGaUt3YU8LL kyFg3g9fnZBB92eu94Ii/i59v/drSve41hW0JGGKa1HALDBZ06aPfcG9M5KaeeQKwlMo jJkg== 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=9jzCdFGI3TfxRBeaXMxWU6D4GDbQ3HqO5eHHtKZjJ1g=; fh=wnw4Iu+rHwEjBjHdu+eth/xioWs2o7XK1qlsxuVPr7U=; b=IMqNELfP/Zv/u16wt4XsQQF3TxFYUJgAjyDHE4kVtquzU52/4ZBZzh0WshSvPWLaTu oAWESM6ixk8AeuTpn9VKSf+hJUgKVpv9+YBZDOHYqeKXgBUBqAEhbgd+UfoF8t+RTVug XGovCqGkF0Ain5dzuaE0alw1/4sOoyeE5MtzHTvWlOXRVc5NXgvcXc2+m4/U3RfrXLQq CENdCJgTCqazoreu+xHZscZtCZKl4e9oSnZrPGTBO8890MfpNTbtLeihXOvyBJmc5ycJ LQDiQN0JgYwDZFygOly7pE1mWlPq0tvlY9KXbp4qiNye7zH4itagYHhUhE1zZCiI2XKG +mTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-56368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56368-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUdsVN7dXJffL3esd5JNI6RR14UbEDcRhdPiLMgVaj7nQo7Ko1mnCbPI9x0lWzJq9JX4OG2Gxi9sYuwOwrMqCzeP0+MKF0sitJ6ZUJd/g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u24-20020aa78498000000b006dfc312f897si1310364pfn.50.2024.02.07.03.14.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 03:14:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-56368-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56368-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 011C2284581 for ; Wed, 7 Feb 2024 11:14:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11DE619BBA; Wed, 7 Feb 2024 11:14:38 +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 802D519470; Wed, 7 Feb 2024 11:14:37 +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=1707304477; cv=none; b=ci3VkIP4JiR1yPpXu5j9CR2dKQX7L0xcMcmEJnYtlKv0yL+drvEkYU7JWOsS9dKNcvWGlwlNq1c8hH5uHNthGtTWfiLT+uCyDPJVE4lcOkuiyeUH3Vja6ERnX9rgQzWswWDSogF3jRuQcAaehcnsqEDIjd1HPjM/yfycaTP6Tac= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707304477; c=relaxed/simple; bh=9jzCdFGI3TfxRBeaXMxWU6D4GDbQ3HqO5eHHtKZjJ1g=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=rE2wOaALEar3sM+0vPKts389q9keuAYDZ0GASHoEer9zK+hVSXswJYlOg5whgDNdTeMrC7AVWAkBOWOZAeBdPUyoJWb5mhiyQfFJPmCVOUz9XZk9V8U3e/X70b8JsSBIzPpZ9Tx9FgSYKnn0CGYZBSPdWUEF3lvrm0lxz2YpNlw= 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 CD655C433F1; Wed, 7 Feb 2024 11:14:32 +0000 (UTC) Date: Wed, 7 Feb 2024 06:14:29 -0500 From: Steven Rostedt To: Joel Fernandes Cc: Huang Yiwei , mhiramat@kernel.org, mark.rutland@arm.com, mcgrof@kernel.org, keescook@chromium.org, j.granados@samsung.com, mathieu.desnoyers@efficios.com, corbet@lwn.net, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, quic_bjorande@quicinc.com, quic_tsoni@quicinc.com, quic_satyap@quicinc.com, quic_aiquny@quicinc.com, kernel@quicinc.com, Ross Zwisler Subject: Re: [PATCH v4] tracing: Support to dump instance traces by ftrace_dump_on_oops Message-ID: <20240207061429.3e29afc8@rorschach.local.home> In-Reply-To: <50cdbe95-c14c-49db-86aa-458e87ae9513@joelfernandes.org> References: <20240206094650.1696566-1-quic_hyiwei@quicinc.com> <50cdbe95-c14c-49db-86aa-458e87ae9513@joelfernandes.org> X-Mailer: Claws Mail 3.17.8 (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, 7 Feb 2024 05:24:58 -0500 Joel Fernandes wrote: > Btw, hopefully the "trace off on warning" and related boot parameters also apply > to instances, I haven't personally checked but I often couple those with the > dump-on-oops ones. Currently they do not. It would require an updated interface to do so, as sometimes instances can be used to continue tracing after a warning, so I don't want to make it for all instances. Perhaps we need an option for these too, and have all options be updated via the command line. That way we don't need to make special boot line parameters for this. If we move these to options (keeping the proc interface for backward compatibility) it would make most features available to all with one change. -- Steve