Re: [PATCH v4] tracing: Support to dump instance traces by ftrace_dump_on_oops

From: Steven Rostedt
Date: Wed Feb 07 2024 - 06:14:48 EST


On Wed, 7 Feb 2024 05:24:58 -0500
Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> 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