LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Jiri Olsa <jolsa@kernel.org>, David Ahern <dsahern@gmail.com>,
	Ingo Molnar <mingo@kernel.org>,
	Namhyung Kim <namhyung@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [REQ]: 'perf probe --del *:*' should remove both uprobes and kprobes
Date: Mon, 30 Mar 2015 17:12:48 -0300	[thread overview]
Message-ID: <20150330201248.GA9116@kernel.org> (raw)

How it is now:

[root@ssdandy acme]# perf probe --del *:*
Removed event: probe:icmp_rcv
[root@ssdandy acme]# perf probe --del *:*
Removed event: probe_ex:main
[root@ssdandy acme]# perf probe --del *:*
Info: Event "*:*" does not exist.
  Error: Failed to delete events.
[root@ssdandy

I.e. it'll first remove all kprobes, then bail out, next time we ask for
everything to be deleted, there are no kprobes, so it will try the
uprobes, removing it all, I think it should not be a two step process
:-)

- Arnaldo

             reply	other threads:[~2015-03-30 20:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-30 20:12 Arnaldo Carvalho de Melo [this message]
2015-03-31  8:33 ` Masami Hiramatsu

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=20150330201248.GA9116@kernel.org \
    --to=acme@kernel.org \
    --cc=dsahern@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masami.hiramatsu.pt@hitachi.com \
    --cc=mingo@kernel.org \
    --cc=namhyung@kernel.org \
    --subject='Re: [REQ]: '\''perf probe --del *:*'\'' should remove both uprobes and kprobes' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).