[PATCH 0/2] libtracefs: Fixups to tracefs_cpu_stop()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

Working on trace-cmd stream, there were some issues with stopping the
recorders, as they were getting stuck in the read state. It appears that
tracefs_cpu_stop() doesn't guarantee that the readers are awake. Until it can
be straiten out, always tell the callers that there needs to be a nudge to the
readers (ie. a signal).

Steven Rostedt (Google) (2):
  libtracefs: Have tracefs_cpu_stop() do nothing only with PERM_NONBLOCK
  libtracefs: Have tracefs_cpu_stop() always suggesting nudging

 src/tracefs-record.c | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

-- 
2.35.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux