[PATCH 0/2] libtracefs: Minor fixes

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

 



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

The tracefs_cpu_flush*() functions should not return -EAGAIN as they are non
blocking and should only return 0 when there's nothing to read.

Steven Rostedt (Google) (2):
  libtracefs: Do not return negative on EAGAIN for
    tracefs_cpu_flush_write()
  libtracefs: Reset errno to success on EAGAIN for the flush functions

 src/tracefs-record.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 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