Hi Steven,

I posted some time ago to query about this, but I would like to request this 
feature again.

That is to intentionally trace or write something at the start and end of a 
tracing session (trace on and off).

I will give you an example about what and how I do it as of now:

I first defined an traceevent: XYZ. Then I add this in tracer_tracing_on(): 
trace_XYZ(some hardware register values) and also in tracer_tracing_off(): 
trace_XYZ(some hardware register values).

Having done that, I have the HW values at least at the start and end, because 
the worst case is I may not have hit the regular XYZ event tracepoint in the 
whole session.

Does it make sense?

Thanks,
Yuyang


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

Reply via email to