trace-cmd: Clear triggers before writing to them

If a trigger exists and we try to add it to an event, it will fail
with a "-EEXIST" error. The triggers need to be cleared before
we write to them.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed