Skip to content
Commit 9e4a668f authored by Viktor Rosendahl's avatar Viktor Rosendahl Committed by Greg Kroah-Hartman
Browse files

tracing: Use pause-on-trace with the latency tracers

commit da7f84cd upstream.

Eaerlier, tracing was disabled when reading the trace file. This behavior
was changed with:

commit 06e0a548 ("tracing: Do not disable tracing when reading the
trace file").

This doesn't seem to work with the latency tracers.

The above mentioned commit dit not only change the behavior but also added
an option to emulate the old behavior. The idea with this patch is to
enable this pause-on-trace option when the latency tracers are used.

Link: https://lkml.kernel.org/r/20210119164344.37500-2-Viktor.Rosendahl@bmw.de

Cc: stable@vger.kernel.org
Fixes: 06e0a548

 ("tracing: Do not disable tracing when reading the trace file")
Signed-off-by: default avatarViktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8ce84b8e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment