I’ve been wanting to add to trace-cmd start
a way to make it start quicker. It’s currently slow because it resets most of tracefs before starting, and that can take seconds.
I forgot I already have this feature! trace-cmd set
acts just like start, but it does not do the reset before starting. It’s very quick!
Note, it also does not re-enable tracing if it’s disabled. So you may want to run trace-cmd restart
right after that, if that’s the case.