Re: [PATCH] tracing: wake up tasks reading trace_pipe on write to trace_marker

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Frederic Weisbecker
Date: Friday, August 6, 2010 - 1:55 pm

On Fri, Aug 06, 2010 at 04:38:56PM -0400, Steven Rostedt wrote:


This could be a simple macro that takes the name of the trace event:


DEFINE_EVENT(event_tpl, event_name, ...);


TRACE_EVENT_NO_WAKE(event_name);

I think trace events should be wakeable by default as it looks safe for
most of them. But probably we don't want that per event class.

In the unsafe list, I only have some sched and lock events in
mind, but I bet there are some others.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] tracing: wake up tasks reading trace_pipe on w ..., Frederic Weisbecker, (Fri Aug 6, 1:55 pm)
Re: [PATCH] tracing: wake up tasks reading trace_pipe on w ..., Frederic Weisbecker, (Fri Aug 6, 2:50 pm)