[REQ]: 'perf probe --del *:*' should remove both uprobes and kprobes
From: Arnaldo Carvalho de Melo
Date: Mon Mar 30 2015 - 16:12:46 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/