public inbox for linux-perf-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>,
	linux390-list@tuxmaker.boeblingen.de.ibm.com,
	sumanthk@linux.ibm.com, hca@linux.ibm.com,
	agordeev@linux.ibm.com, gor@linux.ibm.com,
	Alexander Egorenkov <egorenar@linux.ibm.com>,
	linux-perf-users@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] perf ftrace: Use process/session specific trace settings
Date: Fri, 16 May 2025 18:43:47 -0400	[thread overview]
Message-ID: <20250516184347.32c0454a@batman.local.home> (raw)
In-Reply-To: <aCeNhagT1CFny8r5@x1>

On Fri, 16 May 2025 16:09:57 -0300
Arnaldo Carvalho de Melo <acme@kernel.org> 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

      reply	other threads:[~2025-05-16 22:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250516131023.357458-1-tmricht@linux.ibm.com>
2025-05-16 18:52 ` [PATCH] perf ftrace: Use process/session specific trace settings Arnaldo Carvalho de Melo
2025-05-16 19:09   ` Arnaldo Carvalho de Melo
2025-05-16 22:43     ` Steven Rostedt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250516184347.32c0454a@batman.local.home \
    --to=rostedt@goodmis.org \
    --cc=acme@kernel.org \
    --cc=agordeev@linux.ibm.com \
    --cc=egorenar@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux390-list@tuxmaker.boeblingen.de.ibm.com \
    --cc=sumanthk@linux.ibm.com \
    --cc=tmricht@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox