]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Use pause-on-trace with the latency tracers
authorViktor Rosendahl <Viktor.Rosendahl@bmw.de>
Tue, 19 Jan 2021 16:43:43 +0000 (17:43 +0100)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 29 Jan 2021 20:35:33 +0000 (15:35 -0500)
commitd4e2a5d5f326fed61f59416c284d368d08f7169f
treecd026198660f70a0aa08ab2def810b392d9a1cdf
parentd238419e11caf897aec9e870c8897e0b043af574
tracing: Use pause-on-trace with the latency tracers

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

commit bf9a6b50305f ("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: bf9a6b50305f ("tracing: Do not disable tracing when reading the trace file")
Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_irqsoff.c