Re: [PATCH v2] trace-record: slow down trace_waitpid loopi

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

 



On Wed, 4 Feb 2015 14:05:33 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Instead of the nanosleep, I'm wondering if we should do this instead:
> 
> 	if (type & TRACE_TYPE_STREAM)
> 		options |= WNOHANG;
> 
> Because it only needs not to wait if it is live streaming. Otherwise
> we want to wait.
> 

I'm working on releasing a 2.5.1 and this would be a good addition.

I actually finished testing what I had before I saw this patch. I'll
have to rerun my tests again after this is fixed.

As you pointed it out, please send a new patch.

Thanks,

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux