[LITMUS^RT] Questions about Process Migration

Björn Brandenburg bbb at mpi-sws.org
Mon Aug 6 10:43:02 CEST 2012


On Aug 5, 2012, at 12:05 AM, Hang Su wrote:

>                     snprintf(msg,MSG_SIZE,"zigzag_pack src_rq:%d des_rq:%d src_rq_curr_pid:%d pid:%d ", src_rq->cpu, des_rq->cpu,src_rq->curr->pid, job->task->pid);
>                     register_event(sched_clock(), msg, this_cpu);

A quick note on the above hack to get around the "no printk() while holding scheduler locks" limitation: in LITMUS^RT, you can use the TRACE() macro to log debugging messages even while holding scheduler locks.

Best,
Björn





More information about the litmus-dev mailing list