On Tue, 12 Jan 2021 11:20:20 +0200 "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote: > These new APIs can be used to enable / disable tracing in given ftrace > instance: > tracefs_trace_is_on(); > tracefs_trace_on(); > tracefs_trace_off(); > tracefs_trace_on_get_fd(); > tracefs_trace_on_fd(); > tracefs_trace_off_fd(); > I just realized we don't have: tracefs_trace_marker_get_fd(); Which we should, as it's one of the files we want to have the file descriptor for to write directly without having to open it each time. (I could have used it right now) -- Steve