diff options
author | Daniel Bristot de Oliveira <bristot@kernel.org> | 2023-06-06 17:12:26 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-06-22 10:39:56 -0400 |
commit | cb7ca871c883eed5132e106cda44b2b060e6f52e (patch) | |
tree | 00219327aead6dd9e7bc96f291c25bca9bb9637f /net/wireless | |
parent | 4998e7fda149d2392ea6aa9879299d8a32019dbe (diff) | |
download | linux-stable-cb7ca871c883eed5132e106cda44b2b060e6f52e.tar.gz linux-stable-cb7ca871c883eed5132e106cda44b2b060e6f52e.tar.bz2 linux-stable-cb7ca871c883eed5132e106cda44b2b060e6f52e.zip |
tracing/osnoise: Skip running osnoise if all instances are off
In the case of all tracing instances being off, sleep for the entire
period.
Q: Why not kill all threads so?
A: It is valid and useful to start the threads with tracing off.
For example, rtla disables tracing, starts the tracer, applies the
scheduling setup to the threads, e.g., sched priority and cgroup,
and then begin tracing with all set.
Skipping the period helps to speed up rtla setup and save the
trace after a stop tracing.
Link: https://lkml.kernel.org/r/aa4dd9b7e76fcb63901fe5407e15ec002b318599.1686063934.git.bristot@kernel.org
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: William White <chwhite@redhat.com>
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions