Re: [PATCH v1] rtla: Save trace when option `--trace` is specified

From: Tomas Glozar
Date: Mon Mar 03 2025 - 10:38:45 EST


pá 28. 2. 2025 v 2:05 odesílatel Steven Rostedt <rostedt@xxxxxxxxxxx> napsal:
>
> Without tracing being off, this can run forever if the events come in
> faster than it can be recorded. And save trace uses the "trace" file, which
> is slow to read.
>
> Are you sure you want that?
>

Isn't that a different problem though? As far as I'm aware, it
shouldn't matter at all whether tracing is stopped on the main
instance for collecting the trace from the record instance.

If the record instance generates a lot of samples, this can already
run forever, regardless of whether tracing is stopped on the main
instance or not. This should be a separate fix.

Tomas