lkml.org 
[lkml]   [2015]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [REQ]: 'perf probe --del *:*' should remove both uprobes and kprobes
(2015/03/31 5:12), Arnaldo Carvalho de Melo wrote:
> 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
> :-)

Yes, this should clear all events if user gives "*:*".

Thank you for reporting! :)

>
> - Arnaldo
>


--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Research Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com




\
 
 \ /
  Last update: 2015-03-31 11:01    [W:0.064 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site