diff options
author | 2025-02-19 13:51:10 +0200 | |
---|---|---|
committer | 2025-03-04 14:17:19 -0500 | |
commit | dc4d4e7c72d17e6f6bdd9ce0d7a72a085828987f (patch) | |
tree | 65f9022691e59387af62e5cd83a3b66bac8a2a8a /scripts/lib/kdoc/kdoc_re.py | |
parent | tools/rv: Keep user LDFLAGS in build (diff) | |
download | wireguard-linux-dc4d4e7c72d17e6f6bdd9ce0d7a72a085828987f.tar.xz wireguard-linux-dc4d4e7c72d17e6f6bdd9ce0d7a72a085828987f.zip |
rtla: Refactor save_trace_to_file
The functions osnoise_hist_main(), osnoise_top_main(),
timerlat_hist_main(), and timerlat_top_main() are lengthy and contain
duplicated code.
Refactor by consolidating the duplicate lines into the
save_trace_to_file() function.
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: John Kacur <jkacur@redhat.com>
Cc: "Luis Claudio R. Goncalves" <lgoncalv@redhat.com>
Cc: Eder Zulian <ezulian@redhat.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Gabriele Monaco <gmonaco@redhat.com>
Link: https://lore.kernel.org/20250219115138.406075-1-costa.shul@redhat.com
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
Reviewed-by: Tomas Glozar <tglozar@redhat.com>
Tested-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions