LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [REQ]: 'perf probe --del *:*' should remove both uprobes and kprobes
@ 2015-03-30 20:12 Arnaldo Carvalho de Melo
  2015-03-31  8:33 ` Masami Hiramatsu
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-03-30 20:12 UTC (permalink / raw)
  To: Masami Hiramatsu
  Cc: Jiri Olsa, David Ahern, Ingo Molnar, Namhyung Kim,
	Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-31  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30 20:12 [REQ]: 'perf probe --del *:*' should remove both uprobes and kprobes Arnaldo Carvalho de Melo
2015-03-31  8:33 ` Masami Hiramatsu

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).