On Fri, 14 Jan 2022 12:57:48 +0200 "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote: > + /* Clear event probes first, as they may be attached to other dynamic event */ > + tracefs_dynevent_destroy_all(TRACEFS_DYNEVENT_EPROBE, true); > + tracefs_dynevent_destroy_all(TRACEFS_DYNEVENT_KPROBE | > + TRACEFS_DYNEVENT_KRETPROBE | > + TRACEFS_DYNEVENT_UPROBE | > + TRACEFS_DYNEVENT_URETPROBE | > + TRACEFS_DYNEVENT_SYNTH, > + true); > } I accepted this patch, but really, tracefs needs something to define: TRACEFS_DYNEVENT_ALL as callers should not have to call out each type of dynamic event. Especially when we are about to add new dynamic events, causing this to break again. Want to add that? Thanks Tzvetomir, -- Steve