libtracefs: Have tracefs_cpu_stop() do nothing only with PERM_NONBLOCK

As NONBLOCK can be set temporarily, if that's the state do not skip trying
to wake up the reader if its set. It may still need a kick.

Link: https://lore.kernel.org/linux-trace-devel/20230105215252.224044-2-rostedt@goodmis.org

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