• Frederic Weisbecker's avatar
    tracing/ftrace: make nop-tracer use polling wait for events on pipe · 7e6ea92d
    Frederic Weisbecker authored
    Impact: display events when they arrive
    
    Now that the events don't use wake_up() anymore, we need the nop
    tracer to poll waiting for events on the pipe. Especially because
    nop is useful to look at orphan traces types (traces types that
    don't rely on specific tracers) because it doesn't produce traces
    itself.
    
    And unlike other tracers that trigger specific traces periodically,
    nop triggers no traces by itself that can wake him.
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <1237759847-21025-5-git-send-email-fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    7e6ea92d
trace_nop.c 2.19 KB