linux/tools/tracing
Andreas Schwab 4f753c3be5 rtla: Fix double free
Avoid double free by making trace_instance_destroy indempotent.  When
trace_instance_init fails, it calls trace_instance_destroy, but its only
caller osnoise_destroy_tool calls it again.

Link: https://lkml.kernel.org/r/mvmilnlkyzx.fsf_-_@suse.de

Fixes: 0605bf009f ("rtla: Add osnoise tool")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2022-07-31 17:03:38 -04:00
..
latency tools/latency-collector: Use correct size when writing queue_full_warning 2021-10-25 22:27:19 -04:00
rtla rtla: Fix double free 2022-07-31 17:03:38 -04:00
Makefile tools/tracing: Update Makefile to build rtla 2022-01-27 19:15:47 -05:00