[LITMUS^RT] Task Completion

Björn Brandenburg bbb at mpi-sws.org
Fri Jun 22 15:11:59 CEST 2012


On Jun 22, 2012, at 2:49 PM, Youcef Amine Benabbas wrote:

> I am trying to record scheduling traces corresponding to task
> completion. It seems litmus can only export traces corresponding to job
> completion (ST_COMPLETION, include/litmus/sched_trace.h) .
> 
> I think one way to signal task completion is to use (ST_ACTION) and
> modify the .action member to task completion.

No, ST_ACTION is a hack to record "one-off" events in non-mainline schedulers.

The right way to do this is to add a new trace event type (e.g., ST_TERMINATION).

- Björn





More information about the litmus-dev mailing list