Re: [PATCH] perf ftrace: Use process/session specific trace settings
From: Steven Rostedt
Date: Fri May 16 2025 - 18:43:56 EST
On Fri, 16 May 2025 16:09:57 -0300
Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
> Yeah, you can just call rmdir and be done with it :-)
Yes. Removing an instance should reset everything about it before it
removes it. It disables events and sets the current tracer to "nop"
(stopping function tracing and such if it was present).
If there's a file open, then the rmdir should fail with -EBUSY.
-- Steve