Re: [PATCH 4/5] tracing/fastboot: Add a time field on the sched_switch entry

From: Frédéric Weisbecker
Date: Mon Oct 13 2008 - 04:10:53 EST


2008/10/12 Frédéric Weisbecker <fweisbec@xxxxxxxxx>:
> 2008/10/12 Steven Rostedt <rostedt@xxxxxxxxxxx>:
>> You can tap into the context switch trace_point too, and have that record
>> a special trace entry for you instead.

Another thing I could do: when a sched switch entry occurs, I could
send a special timestamp entry that
fits my needs just before the commit of the sched entry, only if the
current tracer is the boot tracer. This way I can output
the appropriate timestamp just before output the sched entry.

What do you think?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/