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

From: Steven Rostedt
Date: Thu Feb 29 2024 - 10:23:43 EST


On Thu, 29 Feb 2024 17:11:49 +0800
Huang Yiwei <quic_hyiwei@xxxxxxxxxxx> wrote:

> > And you can add here as well:
> >
> > ftrace_dump_on_oops[=[<0|1|2|orig_cpu>,][<instance_name>[=<1|2|orig_cpu>][,...]]
> >
> >
> > Thanks,
> >
> > --Steve
> >
> The explanation is below, I think it's correct?
> - "ftrace_dump_on_oops," means global buffer on all CPUs
> - "foo," means foo instance on all CPUs
> - "bar=orig_cpu" means bar instance on CPU that triggered the oops.
>
> I'm trying to make the example to cover more possibilities.

Ah, I didn't think the command line processing would work with commas. I
guess it does (I just tried it out).

OK, then I guess that's fine.

-- Steve