summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-05-15 21:16:16 +0100
committerSteven Rostedt <rostedt@goodmis.org>2026-05-16 16:11:04 -0400
commit55a0005518195fdea1fd2991b07644f8dc97ea8e (patch)
tree2ec0f9f1024e3977336636259651beea1886a505 /tools/perf/scripts/python/bin
parent96350db80e0acd733e9b9ef61c0d910790b27289 (diff)
downloadlinux-55a0005518195fdea1fd2991b07644f8dc97ea8e.tar.gz
linux-55a0005518195fdea1fd2991b07644f8dc97ea8e.zip
tracing: Fix desc in error path for the trace remote test module
During initialisation in remote_test_load(), if one of the simple_ring_buffer fails to initialise, the error path attempts to rollback initialised buffers. However, the rollback incorrectly uses the global pointer to the trace descriptor, which is only set upon successful load completion. Fix the error path by using the local pointer to the descriptor. Link: https://patch.msgid.link/20260515201616.337469-1-vdonnefort@google.com Fixes: ea908a2b79c8 ("tracing: Add a trace remote module for testing") Reported-by: Sashiko <sashiko-bot@kernel.org> Signed-off-by: Vincent Donnefort <vdonnefort@google.com> base-commit: 5d6919055dec134de3c40167a490f33c74c12581 Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions