tracing at start and end for some trace events

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

 



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 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