<div dir="ltr"><span style="font-size:12.8px">>You said your setup works without problem for PSN-EDF but not for the DEMO scheduler? It’s difficult to imagine a possible root cause. >Anything else that seems to be broken?</span><br><div><br></div><div>Yes, everything works fine with the other plugins, I have problems only with the DEMO scheduler.</div><div><br></div><div><span style="font-size:12.8px">>Are you using rtspin -w and release_ts?</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I cannot use rtspin -w and release_ts with the DEMO plugin because, when I try to use the release_ts function an error appears saying that "wait_for_ts_release(): function not implemented".</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">>Could it be that your trace buffer is too small or that the tracing process is being starved?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I don't think it is starved, because I only run the tracing task and the rtspin task. How can I make the trace buffer bigger?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thanks for the reply.</span></div><div><span style="font-size:12.8px">Matteo</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-20 15:30 GMT+02:00 Björn Brandenburg <span dir="ltr"><<a href="mailto:bbb@mpi-sws.org" target="_blank">bbb@mpi-sws.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 18. Jul 2017, at 10:10, Matteo Locatelli <<a href="mailto:matteo.locatelli1993@gmail.com">matteo.locatelli1993@gmail.<wbr>com</a>> wrote:<br>
><br>
><br>
> >The plotting script still is pretty much beta, so it doesn’t handle unexpected data very gracefully. If you send me your traces I can take a >look.<br>
><br>
</span><span class="">> Ok, I send you the trace as an attachment.<br>
<br>
</span>I had a look at the file. The file appears to miss almost all events after creation of the real-time task until a (final?) completion record.<br>
<br>
[ 0] NAME 1984/0 on CPU 0 rtspin<br>
[ 0] PARAM 1984/0 on CPU 0 T=(cost: 10.00ms, period:100.00ms, phase: 0.00ms), part=0<br>
[ 80453] COMPLETION 1984/1 on CPU 0<br>
<br>
<br>
Have a look at where sched_trace_task_switch_to() and sched_trace_task_switch_away() are being called. These call sites are completely independent of whatever plugin happens to be active — a plugin cannot prevent these events from being recorded. So if you cannot see any scheduling events (look with st-dump), then something is else is happening to the trace.<br>
<br>
Could it be that your trace buffer is too small or that the tracing process is being starved?<br>
<br>
You said your setup works without problem for PSN-EDF but not for the DEMO scheduler? It’s difficult to imagine a possible root cause. Anything else that seems to be broken?<br>
<br>
Are you using rtspin -w and release_ts?<br>
<div class="HOEnZb"><div class="h5"><br>
- Björn<br>
<br>
<br>
______________________________<wbr>_________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" rel="noreferrer" target="_blank">https://lists.litmus-rt.org/<wbr>listinfo/litmus-dev</a><br>
</div></div></blockquote></div><br></div>